Strategy Design Pattern

I was over in Sweden last week teaching a Java design patterns course. Having spent so much time with iOS recently, it was interesting to put my Java hat back on and talk about designing enterprise scale applications. Some of my students probably thought I was a little slow writing code during demos but I […]
Read More ›

Testing for Memory Warnings

Have you ever opened up an app on your iPhone or iPad and noticed that it crashed immediately? Then it was OK when you restarted it? That’s usually because there is a bug in the way the application responds to the memory management processes in iOS. Memory Management in iOS One of the objectives of […]
Read More ›

URL Schemes on iOS

The URL scheme is a useful little feature in iOS that allows unrelated applications to communicate with each other in a controlled way. One application can use a custom URL scheme registered by another to pass control to it, supplying arguments as required. Standard URL Schemes Some of the standard iOS apps have URL schemes […]
Read More ›

Lazy Properties

Every language has its own idioms and when I have to learn a new language, I always find that looking at sample code and examples is a great way to learn new techniques. Something that’s very common in the sample code provided by Apple is the use of lazy properties. It’s certainly not an approach […]
Read More ›

Using Snippets in Xcode

If you have done any editing of Objective-C source code in Xcode, you have probably noticed that it will sometimes give you useful templates of code to save typing. For example, if you type “switch” into the Xcode editor window inside a method body and press return, you get something like this: Typing on the […]
Read More ›

Type to search blog.learningtree.com

Do you mean "" ?

Sorry, no results were found for your query.

Please check your spelling and try your search again.