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`
What you could do is:

* initialize a new repo
* reference your angular repo as a **[submodule](http://git-scm.com/book/ch6-6.html)** of that new repo
* push that new repo in your GitHub space.

That way, your new project has:

* a subfolder representing your seed project (which you don't modify)
* all your data specific to your project.

---

> 
> My issue with that is that a seed project isn't a library. It doesn't live in a subdirectory of a project. It IS the project when you start, and you build from there. 
> 
> 
> 

Then a simple clone that you push back to your new repo is enough.  

But that won't keep any "fork" relationship between your two GitHub repos.  

You will have to pull one and push to the other through a *local* clone.