๋ชฉ๋ก๐ฑ๐ iOS/๐ Apple Developer Documentation (19)
Bibi's DevLog ๐ค๐
220410 NotificationCenter Notification https://developer.apple.com/documentation/foundation/notification : notification center๋ฅผ ํตํด ๋ฑ๋ก๋ ๋ชจ๋ ์ต์ ๋ฒ๋ค์๊ฒ ๋ฐ์ก๋๋ ์ ๋ณด๋ฅผ ๋ด๊ธฐ ์ํ ์ปจํ ์ด๋. init(name: Notification.Name, object: Any?, userInfo: [AnyHashable : Any]?)](https://developer.apple.com/documentation/foundation/notification/2451466-init)) name : notification์ ์๋ณํ๋ ํ๊ทธ. (Notification.Name) extension์ผ๋ก Notification..
[iOS, Swift] UITapGestureRecognizer ํญ ์ ์ค์ฒ ์ธ์๊ธฐ https://cocoacasts.com/swift-fundamentals-working-with-tap-gesture-recognizers-in-swift UITapGestureRecognizer ํด๋์ค๋ฅผ ์ด์ฉํด ํญ ์ ์ค์ฒ๋ฅผ ์ฌ์ฉํ๋ ๋ฒ. import UIKit class ViewController: UIViewController { // MARK: - Properties @IBOutlet private var tappableView: UIView! { didSet { tappableView.backgroundColor = .red } } // MARK: - View Life Cycle override func viewD..
PhotoKit ๊ทธ๋ฆฌ๊ณ Photos์ ํด๋์ค๋ค https://zeddios.tistory.com/614 ๊ณผ ๊ทธ ์๋ฆฌ์ฆ๋ค Assets, Collections of Assets, List of Collections ๊ณตํต์ : read-only, immutable, ๋ฉํ๋ฐ์ดํฐ๋ง ํฌํจ Assets : ์ฌ์ง, ๋น๋์ค, ๋ผ์ด๋ธ ํฌํ Collections of Assets : ์จ๋ฒ ๋๋ Moments List of Collections : ์จ๋ฒ ํด๋ ๋๋ Moment ํด๋ฌ์คํฐ PhotoKit : Photos ํ๋ ์์ํฌ์ PhotosUI ํ๋ ์์ํฌ๋ฅผ ๊ฐ์ง๊ณ ์๋ ํ๋ ์์ํฌ. ์ฌ์ง ์ฑ์์ ์ฌ์ฉ์์๊ฒ ํ์๋๋ ๊ฐ์ฒด๋ฅผ ๋ชจ๋ธ๋งํ๋ ์ํฐํฐ ๊ทธ๋ํ๋ฅผ ์ ์ํ๋ค - lightweight, immutable ์ฌ์ง ์ฑ์ ์ฌ์ง๋ค, ๋น๋์ค..