Tag archives for iOS

How to detect when an iOS app crashes

Great post on StackOverflow about detecting when an app is killed, due to an exception, a signal, etc. Most crashes can be caught using a 3-fold approach: appWillTerminate exception handler signal handler This translates into using: // installs HandleExceptions as the Uncaught Exception Handler NSSetUncaughtExceptionHandler(&HandleExceptions); // create the signal action structurestruct sigaction newSignalAction; // initialize […]

Online resources to learn Apple’s Swift Language

A collection of resources to start with the new Swift language.

Apple introduces iOS 8 SDK and Xcode 6

Another post for InfoQ: “At its 2014 Worldwide Developer Conference, Apple announced its new mobile operating system, iOS 8, alongside new SDKs and development tools. New Apple software includes over 4000 new APIs, including all new frameworks such as HealthKit, HomeKit, and CloudKit, and enhancements to the platform gaming capabilities.” Read it all.

How Instruments can be used to fix a graphics performance issue

Lately, I have been investigating an issue a customer of mine’s app showed. My customer’s app is a sort of PDF viewer that also allow to add annotations. Such annotations are not stored in the PDF itself, instead they are managed in a custom way and drawn on top of the PDF in a dedicated […]

What’s new in iOS 7 User Interface – Part 2: Deference

In a previous post, I began describing what changes the introduction of iOS 7 brought to iOS UI/UX dimension. In that post, I listed 4 main principles shaping the idea of iOS flat-UI: Clarity Deference Depth Detail Here I will try and clarify what a “deferent” UI should be. Again in the New Oxford American […]

Hitchhiker’s guide to MKStoreKit

In-App Purchase is one of those great feature of the iOS ecosystem that I wish were easier to understand and implement in my apps. In the end it is just a machinery that will not really add value to my apps, and it would be great if the Apple motto “it just works” could be […]

Core Graphics Image Interpolation Performance

Recently, I have done quite a bit of Core Graphics programming and discovered that one key point in ensuring that an app performs well is choosing the right CGContext interpolation level. Interpolation, according to the Wikipedia, “is a method of constructing new data points within the range of a discrete set of known data points.” […]

App Store: it’s a hard life

It may come as a bit of a shock to many, but the truth was already known to most independent developers for iOS: the App Store is a really hard environment to live in. This has been lately confirmed in some new figures released by mobile analytics firm Adeven, which speak of almost 400.000 (i.e., […]

Playing a secondary theme in Cocos2D

Cocos2D offers CocosDenshion, an easy to use framework to work with audio. CocosDenshion allows you to play a background music and then some effects on top of that. This is clearly aimed at games and it usually works really well. The difference between background music and effects is summarized as follows: background music is thought […]

A bug in the Dropbox app for iOS?

Try this: launch your Dropbox app on the iPhone/iPad and log in; go to your computer and browse to the Dropbox settings to change your account password; go back to your iPhone/iPad and… surprise, you are still allowed to browse through your documents… So, if you loose your iPhone, no need to rush to change […]

Copyright © Labs Ramblings

Built on Notes Blog by TDH
Powered by WordPress

That's it - back to the top of page!