Breakpoints are one of the most basic debugging tools available in Xcode, but there are a few tricks you can do to make using breakpoints more effective.
Brian hardy has written an excellent guide on some great tricks to speed up your debugging involving some lesser known features within Xcode utilizing breakpoints.
The tips include:
Editors Note: The following tutorial by James Beith was submitted by Thibault Lemaitre from Realmac Software, and provides a guide and example project on handling errors in Objective-C for iOS and Mac.
For those engineers amongst us, we’re all too familiar with handling errors in the software we develop. Here at Realmac Software we take error handling very seriously simply because it’s just so common place. Whether it be user input, networking, file systems, databases, etc, errors can easily occur. Inadequately handling these error can really impact your app and your users, leaving them with unexpected results, frustration, confusion, loss of their data and crashes.
The Travis CI tool, a hosted, free for open source, continuous integration service popular in the Ruby world now supports iOS and Mac development.
Here’s a tutorial from Mattes Groeger explaining in-depth how to use the Travis CI tool for iOS development.
Specifically the tutorial covers the following and more:
- Integration with Github
- Project configuration
- Setting up custom build commands with xcodebuild or xctool
- App provisioning
- Distributing with TestFlight or HockeyApp
One common issue with map based apps is performance when handling large amounts of data (annotations, and other information) that needs to be presented to the user quickly, and previously I mentioned a library that utilizes binary trees to improve performance when displaying large amounts of map annotations.
Here’s an in-depth tutorial from the team at Thoughtbot that explains how they conquered performance issues while working an app requiring them to display a large number of annotations, with name and phone number while still being responding to user gestures, and updating quickly.
Editors Note: The following tutorial by Damien DeVille was submitted by Thibault Lemaitre from Realmac Software, and provides an in-depth guide on how to debug blocks in Objective-C.
As a software engineer, a working day can be divided into three main areas: