Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

moonman239

Cancelled
Original poster
Mar 27, 2009
1,541
32
I'm looking to create a wrapper for Mac OS X's Location Services in pure C++. If I can do that, then I can create a Python module or a Ruby gem for accessing location services.

I have not found any information on this.
 
Look at RubyCocoa. You should be able to skip a few steps and use LocationServices more directly from ruby.

-Lee
 
In one of our projects We have used 'C' functions to talk to 'Objective C' functions to do the Mac UI stuff.
From C++ layer we just invoke the C functions.
 
Does anyone know if I can rely on .mm files to create relays between Objective-C and C++?
 
Does anyone know if I can rely on .mm files to create relays between Objective-C and C++?

A .mm file is Objective-C++. You should look it up if you're not sure what that means. For example:
http://en.wikipedia.org/wiki/Objective-C++#Objective-C.2B.2B

There are more extensive references on Apple's developer website, but you might need to search outside of Apple to find older references.


I don't understand what you mean by "relays", at least in the context of Objective-C++.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.