Objective-C Posts

Objective-C

NSURLConnection DidReceiveData Calls Twice

jsandahl • May 17, 2013

Let’s say you are making calls to an API and it delivers a lot of information to you all at once. Chances are if you’re putting out the data directly from the – (void)connection:(NSURLConnection *)theConnection didReceiveData:(NSData…

Read More

Objective-C

Working with Location Timers in iOS 6

jsandahl • April 12, 2013

As you probably know, iOS 6 changed the method by which the NSLocation is updated. Instead of “updatedFromLocation:()oldLocation toNewLocation()NewLocation” There is now a simple method didUpdateLocations(). Besides setting location accuracy filter, distance filter, and heading filter,…

Read More

API

Simplifying NSURLConnections in iOS

jsandahl • April 5, 2013

Chances are, if you are creating an app in iOS, you will at some point be interacting with a connection to the server. All asynchronous requests need two components: the call, and when the connection receives…

Read More

Objective-C

Dealing with Duplicate App Names in iOS Provisioning Portal

jsandahl • March 21, 2013

So let’s say you accidentally named an app twice with the same name for the provisioning portal. Now maybe you meant to do that, but if not, you will get to the provisioning drop-down list and…

Read More

Objective-C

How to Properly Use Storyboards in iOS Apps

jsandahl • February 8, 2013

Using storyboards in iOS isn’t all that new in the world of iOS, but for the beginning developer, the process of working with them beyond the basics presents a number of challenges. Many of the tutorials…

Read More

Objective-C

How to Make Half-Screen iPad Modals in XCode

jsandahl • January 16, 2013

For someone starting out in iOS programming, there’s a lot of things to keep track of. The beginning learning curve is very steep, especially for someone coming from a scripting background. Fortunately, in iOS 6, there…

Read More