Page 1 of 1
PB Mac OSX API examples
Posted: Fri Jul 06, 2007 4:25 am
by singo
Hi,
Can anyone post Mac OSX pb examples that use the Mac API ? The more the better.
I need help getting started with this, I have a nearly finished simple x-platform game that needs some API calls.
Is there something like the Win32 help file for the Mac ?
I have ADSL at work, but I do most of my coding at home and can only get dial-up (I live on acres in the aussie bush).
So a reference I did not have to use on-line would be a real help.
Thanks
Singo
Posted: Fri Jul 06, 2007 3:01 pm
by Fluid Byte
This would be interesting to know. I recently got a MacBook Pro and just asked myself if theres anything like the PSDK for Mac OS?
Posted: Fri Jul 06, 2007 3:58 pm
by Kale
PB Mac OSX API examples
Posted: Fri Jul 06, 2007 10:07 pm
by singo
These posts are what I was looking for BUT useless as
The first is quite a long conversation with Fred that is totally unsuccessful
and
The second, which did mention instructions and samples, you can't download because of a URL that now leads to a portal and no download.
IMO

it is the existing user base of Win & Linux PB users who can drive the development of the Mac version, me for one want to do x-platform development, all the libraries for Win *might* start getting converted if there were clear written instructions on how to do api calls with a couple of samples and "for dummies" instructions.
Anyone want to help ? Where can I now find this, did anyone download it who can post it somewhere ?
There is an simple example project in the download package
----------------------------------------------------
http://www.xhtmlsoft.com/pb/downloads/
----------------------------------------------------
There is also instructions in the download package.
Enjoy,
SEO
Singo
I guess I'm keen because I'm on 24k dialup

Posted: Tue Jul 24, 2007 2:36 pm
by Fluid Byte
So there's nothing like the PSDK or MSDN.com for Macintosh? Apple does have an API tough, does it?

Posted: Tue Jul 24, 2007 2:52 pm
by Progi1984
Posted: Tue Jul 24, 2007 2:54 pm
by Fluid Byte
Thanks a bunch!
Posted: Tue Jul 24, 2007 3:58 pm
by localhero
Just found out that if you choose 'help/documentation' from the Xcode tools menu you get the list of all the Apple API reference docs (including the carbon library). If you then choose 'API Search' from the top right search box you get a list of all the functions/types/ constants/macros available. The syntax is just a double click away for each item.
Posted: Tue Jul 24, 2007 4:25 pm
by Fluid Byte
Precious hint, thanks mate.

Re: PB Mac OSX API examples
Posted: Tue Oct 26, 2010 10:33 am
by singo
I now have a Intel as well as a PowerPC Mac, so will be trying to make all my code work on both Mac & Win platforms.
Thanks for the info, now we just need a few examples posted...
Singo
Nabiac, Australia
Re: PB Mac OSX API examples
Posted: Tue Oct 26, 2010 12:18 pm
by jamirokwai
Hi there,
WilliamL compiled some API-Examples for Mac OS X.
You may find it here:
http://www.purebasic.fr/english/viewtopic.php?t=43583
Re: PB Mac OSX API examples
Posted: Wed Oct 27, 2010 11:07 am
by singo
Thanks JamiroKwai thats just what I need to get started! and thanks to WilliamL for making the list