• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
View controllers en iOS
 

View controllers en iOS

on

  • 880 views

Extracto de diapositivas de la clase dedicada a controladores de vistas (ViewControllers) en programación objective-c para iPhone, iPod y iPad. Del curso de iOS en ITMaster Professional Training

Extracto de diapositivas de la clase dedicada a controladores de vistas (ViewControllers) en programación objective-c para iPhone, iPod y iPad. Del curso de iOS en ITMaster Professional Training

Statistics

Views

Total Views
880
Views on SlideShare
880
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    View controllers en iOS View controllers en iOS Presentation Transcript

    • iOSView Controllers Rich Internet Applications · Ajax · Web Services · Mobile · .NET 3.0 Java ME · ActionScript 3.0 · PHP · CSS 3.0 · Flex · Silverlight · Flash Mariano A. Carrizo mariano@itmaster.com.ar 1
    • ViewControllers• CustomViewControllers• Container ViewControllers• Modal ViewControllers
    • Herencias
    • UIViewController
    • UITableViewcontroller
    • UINavigationViewController
    • UITabBarController
    • UISplitViewController
    • Modal ViewController
    • ANATOMÍA DEL VIEWCONTROLLERuiViewController
    • Anatomía del ViewController
    • Presentando un ViewController- (void)displayModalView{MyViewController* vc = [[[MyViewControlleralloc]initWithNibName:@"MyViewController” bundle:nil] autorelease]; [self presentModalViewController:vcanimated:YES];}
    • NavigationController
    • NavigationController
    • NavigationController
    • Anatomía del NavigationController
    • NavigationController- (void)applicationDidFinishLaunching:(UIApplication *)application{UIViewController *rootController = [[MyRootViewControlleralloc] init];navigationController = [[UINavigationControlleralloc]initWithRootViewController:rootController]; [rootController release]; window = [[UIWindowalloc] initWithFrame:[[UIScreenmainScreen] bounds]]; [window addSubview:navigationController.view]; [window makeKeyAndVisible];}
    • Flujo de eventos
    • NavigationBar
    • Propiedades del NavigationBar•barStyle• translucent•tintColor
    • CustomBarButtonItemsUIBarButtonItem *segmentBarItem = [[UIBarButtonItemalloc]initWithCustomView:segmentedControl];self.navigationItem.rightBarButtonItem = segmentBarItem;[segmentBarItem release];
    • ToolBar
    • Modal ViewControllers
    • VIEWCONTROLLERS¡Manos a la obra!