For iOS developers, this is a really cool technique. Sometimes you want to see all the NSNotifications that get posted in your app, whether it is for debugging, or to see the timing of where listeners can be hooked in. Using breakpoints in Xcode will allow us to inspect the notifications. Follow this procedure to set it up: In Xcode, open the breakpoints panel on the left sidebar. Click the + icon at the bottom left of the panel. Select “Add Symbolic Breakpoint…“ Enter the following details: Symbol: -[NSNotificationCenterpostNotificationName:object:userInfo:] Click Add Action and enter the following details: Debugger Command: po Continue Reading
objective c
App Remote – Unleashing the Apple Remote
I’ve been using Sofa Control for my Apple Remote since I bought my Mac in 2009. I use Sofa Control pretty much every week when I volunteer with the youth ministry at my church. The Apple Remote by itself only works with certain programs that are designed to handle its input and it lacked support for other programs we were using such as OpenSong, which we use for song lyrics. So I bought a license for Sofa Control. Recently Sofa Control’s move to the App Store required all existing customers to repurchase the license. I didn’t want to shell out another Continue Reading