Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8291501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T13:09:04+00:00 2026-06-08T13:09:04+00:00

Can a UIPickerView load a specific .nib / .xib file from code or UI

  • 0

Can a UIPickerView load a specific .nib/.xib file from code or UI Interface Designer? Or is there something else I need to use? I’ve been Googling around for a tutorial on how to do this, and everything I’ve found so far has been using static content examples (such as colors, countries, dates, etc.) which are meant to be selected, but not necessarily transitioned to from one place to another.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T13:09:07+00:00Added an answer on June 8, 2026 at 1:09 pm

    Create a NSDictionary with user selectable strings as keys and then strings of the name of the class/nib you want to instantiate.

    When the user selects an option, then you can pull out the code name, and then load the appropriate bundle.

    UINib *nib = [UINib nibWithNibName:theString bundle:whatever];
    

    If instead you wanted to open a view controller, you could:

    UIViewController *c = [NSClassFromString(theString) alloc] initWithNibName:theString bundle:whatever];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I used this code to file the rows in my UIPickerView: self.component1Data = [NSArray
In my code I need to know in what direction my UIPickerView rotate at
How can i make a UIPickerView that appears when i select a TextField, and
I don't have any idea how can I create a custom UIPickerView with an
Can someone thoroughly explain the last line of the following code: def myMethod(self): #
How can I change the style of a UIPickerview. I want to change its
I have a UIPickerView object that has five rows that a user can select.
Is it possible to put UIPickerView into UIAlertView?If yes, can you give an example?
Newbie Cocoa Touch question: I'm aiming for an interface with a UIPickerView and a
How can I save NSArray in NSUserDefaults and then load it back in an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.