300x250 #available1 stored property에 'available' 사용하기 스택오버플로우 발췌 - https://stackoverflow.com/questions/41904724/using-available-with-stored-properties Here is one potential solution (thanks to blog post). The idea is to use a stored property with a type of Any and then create a computed property that will cast the stored property (and instantiate it if necessary). private var _selectionFeedbackGenerator: Any? = nil @available(iOS 10.0, *) filepriva.. 2022. 8. 16. 이전 1 다음 300x250