Posted By

buscarini on 03/28/08


Tagged

cocoa iphone


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

Leech
umang_nine
cnathan


Interface builder & iphone sdk


 / Published in: Objective C
 

Para usar el interface builder con el iphone hay que crear una vista o una ventana, guardarla dentro del proyecto, y meter esta lĂ­nea en appdelegate en applicationDidFinishLaunching.

  1. La ventana:
  2. self.window = [[[NSBundle mainBundle] loadNibNamed:@"MyView" owner:self options:nil] objectAtIndex:0];
  3.  
  4. La vista:
  5. self.contentView = [[[NSBundle mainBundle] loadNibNamed:@"MyView" owner:self options:nil] objectAtIndex:0];

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Leech on September 17, 2008

Gracias por la ayuda.

You need to login to post a comment.