I have tried to look for a way for a long time and I couldn't find one that I can understand :(
I have a custom class that I made:
public class Player {
private var name : String = "Test"
private var level : Int = 1
private var skill : Skill = Skill("Basic") //Skill is another class
}
I'm creating an object from this class in my view controller:
var player = Player()
Now i wan't to save this player, so I have created an entity called Saves and an attribute called playerSaved and with transformable type.
When I save the player to playerSaved I get a crash "unrecognized selector sent to instance".
Thank you for your help :) Hope to get done with this and finish my app!