> On Sep 7, 2016, at 1:18 PM, Raimond Hettrich <sa...@onlinehome.de> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com