• 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: Cocoa Bindings Question(s)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Bindings Question(s)


  • Subject: Re: Cocoa Bindings Question(s)
  • From: John Tsombakos <email@hidden>
  • Date: Fri, 16 Jul 2004 23:39:06 -0400

On Jul 16, 2004, at 11:34 PM, mmalcolm crawford wrote:

>
> On Jul 16, 2004, at 8:12 PM, email@hidden wrote:
>> Yeah, I thought of that too. I added
>> booksList = [[NSMutableArray alloc] init];
>> to the init method of the MyDocument class. Two things - I don't
>> believe I did
>> that on the other system earlier
>
> Was the array controller's "Automatically prepares content" switch set?
>
No, it is not set. I'm not sure if it was on the other. I tried turning
it on and get the same error.

>> and when I do and run the app, when I click Add, it now errors with
>> "Bibliotecha has exited due to signal 10 (SIGBUS)."
>
> Assuming you have not implemented the indexed acessors, do you have
> suitable accessor methods for booksList (to ensure it's retained when
> it's set)?
>

These are the accessors:

- (NSMutableArray *)booksList
{
return booksList;
}

- (void) setBooksList:(NSMutableArray *)newBooks
{
[booksList autorelease];
booksList = newBooks;
}

(patterened after several examples)

Thanks for all the help.

> mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Cocoa Bindings Question(s)
      • From: mmalcolm crawford <email@hidden>
References: 
 >Re: Re: Cocoa Bindings Question(s) (From: <email@hidden>)
 >Re: Cocoa Bindings Question(s) (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Cocoa Bindings Question(s)
  • Next by Date: Re: threads in Xcode
  • Previous by thread: Re: Cocoa Bindings Question(s)
  • Next by thread: Re: Cocoa Bindings Question(s)
  • Index(es):
    • Date
    • Thread