• 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: NSPoint Documentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPoint Documentation


  • Subject: Re: NSPoint Documentation
  • From: Sherm Pendley <email@hidden>
  • Date: Fri, 22 Mar 2002 14:53:32 -0500

NSPoint is a struct in Objective-C. It's implemented as an object in Java because, as far as I know, Java does not have structs.

sherm--

On Friday, March 22, 2002, at 02:26 PM, Daniel Stark wrote:

This may turn out to be a silly question but I have searched the docs and headers on my machine and Apple's site and only find a doc for the java implementation of NSPoint. I am most interested in the method "distanceToPoint" I figured that that method would work in Objective C too so I tried:

afloatvalue = [NSpoint1 distanceToPoint:NSpoint2];

And it couldn't find this method. Is this implemented in objective C? Why can't I find the docs or headers for NSpoint? Of course if it doesn't exist I can do it myself, I just thought that it would be built in as it is in Java.


TIA,
Dan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSPoint Documentation (From: Daniel Stark <email@hidden>)

  • Prev by Date: Re: NSPoint Documentation
  • Next by Date: Re: NSPoint Documentation
  • Previous by thread: Re: NSPoint Documentation
  • Next by thread: Re: NSPoint Documentation
  • Index(es):
    • Date
    • Thread