• 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
Initial project shell and handling of window pointer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Initial project shell and handling of window pointer


  • Subject: Initial project shell and handling of window pointer
  • From: Phil Hystad <email@hidden>
  • Date: Sun, 03 Jul 2011 10:49:16 -0700

I am not sure if this is a question for Cocoa-dev or for Xcode.

I just started playing around with iOS 4 and Xcode 4.  Learning the ropes of the new Xcode I see a difference in how the project templates are used to create a simple Cocoa window app in iOS versus Mac OS X.

With iOS, the app delegate handler code .h file does not declare the window pointer variable which I see is prefixed with an underscore as in _window.

With Mac OS X, the app delegate handler .ht file does indeed create an instance variable for window and it does not have the prepended underscore.

Can someone describe why this was done (differently) if there is a purpose to this?  Where is the _window instance variable created?

Thanks,
phil_______________________________________________

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

  • Follow-Ups:
    • Re: Initial project shell and handling of window pointer
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Leak
  • Next by Date: Re: Initial project shell and handling of window pointer
  • Previous by thread: Leak
  • Next by thread: Re: Initial project shell and handling of window pointer
  • Index(es):
    • Date
    • Thread