목록전체 글 (127)
소피it블로그
https://developer.apple.com/documentation/uikit/app_and_environment/managing_your_app_s_life_cycle Apple Developer Documentation developer.apple.com 1. Overview 앱의 현재 상태는 앱이 할 수 있는 것과 없는 것을 결정한다. 예를 들어 포그라운드에 나와있는 앱은 유저의 관심 대상이기 때문에 CPU를 포함한 시스템 자원에 대해 우선권을 갖는다. 반면 백그라운드의 앱은 스크린에 나와있지 않기 때문에 가장 이상적으로는 아무 것도 안 하는 게 좋고, 최소한의 일을 수행해야 한다. 앱의 상태가 바뀌기 때문에 각각의 상태에 걸맞게 조절해야 한다. 앱의 상태가 변경되면 UIKit은 적절한 de..
https://docs.swift.org/swift-book/LanguageGuide/Extensions.html Extensions — The Swift Programming Language (Swift 5.7) Extensions Extensions add new functionality to an existing class, structure, enumeration, or protocol type. This includes the ability to extend types for which you don’t have access to the original source code (known as retroactive modeling). Extensions docs.swift.org 익스텐션은 이미 ..
https://docs.swift.org/swift-book/LanguageGuide/TypeCasting.html Type Casting — The Swift Programming Language (Swift 5.7) Type Casting Type casting is a way to check the type of an instance, or to treat that instance as a different superclass or subclass from somewhere else in its own class hierarchy. Type casting in Swift is implemented with the is and as operators. These tw docs.swift.org 타입 ..
https://docs.swift.org/swift-book/LanguageGuide/Inheritance.html Inheritance — The Swift Programming Language (Swift 5.7) Inheritance A class can inherit methods, properties, and other characteristics from another class. When one class inherits from another, the inheriting class is known as a subclass, and the class it inherits from is known as its superclass. Inheritance is docs.swift.org 클래스는 ..