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.

Adjust UILabel height depending on the text

Consider I have the following text in a UILabel (a long line of dynamic text): Since the alien army vastly …

ios cocoa-touch uikit uilabel
UITableViewCell, show delete button on swipe

How do I get the delete button to show when swiping on a UITableViewCell? The event is never raised and …

ios uitableview cocoa-touch uikit
How to set cornerRadius for only top-left and top-right corner of a UIView?

Is there a way to set cornerRadius for only top-left and top-right corner of a UIView? I tried the following, …

ios cocoa-touch uiview cornerradius
EXC_BAD_ACCESS signal received

When deploying the application to the device, the program will quit after a few cycles with the following error: Program …

ios cocoa-touch
Loaded nib but the 'view' outlet was not set

I added a new nib file to my project, and tried to load it. However, when I click on the …

ios cocoa-touch interface-builder xib
iOS - Dismiss keyboard when touching outside of UITextField

I'm wondering how to make the keyboard disappear when the user touches outside of a UITextField.

ios cocoa-touch uitextfield uikit
UITableView - change section header color

How can I change color of a section header in UITableView? EDIT: The answer provided by DJ-S should be considered …

ios uitableview cocoa-touch
How do I draw a shadow under a UIView?

I'm trying to draw a shadow under the bottom edge of a UIView in Cocoa Touch. I understand that I …

iphone objective-c ios cocoa-touch core-graphics
Hide separator line on one UITableViewCell

I'm customizing a UITableView. I want to hide the line separating on the last cell ... can i do this? I …

ios objective-c uitableview cocoa-touch separator
Getting current device language in iOS?

I'd like to show the current language that the device UI is using. What code would I use? I want …

ios objective-c cocoa-touch nslocale