• 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: Mon, 11 Apr 2005 12:01:38 -0400

Aha, I had instantiated it in the nib file.

Thanks for everyones help!

-dave

On Apr 10, 2005 9:37 PM, mmalcolm crawford <email@hidden> wrote:
>
> On Apr 10, 2005, at 1:56 PM, David Rocamora wrote:
>
> > I believe this is the problem because it is run two times. Once when
> > the program is started and then right after makeWindowControllers is
> > run. This creates two artworks arrays at different addresses.
> >
>
> The most likely reason for this happening is that you have created
> two MyDocument instances.  Have you instantiated a MyDocument
> instance in either the application's main nib file, of in the
> document nib file (do not count the File's Owner in the document nib
> file)?
>
> mmalc
>
>  _______________________________________________
> 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
>
 _______________________________________________
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

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: mmalcolm crawford <email@hidden>)

  • Prev by Date: Launched window not activating
  • Next by Date: Question about relation between File's Owner, First Responder and controller object...
  • Previous by thread: Re: Array Problems
  • Next by thread: NSSlider change event
  • Index(es):
    • Date
    • Thread