My top ten tips, tricks, dos and don’ts to make you feel like an Interface Builder expert.
You are using third-party tools like CocoaPods, Cathage, SPM or just having some useful script files for your project. It’s fine!
For the longest time I just used “po” in lldb to examine objects but “e” just adds a whole new level to debugging !
⌃⌥⌘U shortcut does different things depending on the current cursor location:
- inside a test method: runs this single test method
- inside an
XCTestCasesubclass but outside of any method: runs all tests in the class
- Run last test case before:
Passing data from one view controller to another view controller using Notification Center is an easy way when compared to
Here we need add
listeners for getting new data to load. First we need to send data using post notification method.
We have many ways to store and retrieve persistent data in iOS but let try to store a custom object into
Codable in Swift 4.
If you are an iOS developer, execute this:
$ xcrun simctl delete unavailable
Text macros are symbols that are expanded in-place to the specified text. They are used in files and other places in Xcode, such as the header text for a new file or the project name. You can customize existing macros and add your own macros in a project, for all users of a project, or for all of Xcode. Customizing a macro requires two things: