• 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: Which frameworks to link against to use Address Book APIs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Which frameworks to link against to use Address Book APIs? (From: Matt Gemmell <email@hidden>)

  • Prev by Date: Re: AddressBook - ABMultiValue
  • Next by Date: Executable into bundle?
  • Previous by thread: Re: Which frameworks to link against to use Address Book APIs?
  • Next by thread: Executable into bundle?
  • Index(es):
    • Date
    • Thread