私はこれを間違った方法で行っているかもしれませんが、エンティティサブクラスのメソッドを呼び出そうとしています。エンティティクラスの呼び出しメソッド - CoreData:Swift 2.0
func addPlayer(_name: String, _team: String, _position: String, _stats: NSDictionary){
let managedContext = (UIApplication.sharedApplication().delegate as! AppDelegate).managedObjectContext
let entity = NSEntityDescription.entityForName("Player", inManagedObjectContext: managedContext)
let player = NSManagedObject(entity: entity!, insertIntoManagedObjectContext: managedContext)
player.setValue(_name, forKey: "name")
player.setValue(_position, forKey: "position")
player.setValue(_team, forKey: "teamAbbr")
player.setValue(player.calculateTradeValue() as! Player, forKey: "tradeValue")
最後の行は私に Value of type NSManagedObject has no member calculateTradeValue
美しく、これで修正できました。今すぐ完璧に走ります、ありがとうございます! – excessive34