FROM : Julien Palmas
DATE : Mon Apr 04 07:27:59 2005
Well, please don't answer to this stupid post.
The answer is obvious :
READ THE DOCS !!!!!!
On Apr 4, 2005, at 1:53 PM, Julien Palmas wrote:
> I've almost finished developing my first document-based application.
>
> During the development stages, I've experiences a lot of situations
> that forced me to rethink my application design. I must say that I am
> in no way a professional programmer.
>
> One of the more annoying things have been the way to refer to the
> instance of NSDocument. My application loads different nibs according
> to the type of file I open, and some of those nibs have buttons that
> trigger actions which would like to access the NSDocument subclass
> instance.
>
> The only workaround I found was to add a reference to the document in
> the nib owner class. And when the nib owner is initialised, by the
> document, I set this reference.
>
> I think this is quite ugly and would like to know if there is another
> way to do so.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/
> julien.<email_removed>
>
> This email sent to julien.<email_removed>
>
DATE : Mon Apr 04 07:27:59 2005
Well, please don't answer to this stupid post.
The answer is obvious :
READ THE DOCS !!!!!!
On Apr 4, 2005, at 1:53 PM, Julien Palmas wrote:
> I've almost finished developing my first document-based application.
>
> During the development stages, I've experiences a lot of situations
> that forced me to rethink my application design. I must say that I am
> in no way a professional programmer.
>
> One of the more annoying things have been the way to refer to the
> instance of NSDocument. My application loads different nibs according
> to the type of file I open, and some of those nibs have buttons that
> trigger actions which would like to access the NSDocument subclass
> instance.
>
> The only workaround I found was to add a reference to the document in
> the nib owner class. And when the nib owner is initialised, by the
> document, I set this reference.
>
> I think this is quite ugly and would like to know if there is another
> way to do so.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/
> julien.<email_removed>
>
> This email sent to julien.<email_removed>
>
| Related mails | Author | Date |
|---|---|---|
| Julien Palmas | Apr 4, 06:53 | |
| Julien Palmas | Apr 4, 07:27 |






Cocoa mail archive

