Justin Williams

Results 8 comments of Justin Williams

@NghiaTranUIT - Giving it a whirl this week and will report back. As of now we are on Xcode 13 + iOS 15 SDK and 90% of the time running...

Ugh. They still haven't fixed that? Welp. Scratch the all scalar all the time thing.

Pull request #305 is sort of starting us down this path. Need to address it before I can move on to knocking out some Swift-ey stuff.

Here's a sample project that is based on where the default Swift templates are heading. I'm using scalar types where possible thanks to a blog post by @protocool. https://github.com/justin/mogenerator-sample Feedback...

@brentdax I pushed a few changes: 1. Use `Int` instead of `int16|32|64` 2. Rename `MOGeneratorEntity` to `MOGeneratorEntityType` 3. Move `Attributes` & `Relationships` Enums internal to classes. 4. Move `entity(managedObjectContext:)` to...

``` var type: Int16 { get { willAccessValueForKey(Attributes.type.rawValue) defer { didAccessValueForKey(Attributes.type.rawValue) } if let t = primitiveType { return t.shortValue } return -666 } set { willChangeValueForKey(Attributes.type.rawValue) defer { didChangeValueForKey(Attributes.type.rawValue)...

ps. reverted back to `Int16` and friends. https://github.com/justin/mogenerator-sample/commit/be20d3041c52eb3f41395fd95a2c947992502840

Not presently. I work on it as I have time.