• 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: Re: Re: inconsistent crash drawing a string in a custom browser cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Re: inconsistent crash drawing a string in a custom browser cell


  • Subject: Re: Re: Re: inconsistent crash drawing a string in a custom browser cell
  • From: Graham <email@hidden>
  • Date: Wed, 7 Jun 2006 18:28:36 -0400

I added the code to run the draw in the main thread, but the app can still be made to crash in exactly the same place.
Now I've been reading the threading guidelines and it states that NSMutableAttributedString is not thread safe and I am allocating and initializing these in my secondary threads, though no single instance of one is ever accessed across more than one thread so I am assuming this is OK. Or is that these non-thread-safe classes should not be used at all in secondary threads or must be synced in some way? the 'header' string in my cells is a NSMutableAttributedString. I just alloc and init it. Each cell has it's own.
_______________________________________________
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: inconsistent crash drawing a string in a custom browser cell
      • From: Aki Inoue <email@hidden>
  • Prev by Date: Re: Re: Re: inconsistent crash drawing a string in a custom browser cell
  • Next by Date: Re: not seeing NSNotification
  • Previous by thread: Re: Re: Re: inconsistent crash drawing a string in a custom browser cell
  • Next by thread: Re: inconsistent crash drawing a string in a custom browser cell
  • Index(es):
    • Date
    • Thread