I am using Swift embedded frameworks and so when FCModel calls NSStringFromClass() it gets something like Core.Model. So to combat this I named my database Core.Model.
However, then it thinks all the database columns should be prefixed with Core.Model, so id because Core.Model.id. This obviously provides a problem because I cannot have a property named that.
I am at a loss for what to do. I am going go through and find whenever that is used and make it only use the second half of the string after the ., but this does not seem like a wise way to do this.
I am using Swift embedded frameworks and so when FCModel calls
NSStringFromClass()
it gets something likeCore.Model
. So to combat this I named my databaseCore.Model
.However, then it thinks all the database columns should be prefixed with
Core.Model
, soid
becauseCore.Model.id
. This obviously provides a problem because I cannot have a property named that.I am at a loss for what to do. I am going go through and find whenever that is used and make it only use the second half of the string after the
.
, but this does not seem like a wise way to do this.