Hi there,
i have a whole lot of NIB objects and they are all have their Referencing Outlets going to somewhere.
when i run the program the program crashes on start up because the IBOutlet id objects appear to be nil
at least that's what i gather from the error message that's being printed out (and it only prints out something if i print out something that totally unrelated to the error message)
here's the stupid thing though...
in ClassA if i point the reference outlet of say a slider to an IBOutlet id the program runs fine and everything works
in ClassB if i point the reference outlet of the SAME slider to the IBOutlet id (and remove the old reference outlet) the program crashes as soon as it tries to access that object
it doesn't make any sense, because the NIB Objects respond to the IBAction methods quite nicely... they just don't respond to the IBOutlet ids...
what am i missing in ClassB so that all the objects of type IBOutlet id aren't nil?
i have a whole lot of NIB objects and they are all have their Referencing Outlets going to somewhere.
when i run the program the program crashes on start up because the IBOutlet id objects appear to be nil
at least that's what i gather from the error message that's being printed out (and it only prints out something if i print out something that totally unrelated to the error message)
here's the stupid thing though...
in ClassA if i point the reference outlet of say a slider to an IBOutlet id the program runs fine and everything works
in ClassB if i point the reference outlet of the SAME slider to the IBOutlet id (and remove the old reference outlet) the program crashes as soon as it tries to access that object
it doesn't make any sense, because the NIB Objects respond to the IBAction methods quite nicely... they just don't respond to the IBOutlet ids...
what am i missing in ClassB so that all the objects of type IBOutlet id aren't nil?