Re: bug in AddressBook Framework headers
Re: bug in AddressBook Framework headers
- Subject: Re: bug in AddressBook Framework headers
- From: Vince DeMarco <email@hidden>
- Date: Sun, 16 Feb 2003 08:31:51 -0800
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");
}
}
Why do you consider this a problem??? its just an implementation detail
that the two strings are actually the samething.
vince
_______________________________________________
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.