You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks in advance for help I probably missed something simple
I am a beging iOS Student I am having trouble manually installing
I get use of undeclared type "guillotineMenuViewController
I searched stack overflow for answers and went over project several times
Using Xcode 6.3 & iOS8.3
My project https://github.com/Ongomobile/GMenu
Just wanted to see if I could get the menu to work first
This is what I did
added Guillotine Menu file and assets from example, copied to project target selected and put under my file with project name
Created ViewController in interface builder and set class to GuillotineMeneViewController, it was in dropdown
In ViewController that comes with single view application I created bar button item and button in interface builder, connected button outlet to code
Controll dragged to GuillotineMenuViewController set segue to Custom and class GuillotineMenu it was in dropdown
In my ViewController I copied nav bar code from example to viewDidLoad, and copied prepare for segue after that
Tried to run and keep getting the error use of undeclared type "guillotineMenuViewController
here is my code from my view controller
import UIKit
class ViewController: UIViewController {
@IBOutlet var barButton: UIButton!
override func viewDidLoad() {
super.viewDidLoad()
let navBar = self.navigationController!.navigationBar
navBar.barTintColor = UIColor(red: 65.0 / 255.0, green: 62.0 / 255.0, blue: 79.0 / 255.0, alpha: 1)
navBar.titleTextAttributes = [NSForegroundColorAttributeName: UIColor.whiteColor()]
}
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
// Your Menu View Controller vew must know the following data for the proper animatio
let destinationVC = segue.destinationViewController as! GuillotineMenuViewController
destinationVC.hostNavigationBarHeight = self.navigationController!.navigationBar.frame.size.height
destinationVC.hostTitleText = self.navigationItem.title
destinationVC.view.backgroundColor = self.navigationController!.navigationBar.barTintColor
destinationVC.setMenuButtonWithImage(barButton.imageView!.image!)
}
}
The text was updated successfully, but these errors were encountered:
Thanks in advance for help I probably missed something simple
I am a beging iOS Student I am having trouble manually installing
I get use of undeclared type "guillotineMenuViewController
I searched stack overflow for answers and went over project several times
Using Xcode 6.3 & iOS8.3
My project https://github.com/Ongomobile/GMenu
Just wanted to see if I could get the menu to work first
This is what I did
added Guillotine Menu file and assets from example, copied to project target selected and put under my file with project name
Created ViewController in interface builder and set class to GuillotineMeneViewController, it was in dropdown
In ViewController that comes with single view application I created bar button item and button in interface builder, connected button outlet to code
Controll dragged to GuillotineMenuViewController set segue to Custom and class GuillotineMenu it was in dropdown
In my ViewController I copied nav bar code from example to viewDidLoad, and copied prepare for segue after that
Tried to run and keep getting the error use of undeclared type "guillotineMenuViewController
here is my code from my view controller
import UIKit
class ViewController: UIViewController {
}
The text was updated successfully, but these errors were encountered: