• 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: A rant and a question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A rant and a question...


  • Subject: Re: A rant and a question...
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 25 Jul 2006 11:21:56 -0400


My humble apologies to you, Brad - I should've looked up the "previous posting" I mentioned in my previous post before posting. Fredrik Olsson was the one who recently posted about this (today, even). I assumed (given the lack of details of your difficulty) it was a continuation of that previous post.


Perhaps your problem is different? If so, as Shawn asked, what specific problems are you having?

--
I.S.


On Jul 25, 2006, at 10:57 AM, Brad Bumgarner wrote:

-(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:
40gmail.com


This email sent to email@hidden

_______________________________________________ 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
References: 
 >A rant and a question... (From: Brad Bumgarner <email@hidden>)

  • Prev by Date: Re: A rant and a question...
  • Next by Date: Re: A rant and a question...
  • Previous by thread: Re: A rant and a question...
  • Next by thread: Re: A rant and a question...
  • Index(es):
    • Date
    • Thread