Testing
Testing private methods
A private method inside a custom view holds complicated calculation logic and you want to test it. How would you test that private method, or should you leave it alone?
Testing private methods
A private method inside a custom view holds complicated calculation logic and you want to test it. How would you test that private method, or should you leave it alone?
TestingMultiple choiceIntro
When the test target does @testable import MyApp, which declarations become accessible?
#testable
Memory and ARCMultiple choiceAdvanced
Which of these actually improve the performance of class-based code (dispatch and ARC cos…
#private
SwiftShort answerBasics
In one file you have class A { fileprivate func secret() {} } and class B. Can B call A()…
#private
UIKitShort answerBasics
You put a custom view you built (say, a tag chip view) into a UIStackView and it's sized …
#custom-view