• 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
_arrangedObjects not allocated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

_arrangedObjects not allocated


  • Subject: _arrangedObjects not allocated
  • From: Chris Outwin <email@hidden>
  • Date: Tue, 13 Dec 2005 13:26:38 -0600

I am trying to understand why _arrangedObjects for a subclassed NSArrayController has a value of 0x0 in the debugger after addObject is called.

I have a NSImageView which sends add to the custom NSArrayController when an image is dropped.

- (void)add:(id)sender {
BFOSImage* image = [[BFOSImage alloc] init];
if (image != nil) {
[image setInputNSImage:[sender image]];
[self addObject:image];
[image release];

- (void)awakeFromNib {
[self setObjectClass:[BFOSImage class]];

Why are _contentObjectArray and _arrangedObjects shown as not being allocated in the debugger? Thank you.
_______________________________________________
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: _arrangedObjects not allocated
      • From: Chris Outwin <email@hidden>
    • Re: _arrangedObjects not allocated
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: Double Help menus
  • Next by Date: Re: _arrangedObjects not allocated
  • Previous by thread: Re: Aborting NSOutlineView field editor - follow up
  • Next by thread: Re: _arrangedObjects not allocated
  • Index(es):
    • Date
    • Thread