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 auto size a UIScrollView to fit its content

Is there a way to make a UIScrollView auto-adjust to the height (or width) of the content it's scrolling? Something …

iphone ios objective-c cocoa-touch uiscrollview
How can I send mail from an iPhone application

I want to send an email from my iPhone application. I have heard that the iOS SDK doesn't have an …

ios iphone email cocoa-touch
Setting action for back button in navigation controller

I'm trying to overwrite the default action of the back button in a navigation controller. I've provided a target an …

ios iphone cocoa-touch uinavigationcontroller uibarbuttonitem
Get the current first responder without using a private API

I submitted my app a little over a week ago and got the dreaded rejection email today. It tells me …

objective-c cocoa-touch first-responder
How to save picture to iPhone photo library?

What do I need to do to save an image my program has generated (possibly from the camera, possibly not) …

ios iphone cocoa-touch camera uiimage
Having a UITextField in a UITableViewCell

I'm trying to do that for a couple of days now, and after reading tons of messages of people trying …

ios objective-c uitableview cocoa-touch uitextfield
Delete/Reset all entries in Core Data?

Do you know of any way to delete all of the entries stored in Core Data? My schema should stay …

ios cocoa cocoa-touch core-data nsmanagedobject
creating custom tableview cells in swift

I have a custom cell class with a couple of IBOutlets. I have added the class to the storyboard. I …

swift uitableview cocoa-touch ios8 storyboard
@synthesize vs @dynamic, what are the differences?

What are the differences between implementing a @property with @dynamic or @synthesize?

objective-c cocoa cocoa-touch synthesize
Is it possible to change a UIButtons background color?

This one has me stumped. Is it possible at all to change the background color of a UIButton in Cocoa …

objective-c iphone cocoa-touch uibutton