dekatotoro / dekatotoro/SlideMenuControllerSwift

Slide works, but shows a black screen

Open
#39 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
3.4k
Forks
742
PR merge metrics
No merged PRs in 30d

Description

Hi guys, I'm new in swift dev.

I'm trying use this amazing lib, but I can't.

![captura de tela 2015-06-09 as 18 36 09](https://cloud.githubusercontent.com/assets/954889/8070262/6cfd123a-0ed6-11e5-853f-57fe58fe6108.png)

![captura de tela 2015-06-09 as 18 36 15](https://cloud.githubusercontent.com/assets/954889/8070265/70679a58-0ed6-11e5-9f3d-398472218846.png)

My storyboard:
![captura de tela 2015-06-09 as 18 44 07](https://cloud.githubusercontent.com/assets/954889/8070448/88b3020e-0ed7-11e5-8f65-6e30afbb95ac.png)

My appdelegate.swift:

```
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Override point for customization after application launch.

let windowSizes = UIScreen.mainScreen().bounds

var leftViewController: UIViewController = UIViewController()
leftViewController.view.frame = CGRectMake(0, 0, 300.0, windowSizes.size.width)
leftViewController.view.backgroundColor = UIColor(hexString: "#FF0000")

var mainViewController = NavigationViewController()

// MARK: Side Menu
let slideMenuController = SlideMenuController(mainViewController: mainViewController, leftMenuViewController: leftViewController)
self.window?.rootViewController = slideMenuController
self.window?.makeKeyAndVisible()

return true
}
```

My folder structure:
![captura de tela 2015-06-09 as 18 45 13](https://cloud.githubusercontent.com/assets/954889/8070466/b5547be4-0ed7-11e5-822f-d3c972ad411f.png)

What am I doing wrong? How I said, I'm new in iOS dev. Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.