• 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: Novice: signal 10 memory errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Novice: signal 10 memory errors


  • Subject: Re: Novice: signal 10 memory errors
  • From: David Sinclair <email@hidden>
  • Date: Sat, 2 Aug 2003 17:30:34 -0700

On Saturday, Aug 2, 2003, at 17:15 US/Pacific, Michael Hanna wrote:

Hello, it seems that when I try to get the count from an NSArray I get signal 10 errors, near the conclusion of my awakeFromNib method:
[...]
NSLog(@"lineArray count: %@", [lineArray count]); // ***** signal 10 error here

-count returns an integer, not an object. So use %d in the NSLog string instead.

--

David Sinclair, Dejal Systems, LLC - email@hidden

Let Dejal Simon keep an eye on your sites for changes or failures!
http://www.dejal.com/simon/
_______________________________________________
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.

References: 
 >Novice: signal 10 memory errors (From: Michael Hanna <email@hidden>)

  • Prev by Date: Novice: signal 10 memory errors
  • Next by Date: NSScanner problem...
  • Previous by thread: Novice: signal 10 memory errors
  • Next by thread: Re: Problem creating an NSButton subclass in Java
  • Index(es):
    • Date
    • Thread