Quantcast
Channel: iPhone – Cocoa Is My Girlfriend
Browsing latest articles
Browse All 20 View Live

Image may be NSFW.
Clik here to view.

Cocoa Touch Tutorial: iPhone Application Example

Similar to one of my first blog posts on building a basic application for Mac OS X using xcode 3.0, I am going to explain for beginning iPhone/iPod Touch developers how to build the most basic Cocoa...

View Article



Image may be NSFW.
Clik here to view.

Landscape Tab Bar Application for the iPhone

As you develop applications for the iPhone, you will likely use the project templates provided in Xcode. One such template, called “Tab Bar Application” helps you get a tab bar application set up...

View Article

Magical iPhone View Controllers

Update: This is documented behavior. Every now and again while doing development you stumble upon something that makes you go, hmmmm. Those are normally the moments at which you have to ask yourself,...

View Article

Image may be NSFW.
Clik here to view.

UITabBarController with UINavigationController Using Interface Builder

I’ve seen a good bit of sample code that shows how to implement using a UINavigationController in a view controller that is managed by a UITabBarController, but I haven’t seen much on how to do it with...

View Article

Image may be NSFW.
Clik here to view.

UITableViewCell Dynamic Height

At first glance setting a height dynamically for table view cells seems a little daunting and the first most obvious answers that come to mind are not necessarily correct. In this post I will show you...

View Article


Image may be NSFW.
Clik here to view.

Marching Ants With Core Animation

Our Core Animation book should be available by the end of the year. Go ahead and pre-order it now at Amazon if you would like ;-). When we started writing for Addison-Wesley back in September of 2008,...

View Article

Automatically save the dSYM files.

For those not aware, when you compile an Objective-C application, whether it be for the desktop or for Cocoa Touch devices, the debugging symbols are stripped out of the binaries. Therefore, unlike...

View Article

The PragPub Magazine

Last month I was given the opportunity to write an article for The Pragmatic Programmers great magazine called “PragPub”. I am happy to say that the article I wrote for them was published in this...

View Article


Image may be NSFW.
Clik here to view.

Fun With UIButtons and Core Animation Layers

Upon first glance, the UIButton class doesn’t seem to provide what you might expect in terms of customization. This often causes developers to resort to creating buttons in an image editor and then...

View Article


Getting “Real Work” Done

I had to post a link to this one as well as Fraser does such a great job explaining why the iPad is so compelling . From Fraser’s post: The tech industry will be in paroxysms of future shock for some...

View Article

Image may be NSFW.
Clik here to view.

Accessing The Cloud From Cocoa Touch

Everything is moving toward the cloud and unless you’re building calculators, unit converters, or miniature golf score keepers your iPhone app needs to know how to get data from it. In this blog post I...

View Article

Creating a NSManagedObject that is Cross Platform

An interesting question came up on Stackoverflow today so I decided to expound upon it in a short blog post. A situation that I believe we are going to be seeing more and more often is one where...

View Article

Image may be NSFW.
Clik here to view.

Re-Ordering NSFetchedResultsController

So Marcus is the Core Data guy, but I’ve been working with it a good bit myself lately and was recently faced with having to add re-ordering for a list of entities in a UITableView. The methods I found...

View Article


Differentiating Tap Counts on iOS [UPDATED]

In your iPhone/iPad apps you often need to know how many times your user tapped in a view. This can be challenging because, though the user may have tapped twice, you will receive the event and it will...

View Article

Core Data and Encryption

Just a quick post to point out a great article written by Nick Harris of NewsGator fame. He has looked into the issues with Core Data and encryption. Core Data and Enterprise iPhone Applications –...

View Article


Passing around a NSManagedObjectContext on iOS

**This article is reprinted from the MDN** The documentation on Core Data for the iPhone has lead to some confusion about how best to use Core Data on a Cocoa Touch device. One particular section seems...

View Article

Subduing CATiledLayer

Many technologies we use as Cocoa/Cocoa Touch developers stand untouched by the faint of heart because often we simply don’t understand them and employing them can seem a daunting task. One of those...

View Article


Saving JSON to Core Data

Hi, I’m new here. You may know me as @atomicbird on Twitter. Just a few days ago my book Core Data for iOS: Developing Data-Driven Applications for the iPad, iPhone, and iPod touch (co-written with the...

View Article

Image may be NSFW.
Clik here to view.

NSFetchedResultsController -sectionNameKeyPath discussion

Core Data and NSFetchedResultsController do clever things under-the-hood to improve performance, such as loading data in batches as it’s needed. But there’s a gotcha with grouping data with...

View Article

Down with Magic Strings!

Developing iOS apps in Xcode is pretty great. With Objective-C and llvm we get type checking and autocompletion of all our classes and method names which is a nice improvement over my favorite dynamic...

View Article
Browsing latest articles
Browse All 20 View Live




Latest Images