Commits on Apr 7, 2012
  1. Fixed templates to work better with id types.

    Transformable attributes have type id, so there needs to be a space after
    the type name in order to complie properly.
    committed Apr 7, 2012
Commits on Mar 9, 2012
  1. @rentzsch

    Merge pull request #94 from protocool/master

    [NEW] Per-entity custom base classes via `mogenerator.customBaseClass` entity userinfo key (overrides `--base-class-force`). ([Trevor Squires](rentzsch#94))
    rentzsch committed Mar 8, 2012
Commits on Mar 8, 2012
  1. @protocool
Commits on Feb 17, 2012
  1. @rentzsch

    Merge branch 'release/1.25'

    rentzsch committed Feb 16, 2012
  2. @rentzsch

    [VERSION] 1.25

    rentzsch committed Feb 16, 2012
  3. @rentzsch

    [CHANGELOG] 1.25

    rentzsch committed Feb 16, 2012
  4. @rentzsch

    Merge pull request #90 from mcglincy/master

    [NEW] Support for Xcode 4.3's new location for its momc (inside the app bundle). (Matt McGlincy)
    rentzsch committed Feb 16, 2012
  5. @mcglincy
Commits on Jan 25, 2012
  1. @rentzsch

    Merge pull request #88 from danielctull/feature/FetchedResultsControl…

    …lerMethods
    
    [NEW] Generate fetched results controllers for to-many relationships. (Daniel Tull)
    rentzsch committed Jan 25, 2012
  2. @danielctull
  3. @danielctull

    Revert "Add key value coding for count on NSArray"

    This reverts commit 9fa14f9.
    danielctull committed Jan 25, 2012
  4. @danielctull
  5. @danielctull
  6. @danielctull

    Fix to test for not arc

    danielctull committed Jan 25, 2012
Commits on Jan 24, 2012
  1. @danielctull

    Generate fetched results controllers for to-many relationships

    This are generated when `frc=true` is used as a template variable.
    
    The cache name is generated from a combination of the entity name, indexed attributes, relationship name and sort descriptors to try to make it unique.
    
    If there are no indexed attributes, the cache name is nil because using different fetch requests with the same cache name completely borks the fetched results controller.
    danielctull committed Jan 24, 2012
  2. @rentzsch
Commits on Jan 7, 2012
  1. @rentzsch
  2. @rentzsch
  3. @rentzsch

    [FIX] Was generating scalar types (i.e. int32_t) where we should be g…

    …enerating object types (NSNumber*).
    rentzsch committed Jan 7, 2012
  4. @rentzsch

    Merge pull request #86 from robrix/master

    [NEW] Better return value types: `int16_t`/`int32_t`/`int64_t` instead of `short`/`long`/`long long` and `id` instead of `NSObject*`. closes #2, #85 (Rob Rix)
    rentzsch committed Jan 6, 2012
  5. @rentzsch

    Merge pull request #86 from robrix/mogenerator

    ---
    
    It is usable as a replacement for both -scalarAttributeType and -objectAttributeType, and pulls from the attributeValueTypeName userInfo field if available.
    rentzsch committed Jan 6, 2012
  6. @robrix
  7. @rentzsch

    Merge pull request #86 from robrix/mogenerator

    ---
    
    It is usable as a replacement for both -scalarAttributeType and -objectAttributeType, and pulls from the attributeValueTypeName userInfo field if available.
    rentzsch committed Jan 6, 2012
  8. @robrix

    The default template uses the new attr methods.

    Also defaulted to using int*_t for scalars at the same time.
    robrix committed Jan 6, 2012
  9. @robrix

    Adds scalar int*_t support.

    This is done by adding -scalarAttributeTypeName, -scalarAccessorMethodName, and -scalarFactoryMethodName to NSAttributeDescription.
    
    -scalarAttributeTypeName returns the same thing as -scalarAttributeType, except that where that uses short, int, and long long, the new method uses int16_t, int32_t, and int64_t.
    
    To allow simple boxing and unboxing with NSNumber, -scalarAccessorMethodName and -scalarFactoryMethodName return the appropriate values for the scalar type, e.g. boolValue, longLongValue, and numberWithShort:.
    robrix committed Jan 6, 2012
  10. @robrix

    Adds -attributeTypeName to attributes.

    -attributeTypeName uses the “attributeValueTypeName” field in userInfo if available, defaulting to the scalarAttributeType if any, or else the objectAttributeType suffixed with a *.
    
    Intended for use in the templates, deprecating both -scalarAttributeType and -objectAttributeType.
    
    Use case: transformable attributes with “id” as their type (as opposed to the unidiomatic and frankly weird NSObject *).
    robrix committed Jan 6, 2012
Commits on Dec 8, 2011
  1. @rentzsch

    [CHANGELOG] 1.24

    rentzsch committed Dec 8, 2011
  2. @rentzsch

    [VERSION] 1.24

    rentzsch committed Dec 8, 2011
  3. @rentzsch
  4. @rentzsch
  5. @rentzsch
Commits on Dec 1, 2011
  1. @nikita-zhuk

    Merge pull request #68 from tyrone-sudeium/master

    PONSO: NSSet-based templates, improved inverse relationship logic
    nikita-zhuk committed Dec 1, 2011
Commits on Nov 30, 2011
  1. @tyrone-sudeium
Commits on Nov 28, 2011
  1. @tyrone-sudeium
  2. @tyrone-sudeium

    Moved to my own contributed templates folder, fixed transient check, …

    …NSCoding support
    
    Created a new subfolder in contributed templates to hold my Set-based
    templates, added a missing transient check in all machine.m templates,
    added yet another variant of the templates which is Set-based with
    NSCoding support.
    tyrone-sudeium committed Nov 29, 2011