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 8007059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:42:35+00:00 2026-06-04T17:42:35+00:00

I have a ready-to-use project ( created and started with application delegate but without

  • 0

I have a ready-to-use project ( created and started with application delegate but without xib,nib). Now I want to invoke and start it from another project.
But I can’t use initwithnib, how can I include and start this ready-to-use project from another project?
More specifically, how to add and integrate Apple’s Sample code ” TableViewUpdates ( TVAnimationsGestures.xcodeproject ) ” which only has its own appDelegate and Mainwindow.xib file to my own application? thanks!
Or can you add a xib file to the Apple’s Sample code ” TableViewUpdates ( TVAnimationsGestures.xcodeproject ) ” so that I may use initWithNib in my another project to invoke and run the sample code. thanks !

  • 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-04T17:42:36+00:00Added an answer on June 4, 2026 at 5:42 pm

    I work on Xcode 4.3.2.

    1. Create sigle view sigle view app.
    2. Expand all folders in MoviePlayer example. Select all files, except info.plist, main, Frameworks, Products folders, readme.txt, MoviePlayer.project. Copy them to new empty project. Don’t forget to check “add to target”.
    3. In target’s build phase tab added MediaPlayer.framework (in link Binary with libs)
    4. Copy all object from MainWindow.xib to your own xib for your viewController.

    Than in ViewController.h :

    #import <UIKit/UIKit.h>
    
    @interface ViewController : UIViewController
    @property (strong, nonatomic) IBOutlet UITabBarController *tabBarConroller;
    
    @end
    

    Connect your tabBarController from ViewController.xib to the property.

    Than in ViewController.m :

    @implementation ViewController
    @synthesize tabBarConroller;
    
    - (void)viewDidLoad
    {
        [super viewDidLoad];
        [self.view addSubview:tabBarConroller.view];
    }
    
    - (void)viewDidUnload
    {
        [self setTabBarConroller:nil];
        [super viewDidUnload];
        // Release any retained subviews of the main view.
    }
    ...other appdelegateMethods ...
    @end
    

    7. Check that all objects in viewController.xib has necessary outlets.
    6. Edit > Refactor > Convert to ARC. (next, ok…)

    It’s done.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a ready RSS atom feed on my ASP.net site,but I want to
I have multiple document.ready functions on a page and I want a function to
In main.js, I have: $(document).ready( function(){ alert('foo'); }); app/assets/javascripts/application.js has: //= require jquery //=
We have our Hello-Hello Spanish application ready for sale on blackberry app world. Earlier,
In the context of a larger project, I have created a Joomla 1.5 component
I started a new project with type of Windows Forms application, and I put
I have been trying to use protobuf-net with MonoTouch but I have no idea
The followings are ok now: I have a multi-module project in maven with EJB
I have a task assigned to me but I am not a project manager.
I've started writing a JavaScript application as a personal project. I am hoping to

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.