A rant and a question...
A rant and a question...
- Subject: A rant and a question...
- From: Brad Bumgarner <email@hidden>
- Date: Tue, 25 Jul 2006 08:57:51 -0600
-(void)rantAboutCurrentProject {
If you aren't interested in my rant then please skip down to the next
"method.";
I have been working on one aspect of this "simple" project for months
now. Literally MONTHS! I want to replicate the "To:" token field
behavior as it is done in Mail.app. I want to be able to type a
person's name, first name first --or-- last name first, --or-- type
in a company name and have a menu of all available matches displayed
and narrowed down as typing continues. I first approached this using
AppleScript Studio as that is where I've been most comfortable for
years. I discovered that I needed to use NSTokenFields. AppleScript
Studio doesn't directly support token fields. So I decided this was a
perfect opportunity/reason to learn Objective-C/Cocoa. I now have a
good (not great) grasp of writing obj-c code. I "live" in the
documentation. I've gotten pretty good at finding what I need to
accomplish the task at hand. Yet, I still haven't been able to
replicate the behavior want. Currently I have 2 classes, a dozen or
so methods involved, arrays, mutable arrays, sets, mutable sets,
strings, booleans, monkeys at typewriters, poodles in tutus and even
a kitchen sink involved. And I still haven't accomplished my goal!
Either I'm making this MUCH harder than it should be or the Address
Book framework sucks! (It's also possible that I'm a moron, but I'm
going to withhold judgement on that for now. lol);
Thank you, I feel MUCH better;
}
-(NSAnswer)myQuestion: (CocoaDevGroup *)group {
Is trying to replicate Mail.app's "To:" token field really as
difficult as it has proven itself to be to me or am I missing
something really basic here?;
return anAnswerPlease;
}
Thanks,
Brad Bumgarner, CTA
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden