iOS8-Blog

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

NSString – Objective-C Class Reference

As we’ve seen before, an NSString is an object that represents a block of text. The name presumably comes from the fact that it is a string of characters, though that is just supposition, but does make it slightly easier to remember.

Read Full Article

Constants in Objective C

When you’re building an app you usually need some values to remain the same for the whole runtime of the app. Instead of using those values everywhere inside your app it is better to define a constant and use the constant instead. It will make your life easier when you want to change the value everywhere in the code and if you give it a good name it will make your code more readable. In this post we’re going to ...

Read Full Article

Create an Asynchronous URL connection as an NSOperation

Recently I read a that showed the disassembly of +[NSURLConnection sendAsynchronousRequest:queue:completionHandler:] mainly as a simple call to +[NSURLConnection sendSynchronousRequest:returningResponse:error:] dispatched on a global queue.

Read Full Article

Ruby-like nil messaging in Objective-C

iOS development tutorial with ruby Nil messaging in Objective-C has a fairly well document behavior. In brief, messaging nil has no effect and the return value from a message sent to nil is discussed in the Programming with Objective-C

Read Full Article

iOS 7 in-line UIDatePicker – Part 1

One of the new features in iOS 7 is the in-line UIDatePicker. You might have noticed in the Calendar app or in the Reminder app that when you want to select a date for your event, instead of seeing the UIDatePicker come up from the bottom of the screen like the keyboard, now you see it below the cell that contains the date. This is how it looks like in the Calendar app: Today we are going to see how ...

Read Full Article

1 5 6 7 8 9 22
Close

Follow iOS-Blog on twitter

Follow @iOS_Blog