nsvaluetransformer Questions
2
Solved
This is a followup question from the comments in the following How to map nested complex JSON objects and save them to core data?.
Imagine that I already have this code for my app.
class Passenge...
Febrifugal asked 31/12, 2018 at 17:20
2
Solved
I have a lot of date fields in my database model. CoreData allows to use NSDate or TimeInterval to save dates depending on "Use Scalar Type" option.
However both these options are bad for me sin...
Thackeray asked 29/9, 2016 at 19:3
1
Solved
I'm trying to put entities in a Core Data store that each have non-standard data types - one is an NSDocument and the other is an NSURL. I get that within the .xcdatamodeld I need to declare them a...
Mica asked 15/7, 2016 at 16:48
2
Solved
There is an object A and an Object B. Object B has one attribute that is type transformable (image), and one relationship, which is to an object A. Object A may have a relationship to one, and only...
Smelt asked 16/11, 2013 at 13:18
2
Solved
Did anyone successfully implement a custom NSValueTransformer in xcode 6 beta with swift?
I have the following swift class:
import Foundation
class myTransformer: NSValueTransformer {
let amou...
Ecosystem asked 27/8, 2014 at 18:17
1
Solved
I am trying to show an NSImage depending on a enum value from out of Core Data.
I am using a Value Transformer on an NSImageCell bound to the value on which I
choose the image to show.
It works pe...
Crow asked 10/6, 2013 at 11:23
2
I have a question about Core Data encryption. I'm storing some sensitive user data in a Core Data SQLite database. The critical values are all transformables and I'm using AES256 to encrypt and dec...
Invasion asked 15/2, 2013 at 23:36
1
Solved
I would like to bind the boolean enabled property of an NSTextField to the state of an NSButton. I already tried adding a custom NSValueTransformer that transforms the state of the NSButton into NS...
Cowbell asked 25/6, 2012 at 17:0
1
Solved
There's this Transformable data type for attributes. What is it good for? Are there good examples?
I'd like to play around with this. So after searching a while I came across this: NSValueTransfor...
Charlton asked 10/6, 2010 at 12:57
1
© 2022 - 2024 — McMap. All rights reserved.