• 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: Accessing a property of a view via its controller doesn't work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing a property of a view via its controller doesn't work


  • Subject: Re: Accessing a property of a view via its controller doesn't work
  • From: Greg Weston via Cocoa-dev <email@hidden>
  • Date: Sat, 4 Sep 2021 23:32:29 -0400

> I access the window of a view by two different ways, in the controller and in
> the view, resp., and in the controller, I always get a nil pointer.

Have you verified that the view you’re accessing in the controller is the same
instance as the one that works?
_______________________________________________

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

  • Prev by Date: Re: Accessing a property of a view via its controller doesn't work
  • Next by Date: Re: Accessing a property of a view via its controller doesn't work
  • Previous by thread: Re: Accessing a property of a view via its controller doesn't work
  • Next by thread: Quick and dirty alignment grid.
  • Index(es):
    • Date
    • Thread