Cocoa: What type of view ?

Discussion in 'Mac Programming' started by MacDonaldsd, Jul 31, 2007.

  1. macrumors 65816

    MacDonaldsd

    Joined:
    Sep 8, 2005
    Location:
    London , UK
    #1
    How would you create a interface like mail ,iTunes where the main window is split in two and you can scale the two section,and indeed hide one section completely ?

    Is that done with an instance of NSDrawer ?
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
  3. thread starter macrumors 65816

    MacDonaldsd

    Joined:
    Sep 8, 2005
    Location:
    London , UK
    #3
    Thanks :D I totally missed that.

    As that was easily solved il hijack my thread and ask one more thing.

    Is there any good tutorials or information on creating a toolbar at the top of an application ?
     
  4. macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #4
    Look at NSToolbar.
     
  5. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #5
    Here's one.

    Personally I created a class that creates the toolbars based on a nice simple little plist file (based on some Apple sample code).

    I've heard talk that there is a drag&drop Interface Builder version in Leopard :)
     
  6. thread starter macrumors 65816

    MacDonaldsd

    Joined:
    Sep 8, 2005
    Location:
    London , UK
    #6
    From the ADC iTunes feed Interface Builder looks a lot better than it is now, so wouldn't supprise me.

    Here's hoping :)
     
  7. macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #7
    Right there is clearly more to it than that, I haven't created toolbars before and it looked simple enough however it seems it was deceptive :eek:. RobbieDuncan's link is far better.
     

Share This Page