cocoa

thefaj’s OpenFlow at master – GitHub

Chris Hanson – Xcode: Build numbers and versioning with agvtool

Mac OS X Developer Tools Manual Page For xcodebuild(1)

Limiting 64-bit to 10.6

Now that we’re all using XCode 3.2 on Snow Leopard (you are, right?) and building 64-bit apps you may find that not everything 64-bit works when your app is run on Leopard.

Loren Brichter of Tweetie fame found that Tweeite launched much more slowly on Leopard and I found that 32-bit web plugins (read Flash) do not load in a WebView in a 64-bit app in Leopard.

Read more on Limiting 64-bit to 10.6…

Sci-Fi Hi-Fi » Blog Archive » How to Resize an NSImage

Marching Ants With Core Animation

Marching AntsOur 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, I had no idea how long to expect it to take to finish a technical book as this was my first. One thing I discovered though, is that it is when you are about ready to go to production you start to realize all of the things that you probably should have added to the book, but didn’t think of in time. This blog post will cover one such item as a way to make up for not thinking of it in time. I may include this in a second edition if there is one, but consider this one a freebie.

Read more on Marching Ants With Core Animation…

What if images on the iPhone were as easy as HTML?

HTML is great, you want to set an image and you do <img src="http://example.com/image.jpg" />. It does everything else for you, it caches, it even loads in the background. This is something that is taken completely for granted until you actually have to do it yourself.

Read more on What if images on the iPhone were as easy as HTML?…

UIView perspective transform – Stack Overflow

I'm looking to perform a perspective transform on a UIView (such as seen in coverflow). you'll need to work with the UIView's layer, using a CATransform3D to perform the layer's rotation.

Read more on UIView perspective transform – Stack Overflow…

ASIHTTPRequest example code – All-Seeing Interactive

ASIHTTPRequest is an easy to use wrapper around the CFNetwork API that makes some of the more tedious aspects of communicating with web servers easier. It is written in Objective-C and works in both Mac OS X and iPhone applications.
It is suitable performing basic HTTP requests and interacting with REST-based services (GET / POST / PUT / DELETE). The included ASIFormDataRequest subclass makes it easy to submit POST data and files using multipart/form-data.

Read more on ASIHTTPRequest example code – All-Seeing Interactive…

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 how to set your table view cell heights dynamically based upon the text content without subclassing UITableViewCell. You can subclass it, however, doing so does not make the code much cleaner as setting the height is done in your delegate for the table view itself rather than the cell anyhow. Read on to see what you need to know to make dynamic cell height sizing a breeze.

There are probably numerous reasons why you might want dynamic heights for your table view cells, but the one I’ve run into most is the need to resize because I am displaying lists of text objects with varying lengths. When the text is short, it might fit in the normal cell label, however, if the text gets longer, you will want to resize the cell so that you can display the complete content. I’ve distilled the process of resizing table cells to a few rules of thumb. Here they are:

Read more on UITableViewCell Dynamic Height…

Google Author link
Page 4 of 812345678