Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCODE 6 GM issue #11

Closed
DirkLXX opened this issue Oct 1, 2014 · 3 comments
Closed

XCODE 6 GM issue #11

DirkLXX opened this issue Oct 1, 2014 · 3 comments

Comments

@DirkLXX
Copy link

DirkLXX commented Oct 1, 2014

override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
    var viewController:UIViewController = segue.destinationViewController as UIViewController
    var ChartLabel:UILabel = UILabel(frame: CGRectMake(0, 90, 320.0, 30))

    ChartLabel.textColor = PNGreenColor
    ChartLabel.font = UIFont(name: "Avenir-Medium", size:23.0)
    ChartLabel.textAlignment = NSTextAlignment.Center

//
////MasterViewController.swift:39:33: Cannot convert the expression's type 'String?' to type 'NSString'
//
switch segue.identifier as NSString {
case "lineChart":
//Add LineChart
ChartLabel.text = "Line Chart"

@kevinzhow
Copy link
Owner

try Xcode 6.0.1

@danieleratti
Copy link

Same problem here, with XCode 6.1
What's wrong?

@gpadmanabhan
Copy link

Same problem with Xcode 6.1... Any workaround ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants