Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Help > Help with Deleg...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 3712 of 3795
Post > Topic >>

Help with Delegates and File's Owner

by Cory <cory.imdieke@[EMAIL PROTECTED] > Apr 18, 2008 at 08:42 PM

Hello, I'm a new Mac App Programmer used to Java and a little bit of C+
+, and I'm trying to wrap my mind around Delegates. How do they work,
what are they for, etc? Could anyone give me a basic run-down of them
and how to use them? Is an AppDelegate the same basic concept of an
AppController, with a bunch of methods that can be called from any Nib
in the application?

The other basic concept that I'm not too firm on is the File's Owner
in a nib file. What exactly does it point to, and what defines what it
is? If I open another window from a method in my AppController with a
button in my Main nib file, is the new window's File's Owner my
AppController, or the window that called the method in the
AppController? What's the Owner of the Main nib?

I have a alright idea of Outlets and so on, basically a way to access
an object instance in a nib file from code, is that the basic idea?

Thanks for answering my pretty basic questions!
 




 4 Posts in Topic:
Help with Delegates and File's Owner
Cory <cory.imdieke@[EM  2008-04-18 20:42:46 
Re: Help with Delegates and File's Owner
David Phillip Oster <o  2008-04-19 11:44:30 
Re: Help with Delegates and File's Owner
Sherman Pendley <spamt  2008-04-19 16:12:17 
Re: Help with Delegates and File's Owner
Cory <cory.imdieke@[EM  2008-04-19 22:27:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 17:55:57 CDT 2008.