I have a cordite model. One of the attributes is an NSNumber,
@NSManaged var playerOneScore: NSNumber
I'm trying to fetch this and store it in a text label.
playerOnePar.text = myArray[0].valueForKey("playerOneScore") as String
It doesn't like this. Im guessing an NSNumber can't be casted into a String. However, it doesn't like this. Thoughts on this with the new swift language?