Interface builder & iphone sdk


/ Published in: Objective C
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  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

You need to login to post a comment.