• 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: Toolbar with capsule style items (Similiar to Mail)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toolbar with capsule style items (Similiar to Mail)


  • Subject: Re: Toolbar with capsule style items (Similiar to Mail)
  • From: Stamenkovic Florijan <email@hidden>
  • Date: Fri, 16 Oct 2009 08:35:14 -0400

On Oct 15, 2009, at 13:39, Mazen Abdel-Rahman wrote:

Hi All,

I am new at programming with Cocoa -  so  I had a basic question.

Is it possible to create a capsule style toolbar with a search field in it (like how Mail's toolbar is) just using interface building to create the UI? And if so - how would it be done?

I am trying to create by first dragging a Toolbar item to the window. When I try to put a segmented control or a search control in the toolbar it gets rejected.

If I understand you correctly you are dragging things into the toolbar itself, on the window. What you need to do is first double click the toolbar. This will bring up a sheet similar to what you get when customizing the toolbar in whichever app. You drag toolbar elements into that sheet from the IB palettes. Then, to customize the toolbar itself, you drag items from the sheet into the toolbar area of your window.


F
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Toolbar with capsule style items (Similiar to Mail) (From: Mazen Abdel-Rahman <email@hidden>)

  • Prev by Date: Re: GC crash due to being naughty
  • Next by Date: NSInvocationOperations and background Threads
  • Previous by thread: Toolbar with capsule style items (Similiar to Mail)
  • Next by thread: How to detect and disable/delay sleep event in cocoa for some critical threads to complete
  • Index(es):
    • Date
    • Thread