• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Newbie: Problem with second nib.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie: Problem with second nib.


  • Subject: Newbie: Problem with second nib.
  • From: Marcus Pedersén <email@hidden>
  • Date: Sun, 17 Sep 2006 14:09:33 +0200

Hi!
I have made a second nib and when I send messages to the controller class nothing happens.


cont = [[nibController alloc] init];
  if (![NSBundle loadNibNamed:@"secondNib" owner:cont]) {
   NSLog(@"Error loading Nib for document!");
  }
  else{
  [cont hideDateTime: YES];
  };

In the method hideDateTime: BOOL, I hide a couple of NSTextFields but this does not happen with the above code. If I asign a button in my secondNib the same call to hideDateTime: it works fine.
I can not get the hang of it.


Please, help!

Many thanks!

Marcus
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Newbie: Problem with second nib.
      • From: Tommy Nordgren <email@hidden>
  • Prev by Date: Re: sizeof short int
  • Next by Date: Internal Compiler error: Bus error
  • Previous by thread: PathContainsPoint functionality incomplete
  • Next by thread: Re: Newbie: Problem with second nib.
  • Index(es):
    • Date
    • Thread