Create a custom view from a nib

Discussion in 'iOS Programming' started by JohnGaby, Nov 21, 2009.

  1. macrumors newbie

    Joined:
    Nov 16, 2009
    #1
    I know how to create a view from a nib using UIViewController. What I want to do is create a view from a nib which uses my own custom class (which is based on UIView, of course).

    Is such a thing possible?

    Thanks
     
  2. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    Look into using NSBundle's loadNibNamed: owner: options: instance method.
     
  3. thread starter macrumors newbie

    Joined:
    Nov 16, 2009

Share This Page