All posts tagged: ios

Proposal: How to bring upgrade pricing to your iOS and Mac apps

Apple / Development / iOS

I was listening to Iterate 67 recently and there was discussion about Readdle‘s apps and how they work together. I was thinking about how they achieve this above and beyond some canOpenURL: smarts, and I presume they are using a shared bundle ID or similar to allow the apps integrate with each other at a deeper level. Somewhat tangentially this got me thinking about a possibility of solving the “there’s no upgrade pricing in the […]

Debugging tools for OpenGL in XCode

Development / iOS

My first iOS app has some UI elements that use OpenGL. It’s been interesting learning to optimise this particular part of the app for 60fps (60 frames per second) rendering. You hear 60fps being talked about a lot with iOS UI development, and there is very good reason for this. If what you are doing animates in response to touches, 60fps updates are essential to avoid it feeling laggy. Apple spent a lot of time […]

Why is my button triggering the wrong gesture?

iOS

I had a fun little problem in my work-in-progress iOS app recently. The app recognises a pan gesture on the main view, but also has some buttons as subviews of the main view. Think a white rectangle that receives pan gestures, and a UIButton in the middle of that view. Everything worked fine in the simulator. Panning worked. Tapping the button worked. Not so on a real device.