Re: CA_DEBUG_TRANSACTIONS=1
Re: CA_DEBUG_TRANSACTIONS=1
- Subject: Re: CA_DEBUG_TRANSACTIONS=1
- From: John MacMullin <email@hidden>
- Date: Thu, 06 Sep 2012 09:09:18 -0700
More or less.
It appears that since the documentation in NSBundle does not state that its thread safe, it isn't.
From Core Animation tho, it would appear that executing a CATransaction flush may have resolved my original message, but perhaps not the problem.
If I read this correctly, this updates the layers, which wouldn't otherwise be updated on a background thread.
It would seem that if I call a non-thread safe function in a background thread, i.e., from an NSOperationQueue, that a compile or other error should result.
On Sep 5, 2012, at 5:48 PM, Kyle Sluder <email@hidden> wrote:
> On Sep 5, 2012, at 5:13 PM, John MacMullin <email@hidden> wrote:
>
>> Ok, that was it. I loaded [NSBundle loadNibNamed:XXX] in a background thread.
>>
>> Fixing that problem resolved the message.
>
> Did the process of fixing it also illuminate other areas you seem to be hazy on, such as how Core Animation works, why loading nibs on background threads is always incorrect, and how the debugger fits into the Xcode edit/compile/debug cycle?
>
> --Kyle Sluder
Best regards,
John MacMullin
_______________________________________________
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