Comments (6)
No Problem. I am glad you liked it.
Kindly check out the demo project again and try to work out something from there.
btw Still I'l consider simplifying the read me of the repository. :)
from seam.
Also because I only know swift & never learned objective C. So I am bit confused.
And learning from your code is my top priority at the moment. I am spending 6-8 hours per day reading your code & Apple documentation.
If you create tutorial then I will learn faster. But one way or the other I will reverse engineer your code.
from seam.
I appreciate your enthusiasm. Currently I had plans to write how I implemented the sync part. I started it and I think I might complete it in a day or two. Best of luck in learning swift but my advice for you is Think Big, Start Small. First consider doing some small stuff in swift and then build up from there.
I'l post the link to the article (Related to sync) on this issue when I am finished till then best of luck :)
from seam.
Yeah its frustrating. I studied core data from e book & cloud kit from course I purchased. But they don't teach you how to combine them together.
I was like why the hell did I buy this course. The only reason I bought it so I can use them together in app I am building.
I have been studying swift for about 8 months & core data / cloud kit for last 3 months. Hopefully I will learn this quicker.
Also please don't forget to post link here when you create tutorial.
from seam.
Your app actually has one issue. When you delete item the app crashes.
When you delete one row you didn't delete from tasks array.
You just need to add following line
self.tasks.removeAtIndex(indexPath.row)
from seam.
I have found a code that would tell you whether user changed their iCloud account or logged out of iCloud in middle of using the app.
func applicationDidBecameActive(notification:NSNotification) {
println("Application is active")
NSNotificationCenter.defaultCenter().removeObserver(self, name: NSUbiquityIdentityDidChangeNotification, object: nil)
}
func applicationBecameInactive(notification:NSNotification) {
println("Application is inactive")
NSNotificationCenter.defaultCenter().addObserver(self, selector: "handleIdentityChange:", name: NSUbiquityIdentityDidChangeNotification, object: nil)
}
func handleIdentityChange(notification:NSNotification) {
println("this is working")
let fileManager = NSFileManager()
if let token = fileManager.ubiquityIdentityToken {
println("New token is \(token)")
}
else {
println("User has logged out of iCloud")
}
}
Waiting for your sync tutorial. Please create it soon. Its very difficult to understand otherwise.
from seam.
Related Issues (20)
- Package Seam as a Carthage Framework HOT 4
- Cocoapods can't find Seam pod HOT 2
- SeamStoreType undeclared identifier HOT 12
- Getting NSInternalInconsistencyException HOT 2
- Many-to-many relations HOT 1
- unexpectedly found nil while unwrapping an Optional value
- Readme Content HOT 2
- TVOS support HOT 3
- Push configuration HOT 1
- Crash in executeInResponseToFetchRequest HOT 4
- Crash because of NSMutableOrderedSet HOT 2
- How does Seam handle migration?
- Works in iOS 8.1, requires 9.0
- Default data
- Repo status and CKContainer question HOT 7
- Swift 3.0 / App crashing HOT 2
- Is it possible for Seam to sync with (the new) shared databases?
- Zone.swift: Operations created, but not added to NSOperationQueue
- 'NSInvalidArgumentException', reason: 'Unsupported store type.' HOT 1
- Taking CoreData operations off main thread
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 seam.