Just create an interface by following this code.
@interface MREntitiesConverter : NSObject {
NSMutableString* resultString;
}
@property (nonatomic, retain) NSMutableString* resultString;
- (NSString*)convertEntiesInString:(NSString*)s;
@end
@implementation MREntitiesConverter
@synthesize resultString;
- (id)init
{
if([super init]) {
//resultString = [[NSMutableString alloc] init];
}
return self;
}
- (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)s [...]
This can be done easily just like when you are working with the standard ViewController.
Here is the sample code…
UIAlertView *alert = [[UIAlertView alloc] init];
[alert setTitle:@"My Title"];
[alert setMessage:@"My message"];
[alert setDelegate:self];
[alert addButtonWithTitle:@"OK"];
[alert addButtonWithTitle:@"Cancel"];
[alert [...]
Well done, I don’t know if there is any other framework that let you add a splash screen easier than the iPhone SDK or not. I never see it.
What you want to do is just creating your splash screen image in PNG format which have 320×480 resolution for portrait or [...]
I’m not quite sure why it’s so easy than I ever think of. But it is!
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
It just disables the Idle Timer of iPhone OS for my application.
Sweet!
It just likes what you did by running the app and hold the stand-by button then push on the home button.
When you run this code, it will capture the current screenshot and add into the Camera Roll.
It’s not yet included in the official SDK but you can [...]
Credited to “The iPhone Developer’s Cookbook” which I think is the best book for beginner to getting started on iPhone SDK development.
Archives
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- March 2011
- February 2011
- January 2011
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- January 2010
- December 2009
- October 2009
- August 2009
- July 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- June 2007
Tags
.net 2008 asp.net asp.net mvc asus eee c# corona cpa doctrine dom eee eee pc Internet Marketing ios iPad iphone iPhone development iphone sdk javascript make money netbook online marketing pagerank passion php playstation playstation 3 ps3 ranking ror ruby on rails self help Self Improvement self motivation seo sql success symfony take action the secret ultra compact laptop ultra compact notebook vb.net web development wordpress
