Re: Which frameworks to link against to use Address Book APIs?
Re: Which frameworks to link against to use Address Book APIs?
- Subject: Re: Which frameworks to link against to use Address Book APIs?
- From: Ondra Cada <email@hidden>
- Date: Tue, 27 Aug 2002 23:36:29 +0200
On Tuesday, August 27, 2002, at 10:51 , Matt Gemmell wrote:
What have I done wrong?
Here's the code:
ABAddressBookRef AB = ABGetSharedAddressBook();
ABAddressBook *AB = [ABAddressBook sharedAddressBook];
...
Well I don't know the API, having no Jaguar myself yet, but this looks
*definitely* weird! First, looks like a strange mix of non-OO and OO API;
besides, you declare one variable twice, different way.
And a sidenote -- don't use variables which begin by an uppercase. That's
reserved for classes and constants.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.