Sha256: e6f4145d66c92fbdde99911b9559238eb6c71b94f5949530ecf36671c24e1090

Contents?: true

Size: 376 Bytes

Versions: 3

Compression:

Stored size: 376 Bytes

Contents

import Foundation
import CoreData

class _<%= entity.name %>: <%= entity.parent_entity %> {
<% for attribute in entity.attributes -%>
    @NSManaged var <%= attribute.name %>: <%= type.attribute_type(attribute) %>
<% end -%>

<% for relationship in entity.relationships -%>
    @NSManaged var <%= relationship.name %>: <%= type.relationship_type(relationship) %>
<% end -%>
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
moblues-0.4.0 lib/moblues/generator/swift/machine.swift.erb
moblues-0.3.0 lib/moblues/generator/swift/machine.swift.erb
moblues-0.2.0 lib/moblues/generator/swift/machine.swift.erb