var things: [AnyObject] = []
things.append(10) // Argument type 'Int' expected to be an instance of a class
things.append(100) // Argument type 'Int' expected to be an instance of a class
things.append("Seogun") // Argument type 'String' expected to be an instance of a class
things.append(false) // Argument type 'Bool' expected to be an instance of a class
things.apeend(Some.init())
things.append({ print("서근개발노트") }) // Argument type '()->()' expected to be an instance of a class
** Any또는 AnyObject로 선언된 변수의 값을 가져다 쓰려면 매번 타입을 확인해야 하고 변환해줘야 하는 불편함을 초래할 수 있습니다.
참고자료
https://allesbless.tistory.com/184