RSS

Category Archives: iPhone

how to use PickerView in iPhone (UIPickerView )

Outstanding article

#import "ViewController.h"
@implementation ViewController
@synthesize mlabel;

- (void)viewDidLoad
{
	[super viewDidLoad];
	arrayNo = [[NSMutableArray alloc] init];
	[arrayNo addObject:@" Hello "];
	[arrayNo addObject:@" Hai "];
	[arrayNo addObject:@" Picker "];
	[arrayNo addObject:@" Simple "];
	[arrayNo addObject:@" example "];

	[pickerView selectRow:1 inComponent:0 animated:NO];
	mlabel.text= [arrayNo objectAtIndex:[pickerView selectedRowInComponent:0]];
}

- (NSInteger)numberOfComponentsInPickerView:(UIPickerView *)pickerView;
{
	return 1;
}

- (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component
{
	mlabel.text= [arrayNo objectAtIndex:row];
}

- (NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component;
{
	return [arrayNo count];
}

- (NSString *)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component;
{
	return [arrayNo objectAtIndex:row];
}

/*
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
[super viewDidLoad];
}
*/

/*
// Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
*/

- (void)didReceiveMemoryWarning
{
	// Releases the view if it doesn't have a superview.
	[super didReceiveMemoryWarning];

	// Release any cached data, images, etc that aren't in use.
}

- (void)viewDidUnload
{
	// Release any retained subviews of the main view.
	// e.g. self.myOutlet = nil;
}

- (void)dealloc
{
	[super dealloc];
}
@end

Original Post

 
Leave a comment

Posted by on July 9, 2011 in iPhone

 

Rumors claim Apple’s iPhone 5 and iPad 3 Suppliers Gearing up for October Launch

A new report by DigiTimes is claiming that the companies that manufacture and supply components to be used in the production of Apple’s next-generation iPhone and iPad devices are preparing for an October launch of both of these devices. The report cites sources throughout Apple’s supply chain and claims that Apple will be launching a single new iPhone model, which is expected as there was no new iPhone hardware previewed at the 2011 Worldwide Developers Conference, alongside the iPad 3.

While the iPhone rumors are hardly new, the iPad 3 news is somewhat surprising and contradicts what many had previously reported about the next iPad, including a report made this week by a FBR Capital Markets analyst stating that prototype iPad 3 models wouldn’t even appear until 2012. Apple launched the iPad 2 just a few months ago, packing quite a few improvements but lacking an upgraded display which dismayed journalists and users alike. The DigiTimes report claims that the new iPad 3 will remedy the display issue, with a source quoted that “Apple is considering designing an even thinner and lighter tablet PC with its panel resolution increasing to 250dpi.”

Read More

 
Leave a comment

Posted by on July 5, 2011 in iPhone

 

iPhone 5 Release Date and Features

iPhone 5 Release Date might be most buzzing topic among tech geeks.  Each day is rising with a new rumor or a speculative guess about iPhone 5 launch date. CNET UK, a top internet review site for electronics, has grabbed attention of the techies posting update on iPhone 5 release date.

According to CNET UK, iPhone 5 release date is likely to be September 7th 2011. We guess this is the first exact date prediction about launch of the next generation iPhone.

 

Read More

 

 
Leave a comment

Posted by on July 5, 2011 in iPhone

 

iPhone 5

http://iphone5release.org/

http://iphone5world.net/

http://www.iphone5specs.org/

http://www.iphone5gblog.com/

http://www.iphone5review.com.au/
 
Leave a comment

Posted by on July 2, 2011 in iPhone

 

Introducing Universal Applications for iPhone OS

Introduction

With the introduction of iPad, iPhone SDK 3.2 now supports development of three types
of applications: iPhone apps, iPad apps and Universal apps.
• iPhone Applications. iPhone applications are optimized to run on iPhone and iPod
touch. These applications run on iPad in their original resolution or can be optionally
set to be pixel- doubled to accommodate for the larger display.
• iPad Applications. iPhone SDK 3.2 supports the development of iPad applications
that are optimized to take advantage of iPad features, but run only on iPad.
• Universal Applications. iPhone SDK 3.2 supports the development of Universal
applications. A Universal app is optimized to run on all iPhone OS devices—itʼs
essentially an iPhone app and an iPad app built as a single binary.
This document covers the guidelines you should follow to create well-designed
Universal applications.
A Universal app can determine which device itʼs running on and provide the best
experience for that device. Well-designed Universal apps leverage a deviceʼs unique
hardware features, provide the right choice of user interface elements, and use only the
functionality that is supported by that device.
Apple recommends that iPhone OS developers design, code and build their applications
as Universal applications. Building apps as Universal apps makes it easier for everyone.
Itʼs easier for developers because thereʼs only one app to manage on the App Store.
Itʼs easier for users because theyʼll know that it runs on any device they own

Read More

 
1 Comment

Posted by on June 30, 2011 in iPhone

 

iOS Sample Code

Sample Code

Study sample code for implementation examples of iOS features. Each sample code project is build-able and executable source example of how to accomplish a task for a specific technology. They show the correct sequence of calls and parameter data types to provide a generalized method for API use that developers can modify for their specific needs.

Click here for Sample Code.

 
Leave a comment

Posted by on June 30, 2011 in iPhone

 

iOS 5 for Developers

iOS 5, the latest version of the world’s most advanced mobile operating system, includes over 200 new user features, and an updated SDK with over 1,500 new APIs and powerful new development tools. Start developing today to take advantage of iCloud Storage, Newsstand Kit, Core Image, GLKit, Twitter and new Game Center APIs.

Click here for More detail

 
Leave a comment

Posted by on June 30, 2011 in iPhone

 

Apple iOS 5 new features

Notification Center

All your alerts. All in one place.

You get all kinds of notifications on your iOS device: new email, texts, friend requests, and more. With Notification Center, you can keep track of them all in one convenient location. Just swipe down from the top of any screen to enter Notification Center. Choose which notifications you want to see. Even see a stock ticker and the current weather. New notifications appear briefly at the top of your screen, without interrupting what you’re doing. And the Lock screen displays notifications so you can act on them with just a swipe. Notification Center is the best way to stay on top of your life’s breaking news.

Newsstand

A custom newsstand for all your subscriptions.

Read all about it. All in one place. iOS 5 organizes your magazine and newspaper app subscriptions in Newsstand: a folder that lets you access your favorite publications quickly and easily. There’s also a new place on the App Store just for newspaper and magazine subscriptions. And you can get to it straight from Newsstand. New purchases go directly to your Newsstand folder. Then, as new issues become available, Newsstand automatically updates them in the background — complete with the latest covers. It’s kind of like having the paper delivered to your front door. Only better.

Read More

 
Leave a comment

Posted by on June 30, 2011 in iPhone

 

PhoneGap tutorials for All Platforms

http://wiki.phonegap.com/w/page/35501397/Tutorials

 

Introducing PhoneGap/Build

Say goodbye to SDKs, compilers and hardware. Simply write your app using HTML, CSS or JavaScript, upload it to the PhoneGap Build service and get back app-store ready apps for Apple iOS, Google Android, Palm, Symbian, BlackBerry and more.

By compiling in the cloud with PhoneGap Build, you get all the benefits of cross-platform development but can still build apps just the way you like.

Want to know more? Check out our FAQs.

Getting Started

Hi, and welcome to PhoneGap Build. PhoneGap Build allows you to create cross-platform mobile apps based on HTML, CSS, and JavaScript through a simple web interface. We take care of all the packaging and compilation, and you get some mobile apps back in a matter of minutes.

The first step is to register an account and log in – we’ll assume that you’ve gotten that far, and you’re at the New App form.

Read More