HI THIS TOUTORIAL WILL HELP FULL FOR STARTUP IN IOS CREATED BY NAVEENRAJU
IOS BASICS EXPLINATIONS BY NAVEENRAJU
IPHONE SDK
- Introduction to iPhone Architecture
- Introduction to Development IDE - XCODE, Interface Builder
- Creating and building simple applications
- Handling Basic Interaction
- Creating basic view controllers
- Monitoring events and actions
- Creating advanced view controllers
- Memory Management
- Storyboarding Integration
- Programmatic Interface creation
- Integrating with core services – Email, Contacts, Camera, Map kit etc
- Data: actions, preferences, files, and addresses
- Camera, WebKit, Mapkit and core location
- Creating of database and using it in iPhone app
- Introduction to url loading system
- Debugging, testing the application
Handling basic interactions handling basic interactions:Code For above Video DemoViewController.h//// ViewController.h// InteractionDemo//// Created by apple on 05/02/13.// Copyright (c) 2013 apple. All rights reserved.//#import <UIKit/UIKit.h>@interface ViewController : UIViewController@property (retain, nonatomic) IBOutlet UISlider *myStepper;@property (retain, nonatomic) IBOutlet UILabel *l2;@property (retain, nonatomic) IBOutlet UILabel *l3;@property (retain, nonatomic) IBOutlet UISwitch *mySwitch;@property (retain, nonatomic) IBOutlet UIStepper *myIncrimentor;@property (retain, nonatomic) IBOutlet UILabel *l1;@property (retain, nonatomic) IBOutlet UIView *mySteep;@property (retain, nonatomic) IBOutlet UILabel *l4;- (IBAction)myStep:(id)sender;- (IBAction)myButton:(id)sender;- (IBAction)mySwitch:(id)sender;- (IBAction)myIncriment:(id)sender;@endViewController.m
//
// ViewController.m
// InteractionDemo
//
// Created by apple on 05/02/13.
// Copyright (c) 2013 apple. All rights reserved.
//
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
@synthesize l4;
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
self.l3.text=@"0";
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
- (void)dealloc {
[_myStepper release];
[_mySwitch release];
[_myIncrimentor release];
[_l1 release];
[_l2 release];
[_l3 release];
[_mySteep release];
//[_l4 release];
[super dealloc];
}
- (IBAction)myStep:(id)sender {
self.l1.text=[NSString stringWithFormat:@"%.0f",self.myStepper.value];
}
- (IBAction)myButton:(id)sender {
self.l4.text=@"Hello";
}
- (IBAction)mySwitch:(id)sender {
switch (self.mySwitch.on) {
case 0:
self.l2.text=@"OFF";
break;
case 1:
self.l2.text=@"ON";
break;
default:
break;
}
}
- (IBAction)myIncriment:(id)sender {
self.l3.text=[NSString stringWithFormat:@"%.0f",self.myIncrimentor.value];
}
@end
ViewController.xib |
No comments:
Post a Comment