• 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: bug in AddressBook Framework headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in AddressBook Framework headers


  • Subject: Re: bug in AddressBook Framework headers
  • From: Henri Lamiraux <email@hidden>
  • Date: Sun, 16 Feb 2003 15:16:26 -0800

You are not correct in your assessment. There is no bug there. Home is home for whatever type of property. What is different between ICQ and AIM is the property (kABICQInstantProperty vs kABAIMInstantProperty). A label should always be associated with the property it is coming from. Don't forget that a user can use any labels he/she wants. I can create a card in AddressBook with the label "Vacation Home" for a phone, email, street address, etc... What is important is the property.

Henri Lamiraux
UITools Engineering Manager
Apple Computer, Inc.

On Saturday, February 15, 2003, at 03:12 PM, Karl Kuehn wrote:

I have found a bug in the AddressBook Framework headers. It seems all of the kAB labels for instant messaging are defined either as kABICQHomeLabel or kABICQWorkLabel. As the Addressbook is able to distinguish between the different types, my guess is that the header files are just screwed up.
I have upgraded to 10.2.4, so there is a possibility of a mis-match in my headers that could be causing this problem. But I was wondering if anyone has a better idea, or a solution for me. I am including a trivial program demonstrating the problem. On my system I get "this is a problem".
If I am correct in my assessment, anyone know how I could get the correct headers? And where should I then report this? I would really like to keep going on this project... and this is a roadblock for part of the project.

Karl Kuehn
email@hidden

#import <Foundation/Foundation.h>
#import <AddressBook/AddressBook.h>
#include <stdio.h>

int main (int argc, const char * argv[]) {
if ([kABMSNHomeLabel compare:kABICQHomeLabel] == NSOrderedSame) {
printf("this is a problem\n");
}
}
_______________________________________________
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: 
 >bug in AddressBook Framework headers (From: Karl Kuehn <email@hidden>)

  • Prev by Date: Re: Shared Memory and Distributed Objects
  • Next by Date: FW: NSString is cutting off characters
  • Previous by thread: Re: bug in AddressBook Framework headers
  • Next by thread: Re: bug in AddressBook Framework headers
  • Index(es):
    • Date
    • Thread