NSView and NSViewControllers: Loading NIBS inside NSView's?

Discussion in 'Mac Programming' started by Yellowstone2012, Jul 9, 2011.

  1. Yellowstone2012 macrumors regular

    Joined:
    Feb 3, 2011
    #1
    I would like to know if its possible to load a NIB inside a Custom View via a NSViewController.
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Assuming the nib contains a view that is made accessible by the view controller then yes, you can easily add that view as a subview of any other view.
     
  3. Yellowstone2012 thread starter macrumors regular

    Joined:
    Feb 3, 2011
    #3
    Thanks. Its possible to switch ViewControllers via button clicks, right?

    Is there any information surrounding this topic?

    Thanks.
     

Share This Page