본문 바로가기

iOS192

[iOS] accessbilityIdentifier Apple Developer Documentation developer.apple.com accessibilityLabel / accessibilityIdentifier 안녕하세요 :) Zedd입니다. 제가 이 글에서 이렇게 말했었는데요. 네 맞는 말입니다! UITest에서는 유니크한 accessibilityLabel 또는 accessibilityIdentifier로 UI Element를 가져올 수 있어요. 그러면 access.. zeddios.tistory.com accessbilityIdentifier UI Test에서 UI Element에 접근할 때, 식별자로 사용함. UI Test는 XC Test + Accessbility의 조합으로 실행된다. 사용 시 주의 localizing이 되어선 안된다. .. 2022. 9. 25.
[iOS] NSObject Apple Developer Documentation developer.apple.com NSObject Subclass들이 run time system에 대한 기본 인터페이스를 상속받고, Objective-C 오브젝트로써 동작할 수 있도록 하는 Objective-C class 계층에서의 root class. NS Key-Value Coding, NS Key-Value Observing을 사용가능 2022. 9. 25.
[iOS] UIView object를 생성하는 것은 Main thread에서 동작 안 해도 된다. Apple Developer Documentation developer.apple.com 모든 UI와 관련된 조작은 main thread에서 일어나야하지만, UIView object를 생성하는 것은 main thread에서 안해도 된다. 2022. 9. 19.
[iOS] Custom Container ViewController Apple Developer Documentation developer.apple.com Custom Container ViewController app의 data를 보여주는 Content ViewController들과는 다르게 Container ViewController는 다른 viewController들을 보여주고, screen에 배치하고 그들 사이에 navigation을 핸들링한다. Container ViewController는 여전히 ViewController이기에, window에 띄우거나 다른 ViewController처럼 present할 수도 있다. Container ViewController는 하나 이상의 child ViewController을 통합하여 하나의 View hierarchy에서 .. 2022. 8. 21.