Objective-C / Swift Tutorials, Resources and Competitions for the iPhone Developer

Toggle slow animations on your iOS device

There’s very useful debugging feature in iOS simulator – Toggle slow animations, but it’s only a simulator functionality and there’s no way to have the same while debugging on device. Or is it?

Read Full Article

Check if Active Internet Connection Exists on iOS Device

There may be a plethora of reasons that you need to check whether or not the device that is using your application has an internet connection. I have listed two methods here. A quicky use a pre built class method or the do it yourself I like getting dirty with code method. Both ways are valid. At the bottom there is also another solution posted by a StackOverflow member. Method 1 You can use a simple (ARC and GCD compatible) ...

Read Full Article

How to sort NSArray with custom objects

Every app has to work with some data and this data is usually structured in custom classes. A music app will probably have a Song class, a chat app will have a Friend class, a recipe app will have a Recipe class and so on. And sometimes you want to display a sorted list of objects. Let’s find out about the different methods to do this.

Read Full Article

How to check iOS version at runtime

iOS 7 has a very good adoption rate, however you might still want to support people that are running older versions of iOS.

Read Full Article

Objective-C: @synthesize vs @dynamic

@synthesize will generate getter and setter methods for your property. @dynamic just tells the compiler that the getter and setter methods are implemented not by the class itself but somewhere else (like the superclass or will be provided at runtime).

Read Full Article

iOS 7: Hello World Tutorial

This is a “Hello World” tutorial to iOS programming. We are going to build an iPhone app that has a counter and two buttons. Tapping the “+1″ button increments the counter and tapping “-1″ decrements the counter.

Read Full Article

Objective-C: Check if NSString is empty

This is a quick tip that will allow you to check whether an NSString is empty.

Read Full Article

Auto-Indent Lines of code in Xcode.

Writing code can get messy, especially when you are copying and cutting bits here and there. This quick tip will allow you to clean up your Objective-C code in Xcode.

Read Full Article

1 6 7 8 9 10 22

Follow iOS-Blog on twitter

Follow @iOS_Blog