• 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
NSVector, CGVector Additions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSVector, CGVector Additions


  • Subject: NSVector, CGVector Additions
  • From: Stefan Hafeneger <email@hidden>
  • Date: Sun, 6 Apr 2008 20:22:24 +0200

Hi,

I made a NSVector struct inclusive the typical methods. I adopted the style of the existing NSPoint, NSSize and NSRect structs and also made a CGVector struct. It would be nice if someone could have a look on that code and perhaps improve it. Everybody may use that code for own projects. I made it as a NSGeometry Addition, so I think the best way is to include the header file in the _Prefix.pch so the new types are available everywhere.

With best wishes, Stefan

PS: I know there is a CIVector class but this class is read only.

Attachment: NSVector.zip
Description: Zip archive


_______________________________________________

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: NSVector, CGVector Additions
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: Delegate not getting called for CATiledLayer
  • Next by Date: Re: How do I embed a font in an app?
  • Previous by thread: Re: Saving AttributedString with Attachments to RTFD
  • Next by thread: Re: NSVector, CGVector Additions
  • Index(es):
    • Date
    • Thread