iOS-Blog

The home of Objective-C Tutorials, Resources and Competitions for the iPhone Developer

iOS: Connecting to an online service and persisting data with CoreData

iOS development tutorial One of the most common jobs mobile apps perform these days is connecting to an online service and displaying its content to users.

Read Full Article

Use copy for NSString properties

When you declare a NSString property it is best to use copy instead of strong. In fact this is true for any immutable class that conforms to the NSCopying protocol like NSNumber, NSArray, NSSet and others. All these classes I mentioned also have a mutable version. You want to use copy because your NSString property can be passed either a NSString or a NSMutableString instance. If you’re being passed a NSMutableString instance then that means the value of your string ...

Read Full Article

Editable UITableViewController

A common use case in iOS is creating a form or an editable list of records directly inside a UITableView. We could send the user to a separate “detail” view controller for editing, but that complicates and slows down the user experience.

Read Full Article

SWTableViewCell – Expose Utility Buttons with an easy-to-use UITableViewCell subclass

An easy-to-use UITableViewCell subclass that implements a swipeable content view which exposes utility buttons (similar to iOS 7 Mail Application)

Read Full Article

Identify Calling Method in iOS

iOS development tutorial Recently I was troubleshooting multithreading issues in an iOS app for IIN. Here is some code that can identify what method and class called a given method. Useful for logging and debugging race conditions.

Read Full Article

Animating UITableView cells

In this quick tutorial I’d like to show you how to add a simple but interesting effect to your UITableView using with just a few lines of code.

Read Full Article

Objective-C Strings: A guide for beginners

The Objective-C class for strings is NSString. Strings are typically created by direct assignment or by calling one of the NSString class methods.

Read Full Article

1 5 6 7 8 9 18
Close

Follow iOS-Blog on twitter

Follow @iOS_Blog