• 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: Crash with ARC enabled on Xcode 6.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash with ARC enabled on Xcode 6.1


  • Subject: Re: Crash with ARC enabled on Xcode 6.1
  • From: "Glenn L. Austin" <email@hidden>
  • Date: Fri, 24 Oct 2014 14:10:20 -0700

> On Oct 24, 2014, at 11:44 AM, Beinan Li <email@hidden> wrote:
>
> BTW, simply changing the offending dictionary syntax to using the old API
> instead of the literals didn't help.
> I really had to abandon the singleton idea for the C++ wrapper object.

Static objects -- of any kind -- can lead to hard-to-diagnose problems.

While it's not *necessarily* a bad idea to have objects allocated at launch time, it does lead to slower launch times, lack of control over initialization (and destruction) order, and often significant increases in memory usage at launch time.

--
Glenn L. Austin, Computer Wizard and Race Car Driver         <><
<http://www.austinsoft.com>


_______________________________________________

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


  • Follow-Ups:
    • Re: Crash with ARC enabled on Xcode 6.1
      • From: Beinan Li <email@hidden>
References: 
 >Crash with ARC enabled on Xcode 6.1 (From: Beinan Li <email@hidden>)
 >Re: Crash with ARC enabled on Xcode 6.1 (From: David Duncan <email@hidden>)
 >Re: Crash with ARC enabled on Xcode 6.1 (From: Beinan Li <email@hidden>)
 >Re: Crash with ARC enabled on Xcode 6.1 (From: Beinan Li <email@hidden>)
 >Re: Crash with ARC enabled on Xcode 6.1 (From: Kevin Meaney <email@hidden>)
 >Re: Crash with ARC enabled on Xcode 6.1 (From: Beinan Li <email@hidden>)
 >Re: Crash with ARC enabled on Xcode 6.1 (From: Kevin Meaney <email@hidden>)
 >Re: Crash with ARC enabled on Xcode 6.1 (From: Beinan Li <email@hidden>)
 >Re: Crash with ARC enabled on Xcode 6.1 (From: Kevin Meaney <email@hidden>)
 >Re: Crash with ARC enabled on Xcode 6.1 (From: Beinan Li <email@hidden>)
 >Re: Crash with ARC enabled on Xcode 6.1 (From: Beinan Li <email@hidden>)

  • Prev by Date: Re: Crash with ARC enabled on Xcode 6.1
  • Next by Date: Re: Predicate warning from text view
  • Previous by thread: Re: Crash with ARC enabled on Xcode 6.1
  • Next by thread: Re: Crash with ARC enabled on Xcode 6.1
  • Index(es):
    • Date
    • Thread