This is easily the most clean implementation of saving colors in Core Data I have ever seen - really nice. Way better than saving a hex value and converting that, or values for RGB, etc. I am working on an app with colored tags, and I am now going to use this - so much better than what I was doing! Thanks!
no fucking way, i haven't tried this, but i've been trying to figure out how to UIColor, if this work, u r a saint, i couldn't find docs for this anywhere, everyone was saying... on stack over flow to create functions to convert uicolor to rgb values & save the individual r,g,b values into coredata for every color... insane
I think if you clean your build folder (so that it gets rid of the old generated files) the file) the naming conflict that causes xcode to say there are issues even thought he build succeed will go away.
This is easily the most clean implementation of saving colors in Core Data I have ever seen - really nice. Way better than saving a hex value and converting that, or values for RGB, etc. I am working on an app with colored tags, and I am now going to use this - so much better than what I was doing! Thanks!
Glad you like it!
no fucking way, i haven't tried this, but i've been trying to figure out how to UIColor, if this work, u r a saint, i couldn't find docs for this anywhere, everyone was saying... on stack over flow to create functions to convert uicolor to rgb values & save the individual r,g,b values into coredata for every color... insane
Very very thanks ❤❤
Really need that.
Excellent tutorial. Love your videos.🙂
I don't know much about the two main mobile development languages but Swift seems to be more clean and understood than Kotlin.
very useful, Thanks!
Thank you, I didn't know how to create a custom transformer
thankyou
I think if you clean your build folder (so that it gets rid of the old generated files) the file) the naming conflict that causes xcode to say there are issues even thought he build succeed will go away.
hi, please do heavyweight migration coredata please do fast
Why not just convert the color to a hex string, save that string, and then convert it back when needed?
That will also work.