FROM : Mark Teagarden
DATE : Thu Mar 06 19:23:47 2008
Hi,
Is there an order I should use when I'm creating a new object and defining
its outlets? Should I create the class in Xcode, hard-code the IBOutlets in
the header file, and then instantiate it in Interface Builder and ctrl-click
everything together? Or should I create the class in Xcode, then
instantiate, create outlets, and ctrl-click everything in IB? If I make
changes in header files etc, do I need to do anything special to the
instances in IB, or will they reflect changes I've made automatically?
My concern is that when I use IB to create outlets, then go back to xcode
and add IBOutlets in the header file, that it's causing some kind of
conflict - I've been getting weird errors to do with setting IBOutlet. It's
all the more difficult because I'm using Hillegass to learn but I'm coding
with Xcode 3.
Thanks,
Mark
DATE : Thu Mar 06 19:23:47 2008
Hi,
Is there an order I should use when I'm creating a new object and defining
its outlets? Should I create the class in Xcode, hard-code the IBOutlets in
the header file, and then instantiate it in Interface Builder and ctrl-click
everything together? Or should I create the class in Xcode, then
instantiate, create outlets, and ctrl-click everything in IB? If I make
changes in header files etc, do I need to do anything special to the
instances in IB, or will they reflect changes I've made automatically?
My concern is that when I use IB to create outlets, then go back to xcode
and add IBOutlets in the header file, that it's causing some kind of
conflict - I've been getting weird errors to do with setting IBOutlet. It's
all the more difficult because I'm using Hillegass to learn but I'm coding
with Xcode 3.
Thanks,
Mark
| Related mails | Author | Date |
|---|---|---|
| Mark Teagarden | Mar 6, 19:23 | |
| Adam P Jenkins | Mar 6, 21:40 |






Cocoa mail archive

