Category Archives for Foundation

UserDefaults

UserDefaults are a great way to persist a small amount of data. In this post we will discuss all the things you need to know.

Continue reading

NSTimer – Repeat

The NSTimer class is a workhorse of iOS applications, but it is also complex, fraught with hidden gotchas and cumbersome to use. For example, when a timer expires, its callback mechanism consists of performing

Continue reading

A Simple BlockOperation Example

Concurrency is a very interesting topic and there are many situations where you should use it in iOS development. Sometimes it is the only way to provide a responsive UI to the user. In Swift there is

Continue reading

NSURL and NSURLComponents

NSURL and NSURLComponents are classes for handling URLs (Uniform Resource Locator). In this post we discuss the most important features of these classes.

Continue reading