Question: I'm working on integrating a facebook connect to my application and I have 2 problems:

1.
`LBLoginViewController` is the view that presents as the app launches.
I want to use the storyboard to put some ui elements but for some reason that I don't understand I cannot do that manually, only in code. How can I use the custom class `LBLoginViewController`?

2.
after the log in success I manage to load a view controller. I wont to load a `UITabBarController` but the method I'm using cannot do that. Which method can I use to do so?

this is the code:

```
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor = [UIColor whiteColor];

// the view controller that load after log in
    ListOfJobs *rootViewController =
    [[ListOfJobs alloc] init];

    UINavigationController *navController =
    [[UINavigationController alloc]initWithRootViewController:rootViewController];

    self.window.rootViewController = navController;

    [self.window makeKeyAndVisible];

    // if the user logs in, do nothing - the root view is already up
    if (FBSession.activeSession.state
        == FBSessionStateCreatedTokenLoaded) {
        NSLog(@"User Logged In");
    }
    //create and present the login view controller
    else {
        LBLoginViewController *loginViewController =
        [[LBLoginViewController alloc] init];
        [rootViewController presentViewController:
         loginViewController animated:NO completion:nil];
    }

    return YES;
}

```

Answer: 
I just found this answer <https://stackoverflow.com/a/4096529/131227> as well as a comment ([git workflow - using one repo as the basis for another](https://stackoverflow.com/questions/4096448/git-workflow-using-one-repo-as-the-basis-for-another?rq=1#comment4409551_4096529)) which together lead me to a solution I like.

`git clone -o boilerplate ssh://git@github.com/user/proj.git new_proj`  

The -o boilerplate renames the origin to `boilerplate` which can still be used to pull changes from.

Create your new empty github new\_proj repo.
Then  

`git remote add origin ssh://git@github.com/user/new_proj.git`
I think the right answer here is to use something like Yeoman Generators. (<http://yeoman.io/>) You want to use the git repo with your seed project as a generator. It wouldn't allow you to continually pull in changes from the seed project though. 

The solution of using two remotes works, but eventually the projects will diverge enough that will make keeping those projects in synch very difficult.