• 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: What difference exist from where a method will be called?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >What difference exist from where a method will be called? (From: Raimond Hettrich <email@hidden>)

  • Prev by Date: Re: How to silently use Proxy authentication credentials from Keychain, like Safari, Mail, etc.
  • Next by Date: Re: C callbacks with NSNotificationCenter?
  • Previous by thread: What difference exist from where a method will be called?
  • Next by thread: Re: What difference exist from where a method will be called?
  • Index(es):
    • Date
    • Thread