Comments (5)
Hello @fjbelchi , answering:
- Yes, Travis-CI doesn't support XCode 6 yet so unless any of us has a XCode server to make these builds it's going to be impossible to have it automated. I don't know which are the plans of Travis-CI regarding the integration with XCode 6 but with XCode 5 they took a lot of time. I would ensure the tests are passing before merging any PR. Otherwise if you know any better option let me know.
- I have it planned. I started developing it following as an example not only MagicalRecord but the implementation of AlamoFire (by Matt) where he uses only one file but I agree with you, it's clever to have them in different swift files. I've added it to pending stuff.
- With code convention you mean patterns?, I've tried to follow an style-guide made for swift but we can talk about it :)
- Not bad idea. Creating it!
- I agree with you in this point. Think it has to be as sugar as possible but IMO this will be something that will bring out as soon as we start reading more code in Swift and specially other implementations and patters. Feel free to add your own ideas. BTW, I love ObjectiveSugar, it's so Ruby
from sugarrecord.
Done @fjbelchi https://github.com/SugarRecord
from sugarrecord.
Cool, I've changed the upstream :)
1.) I'll try to find out others alternatives to Travis-CI or possible works around. I guess probably Travis-CI maybe wait until xcode6 is out of beta.
2.) and 3.) It will be amazing if you could create the classes or describe how would you like to do it with the architecture you would like to follow. In MR is very clear where everything should be done.
When in the point 3 I said code conventions I meant the style guide, for example, having an extension of NSManagedObject, where should it go? - Without a name like the old categories, I haven't seen what the folk is doing to create an extension in separate files. Should it be like old categories, like that NSManagedObject+Find.swift
??
5.) what is your opinion about syntax like this:
let peopleInCurrentPage = db.people
.filterBy(predicateFormat: "department IN %@", argumentArray: [[dept1, dept2]])
.skip(pageNumber * itemsPerPage)
.take(itemsPerPage)
.sortBy("firstName,lastName")
let peopleSorted = db.people.orderByDescending("lastName").orderBy("firstName")
I've seen it here: https://github.com/Alecrim/AlecrimCoreData and it looks very fluent :)
from sugarrecord.
Hello @fjbelchi
-
I think we should wait for Travis-CI giving support to XCode 6
-
Regarding your question about the naming, I'm going to add the styleguide I'm using, moreover I've separated the file into different files and folders to make it cleaner and easier to understand. As you say I've followed the old categories naming. I think ( IMO ) that Apple should keep that naming for extensions too.
-
I love that syntax, we could go around it and bring these concepts getting inspiration from other Swift libraries like the one you mention. Would you like to create an issue for that or do you know any platform to keep a forum or something similar to keep this kind of conversations that are not issues.
Thanks a lot @fjbelchi , I'm going to add you as a contributor!
from sugarrecord.
Closing this @fjbelchi
from sugarrecord.
Related Issues (20)
- Realm update objects HOT 1
- NSManagedObjects subclass with a different class name HOT 1
- There's no example project for CoreData+iCloud and document is wrong HOT 1
- realm-cocoa 1.1.0 fails on xcode8.3 with redefinition of module 'Realm' HOT 2
- Replace Context with NSManagedObjectContext
- Cartfile still requires realm-cocoa 1.1.0 which doesn't build against Swift 3.1 HOT 3
- Carthage 'realm-cocoa' build fails HOT 4
- "Serious application error" when CoreDataObservable used
- The update operation doesn't work
- CoreDataObservable always returning index=0 on changes HOT 2
- Is it possible to delete all data (for example when user logs out) of core data? Not the models but data in the models HOT 1
- Add support for RequestObservable in MacOS 10.12+
- Brainstorming SugarRecord 4
- pod install on Example project fails
- Development Pods / Frameworks Support
- iOS Carthage build fails with Swift 4.1
- Can you adapter Swift 4.1
- Taking CoreData operations off main thread
- App Crashes when using observable HOT 1
- how to update an record ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sugarrecord.