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.

Can I embed a custom font in an iPhone application?

I would like to have an app include a custom font for rendering text, load it, and then use it …

ios cocoa-touch fonts
Proper way to exit iPhone application?

I am programming an iPhone app, and I need to force it to exit due to certain user actions. After …

ios objective-c iphone cocoa-touch ipad
How can we programmatically detect which iOS version is device running on?

I want to check if the user is running the app on iOS less than 5.0 and display a label in …

iphone objective-c ios cocoa-touch ios4
Move textfield when keyboard appears swift

I'm using Swift for programing with iOS and I'm using this code to move the UITextField, but it does not …

ios swift cocoa-touch keyboard uitextfield
How do you load custom UITableViewCells from Xib files?

The question is simple: How do you load custom UITableViewCell from Xib files? Doing so allows you to use Interface …

ios uitableview cocoa-touch xib
iPhone UIView Animation Best Practice

What is considered best practice for animating view transitions on the iPhone? For example, the ViewTransitions sample project from apple …

iphone ios cocoa-touch uiview core-animation
-didSelectRowAtIndexPath: not being called

I'm writing an iOS app with a table view inside a tab view. In my UITableViewController, I implemented -tableView:didSelectRowAtIndexPath:, …

ios uitableview cocoa-touch didselectrowatindexpath
Creating a UICollectionView programmatically

I'm looking for a guide or tutorial that will show me how to set up a simple UICollectionView using only …

ios objective-c cocoa-touch uicollectionview
How do I add 1 day to an NSDate?

Basically, as the title says. I'm wondering how I could add 1 day to an NSDate. So if it were: 21st …

objective-c swift date cocoa-touch nsdate
Cocoa Touch: How To Change UIView's Border Color And Thickness?

I saw in the inspector that I can change the background color, but I'd like to also change the border …

ios objective-c iphone cocoa-touch interface-builder