• 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
Newbie question about _NSSize and NSSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie question about _NSSize and NSSize


  • Subject: Newbie question about _NSSize and NSSize
  • From: "Frank Bettger" <email@hidden>
  • Date: Mon, 27 Aug 2007 13:43:43 +0200

In Hillegass book there is a challenge in chapter 5. It says

The second argument is a C struct that contains the size that the user has
asked for:

typedef struct _NSSize {
    float width;
    float height;
} NSSize;

If I understand the construction above NSSize is just another name for
_NSSize. My question is what's the   purpose of giving two nearly identical
names for a structure?
_______________________________________________

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: Newbie question about _NSSize and NSSize
      • From: Alastair Houghton <email@hidden>
    • Re: Newbie question about _NSSize and NSSize
      • From: "Paulo F. Andrade" <email@hidden>
  • Prev by Date: Re: NSWindowDidChangeScreenProfileNotification not working
  • Next by Date: Re: Newbie question about _NSSize and NSSize
  • Previous by thread: Re: NSWindowDidChangeScreenProfileNotification not working
  • Next by thread: Re: Newbie question about _NSSize and NSSize
  • Index(es):
    • Date
    • Thread