iOS8-Blog

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

Animated progress view with CAGradientLayer

Modern software design is getting flatter and thinner all the time. Another trend that follows suit is the thin, one pixel progress bar that you see at the top of websites and apps. You’ve seen in it on Medium blogs, mobile Safari and other apps on iOS 7. I’m going to show you how to create a component like this to use in your own apps. This particular component I’ve created was inspired by the PHHHOTO website (bottom of the ...

Read Full Article

Create falling objects in your iOS Application using NSTimer

xcode bomb image In this tutorial I will be showing you have to create a basic iPhone Application that has an object, in this case an image, which falls from the top of the screen at a random location.

Read Full Article

Objective-C: Using NSTimer

A great and insightful introduction to the Objective-C: NSTimer Class.

Read Full Article

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

1 6 7 8 9 10 22
Close

Follow iOS-Blog on twitter

Follow @iOS_Blog