• 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: Suggestions for debugging “EXC_BAD_ACCESS” [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestions for debugging “EXC_BAD_ACCESS” [SOLVED]


  • Subject: Re: Suggestions for debugging “EXC_BAD_ACCESS” [SOLVED]
  • From: Graham Cox <email@hidden>
  • Date: Sat, 26 Sep 2009 09:52:46 +1000


On 26/09/2009, at 9:46 AM, Bob Barnes wrote:

I'm concluding (perhaps incorrectly) that using buttonWithType: doesn't grant 'object ownership' in the same way that alloc does.


I'd say that was true, since 'buttonWithType:' doesn't contain the words 'new', 'alloc', 'create', 'retain' or 'copy'.

See here:

file:///Developer/Documentation/DocSets/com.apple.adc.documentation.AppleSnowLeopard.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmObjectOwnership.html

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Suggestions for debugging “EXC_BAD_ACCESS” (From: Bob Barnes <email@hidden>)
 >Re: Suggestions for debugging “EXC_BAD_ACCESS” (From: Greg Parker <email@hidden>)
 >Re: Suggestions for debugging “EXC_BAD_ACCESS” [SOLVED] (From: Bob Barnes <email@hidden>)

  • Prev by Date: Re: Suggestions for debugging “EXC_BAD_ACCESS” [SOLVED]
  • Next by Date: Re: Disappearing NSStatusItem
  • Previous by thread: Re: Suggestions for debugging “EXC_BAD_ACCESS” [SOLVED]
  • Next by thread: Re: Suggestions for debugging “EXC_BAD_ACCESS” [SOLVED]
  • Index(es):
    • Date
    • Thread