Rightpoint / RZVinyl

Stack management, ActiveRecord utilities, and seamless importing for Core Data
Other
21 stars 6 forks source link

Have `+defaultStack` return instancetype instead of RZCoreDataStack #59

Closed KingOfBrian closed 8 years ago

KingOfBrian commented 8 years ago

There's a common pattern to subclass RZCoreDataStack as a place to put model, but non entity specific application behaviors. This just makes the singleton storage able to reflect that type information.

alexrrouse commented 8 years ago

Nice @KingOfBrian . You may also want to have the the default creation use [self alloc] init... instead of [RZCoreDataStack alloc] init....

KingOfBrian commented 8 years ago

Good catch!

alexrrouse commented 8 years ago

This looks good to me.