Created .podspec

This commit is contained in:
Pedro Piñera 2014-08-04 21:00:30 +02:00
parent 475b56256a
commit f206523f74
2 changed files with 19 additions and 3 deletions

18
SugarRecord.podspec Normal file
View File

@ -0,0 +1,18 @@
Pod::Spec.new do |s|
s.name = 'SugarRecord'
s.version = '0.0.1'
s.platform = :ios, '8.0'
s.license = 'MIT'
s.summary = 'CoreData management library implemented with the sugar swift language'
s.homepage = 'https://github.com/pepibumur/SugarRecord'
s.author = { 'Pedro Piñera' => 'pepibumur@gmail.com' }
s.source = { :git => 'https://github.com/pepibumur/SugarRecord.git', :tag => '1.4.' }
s.description = <<-DESC
Thanks to SugarRecord you'll be able to use a clean syntax to fetch, filter, create, update CoreData objects in an easy way. Inspired by MagicalRecord and opened to new contributions.
DESC
s.requires_arc = true
s.source_files = 'SugarRecord/*.{swift}'
s.resources = "Control/*.ttf"
s.exclude_files = 'SugarRecordDemo'
s.framework = 'CoreData'
end

View File

@ -43,8 +43,6 @@ class SugarRecord {
psc = NSPersistentStoreCoordinator.newCoordinator(self.defaultDatabaseName(), automigrating: automigrating)
}
NSPersistentStoreCoordinator.setDefaultPersistentStoreCoordinator(psc)
}
@ -82,7 +80,7 @@ class SugarRecord {
}
//MARK - NSManagedObjectContext Extension
// MARK - NSManagedObjectContext Extension
extension NSManagedObjectContext {
// Static variables