• 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: And another thing I don't quite understand... ;-)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: And another thing I don't quite understand... ;-)


  • Subject: Re: And another thing I don't quite understand... ;-)
  • From: Matthew Formica <email@hidden>
  • Date: Tue, 08 May 2001 11:07:41 -0700

Just FYI, a new NSToolbar code sample should be up on developer.apple.com
probably sometime tonight or tomorrow. You may find it interesting in your
ongoing NSToolbar development.

Regards,

Matthew Formica
Apple DTS Engineer - Dev Tools and Cocoa
email@hidden

on 5/8/01 8:56 AM, Matt Ridley at email@hidden remarked:

> On Tuesday, May 8, 2001, at 04:37 pm, John Hvrnkvist wrote:
>
>> But returning [toolItems allkeys] is something else --- when
>> you do that you return the keys --- here you're returning the
>> value for the key. It looks like the value for the @"Sample"
>> key is an NSToolbarItem rather than an identifier (which is
>> just a string, IIRC).
>
>> So, try doing this instead:
>> return [NSArray arrayWithObjects:
>> NSToolbarCustomizeToolbarItemIdentifier,@"Sample", nil];
>
> You can be sure that I'm beating myself over the head with a
> large Apple Developer Connection Orientation Kit box. :-)
>
> You're correct, of course. Having already defined the set of
> valid items for the toolbar, I can indeed just pass in @"Sample"
> and it shows the correct one. That was stupid of me.
>
> It works properly now. Thanks very much indeed for your help,
> and for your patience (and the same to the others who responded
> to both my emails today). I'm certainly learning. :-)
>
>
> Very best wishes,
> -Matt
>
> --
> Matt Ridley
> <http://www.mattridley.com/>
> _______________________________________________
> cocoa-dev mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev


  • Follow-Ups:
    • Re: And another thing I don't quite understand... ;-)
      • From: Matt Ridley <email@hidden>
    • Re: And another thing I don't quite understand... ;-)
      • From: Matt Ridley <email@hidden>
References: 
 >Re: And another thing I don't quite understand... ;-) (From: Matt Ridley <email@hidden>)

  • Prev by Date: NSAppleEventManager (id)hanlder
  • Next by Date: Re: NSAppleEventManager (id)hanlder
  • Previous by thread: Re: And another thing I don't quite understand... ;-)
  • Next by thread: Re: And another thing I don't quite understand... ;-)
  • Index(es):
    • Date
    • Thread