Categories
Categories are an Objective-C syntax for adding features to a class without subclassing it and without even having access to its code (its .m file). This comes in handy when you want to keep using a...
View ArticleDistribution
User Testing After building and testing your app yourself, it’s always a good idea to have a select group of users test your app. These users should be representative of your target audience, and they...
View ArticleCore Data
There are many different ways to save and load data for your app. We’ve already been using NSUserDefaults for storing preferences and small amounts of data. For larger data sets, you can use XML files...
View ArticleToolkits
Many of the frameworks listed below are written in the C++ language. C++ is an object-oriented superset of C, much like Objective-C is. It is one of the most popular programming languages and can be...
View ArticleOpenGL
The Open Graphics Library (OpenGL) is a framework for rendering 2D and 3D graphics. OpenGL usually interacts directly with the GPU, achieving hardware-accelerated rendering. OpenGL is a cross-platform,...
View ArticleApp Design Guidelines
Before diving into code, you need to take the time to properly design your app, both from an interface and experience point of view. It is important to take the time to define an app’s feature set and...
View ArticleSettings Bundle
As we’ve seen previously, NSUserDefaults is used to store preference data in iOS apps. There are then two options for displaying these preferences: directly inside the app and as a section in the...
View ArticleConstants and Statics
Constants A constant is an identifier whose value cannot be changed. It is said to be read-only. Think of it as a literal that can be referenced by name. Constants are useful when you need to reuse a...
View ArticleNotifications
Notifications are messages that are sent between objects. Unlike delegates, which are specifically linked to the object sending the message, notifications are broadcast and intercepted without any link...
View ArticleDisplaying Web Content
UIWebView is used to display web content. UIWebView is simply an extension of UIView with URL loading and displaying capabilities, so it can be used wherever you would use a UIView. UIWebView is built...
View Article