• 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
Re: Array Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Array Problems


  • Subject: Re: Array Problems
  • From: David Rocamora <email@hidden>
  • Date: Sun, 10 Apr 2005 19:22:56 -0400

Serge,

> But what method is calling init in each case? What code do you have in
> makeWindowControllers: ?

I guess I'm not sure how to figure that out with the debugger. Nothing
I wrote calls init. How can i determine this?

> Your document object isn't being loaded from a nib file, so
> awakeFromNib: is not getting called. Like I said above, I think the
> method you want is windowControllerDidLoadNib:.

Using breakpoints in the debugger I have found that
windowControllerDidLoadNib: does not run but awakeFromNib: is called
everytime a new document is created.

> If you look at "self" in the debugger, I have a feeling you'll find
> that the "artworks" objects are not the same because the document
> objects are not the same.

I do find this in the debugger. artworks is different because there
are different document objects. But shouldn't dataRepresentationOfType
be dealing with the same document object?

Thanks again,
Dave
 _______________________________________________
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: Array Problems
      • From: Serge Meynard <email@hidden>
References: 
 >Array Problems (From: David Rocamora <email@hidden>)
 >Re: Array Problems (From: Serge Meynard <email@hidden>)
 >Re: Array Problems (From: David Rocamora <email@hidden>)
 >Re: Array Problems (From: Serge Meynard <email@hidden>)
 >Re: Array Problems (From: David Rocamora <email@hidden>)
 >Re: Array Problems (From: Serge Meynard <email@hidden>)

  • Prev by Date: RE: NSArrayController not calling insertObject
  • Next by Date: Re: Array Problems
  • Previous by thread: Re: Array Problems
  • Next by thread: Re: Array Problems
  • Index(es):
    • Date
    • Thread