Top "Cocoa-touch" questions

The Cocoa Touch Frameworks that drive iOS apps share many proven patterns found on the Mac, but were built with a special focus on touch-based interfaces and optimization.

How do I associate file types with an iPhone application?

On the subject of associating your iPhone app with file types. In this informative question I learned that apps could …

ios cocoa-touch
Can I force a UITableView to hide the separator between empty cells?

When using a plain-style UITableView with a large enough number of cells that the UITableView cannot display them all without …

ios objective-c cocoa-touch uitableview
How to zoom in/out an UIImage object when user pinches screen?

I would like to zoom in/out an UIImage object when the user performs the standard pinch action on my …

cocoa-touch uiimage uiimagejpegrepresentation
Is there a way to remove the separator line from a UITableView?

I'm looking for a way to completely remove the separator line in a UITableView when in the plain mode. This …

objective-c cocoa-touch uikit
iOS: Multi-line UILabel in Auto Layout

I'm having trouble trying to achieve some very basic layout behavior with Auto Layout. My view controller looks like this …

ios iphone cocoa-touch autolayout uilabel
UIButton: set image for selected-highlighted state

I set an images for button's states Normal,Highlighted and Selected, but when the button in selected state and I …

iphone cocoa-touch image uibutton selected
UITableView, Separator color where to set?

I have added a UITableView in IB and set the "delegate" and "datasource" and all is working well. What I …

ios objective-c uitableview cocoa-touch
What are best practices that you use when writing Objective-C and Cocoa?

I know about the HIG (which is quite handy!), but what programming practices do you use when writing Objective-C, and …

iphone objective-c cocoa cocoa-touch ios
How to draw border around a UILabel?

Is there a way for UILabel to draw a border around itself? This is useful for me to debug the …

ios iphone cocoa-touch uikit uilabel
Should IBOutlets be strong or weak under ARC?

I am developing exclusively for iOS 5 using ARC. Should IBOutlets to UIViews (and subclasses) be strong or weak? The following: @…

ios objective-c cocoa-touch interface-builder automatic-ref-counting