xcode 4

Now, xcode 4 is available for the iphone application development
xcode 4 integrate the  interface builder and many more things.
There is no requirement of separate interface builder.
Automatically sets the IBOutlet and make them release.
Automatically implements the action methods.
Here is the screenshot for xcode 4



iphone app for map view

iphone app for map view
Here is the iphone app for map view
please write the following code in iphone app where you to open the map application in iphone app or ipad app

[[UIApplication sharedApplicationopenURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://maps.google.com/maps?saddr=%f,%f&daddr=%@,%@"SLT,SLO,DLT,DLO]]];

Application for iphone for uitableview

Application for iphone UITableview example
There are mainly 3 metods to write

-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
// Return the number of sections.
return 0;
}
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
// Return the number of rows in the section.
return 0;
}
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
}
// Configure the cell...
return cell;
}

Download code here

iphone icon badge value

Here is the code to assign the badge value for the iphone icon
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:9];
write this code where you want to assign the badge value

iphone 5

Hi,
Iphone 5 is the new upcoming best mobile phone in the world
Features
1. very Thin and slim
2. Holographic display
3. Laser Keyboard

Here is the vedio

Powered by Blogger.
Twitter Delicious Facebook Digg Stumbleupon Favorites More