I am looking for more iPhone developers who are actively posting to their blog and/or Twitter. I have been learning a lot from books but the online resources beyond Apple's developer site have been hard to find.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Monday, June 11, 2012
Are you doing iPhone development? How do you learn?
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 should use CGContextSetShadow() to draw the shadow, but the Quartz 2D programming guide is a little vague:
Sunday, June 10, 2012
Is there a documented way to set the iPhone orientation?
I have an app where I would like to support device rotation in certain views but other don't particularly make sense in Landscape mode, so as I swapping the views out I would like to force the rotation to be set to portrait.
iPhone: How to load a View using a nib file created with Interface Builder
I'm trying to do something a bit elaborate but that should be possible, so here is a challenge for all you experts out there (this forum is pack of the lot of you :) ).
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 cleaning up memory the app allocated, what's the appropriate method to call to terminate the application?
"wait_fences: failed to receive reply: 10004003'?
I get this cryptic error the first time (and only the first time) my view is loaded due to the following line of code:
Friday, June 8, 2012
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 to do that too, I'm still unable to have a fully working UITextField in some of my UITableViewCells , just like in this example:
Tuesday, June 5, 2012
How to customize the background/border colors of a grouped table view?
I would like to customize both the background and the border color of a grouped-style UITableView.
How do I size a UITextView to its content?
Is there a good way to adjust the size of a UITextView to conform to its content? Say for instance I have a UITextView that contains one line of text:
Monday, June 4, 2012
When should I release objects in -(void)viewDidUnload rather than in -dealloc?
What is the -(void)viewDidUnload is good for?
Could I not just relase everything in -dealloc ? If the view did unload, wouldn't -dealloc be called anyway?
UIActionSheet cancel button strange behaviour
I have a UIBarButtonItem opening an action sheet to offer users choices about what to do. Everything works as expected unless I try to click on the "Cancel" button. The target of the button appears to have moved up from where it should be. I can only activate it by clicking somewhere in the middle of the "Cancel" and "Ok" buttons.
Sunday, June 3, 2012
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 email API. I don't want to use the following code because it will exit my application:
Friday, June 1, 2012
Gradients on UIView and UILabels On iPhone
My application needs to display text in either a View or Label but the back ground must be a gradient as opposed to a true color. Using a graphics program to create desired look is no good as the text may vary depending on data returned from a server.
Wednesday, May 30, 2012
How do I associate file types with an iPhone application?
On the subject of associating your iPhone app with file types.
@synthesize vs @dynamic, what are the differences?
What are the differences between implementing a @property with @dynamic or @synthesize ??
Tuesday, May 29, 2012
How to programmatically send SMS on the iPhone?
Does anybody know if it's possible, and how, to programmatically send a SMS from the iPhone, with the official SDK / Cocoa Touch?
Sunday, May 27, 2012
How can I disable the UITableView selection highlighting?
When you tap a row in a UITableView, the row is highlighted and selected. Is it possible to disable this so tapping a row does nothing?
Friday, May 25, 2012
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 with standard UIKit elements like UILabel. Is this possible?
How to check for an active Internet Connection on iPhone SDK?
I would like to check to see if I have an Internet connection on the iPhone using the Cocoa Touch libraries.
Thursday, May 24, 2012
How do I vertically align text within a UILabel?
I have an UILabel with two lines. Sometimes, when the text is short enough, this text is displayed in the vertical center of the UILabel.