Re: What difference exist from where a method will be called?
Re: What difference exist from where a method will be called?
- Subject: Re: What difference exist from where a method will be called?
- From: Jens Alfke <email@hidden>
- Date: Wed, 07 Sep 2016 14:01:04 -0700
> On Sep 7, 2016, at 1:18 PM, Raimond Hettrich <email@hidden> wrote:
>
> Now when this method will be called by a button press the array will be printed out correctly.
...
> But if the method will be called from the drawRect method, the array will be printed out without the contend.
Then in the drawRect method the array must be empty. Maybe it’s not the same array instance. Try setting a breakpoint and inspecting it in the debugger.
—Jens
_______________________________________________
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