objcio / articles Goto Github PK
View Code? Open in Web Editor NEWAll current objc.io articles
All current objc.io articles
From @orta : I suspect you're using a float here, you probably want to make it columns, as that pete dude just keeps on contributing
Ping @jpsim : I was wondering about the multipeer servicetype, is it really true that it is reverse dns notation? I thought it was like Bonjour, as they say here. Do you have any source for this? I remember that a while ago I tried using dots in my service type and stuff crashed, but maybe this changed?
The iCloud and CoreData Article is in fact pretty good but for me there was one thing missing.
I wondered how to figure out when to update the UI when an App is first launched and the iCloud Store is filled with data.
I tought listening for the Notification in storesWillChange: would be enough.
In fact you need to update when the storeDidChange: like this (otherwise the managedObjectContext would still be different to the iCloud content):
- (void)storesDidChange:(NSNotification *)note {
//check if iCloud is imported
NSNumber *storeVal = [note.userInfo objectForKey:NSPersistentStoreUbiquitousTransitionTypeKey];
if (storeVal.integerValue == NSPersistentStoreUbiquitousTransitionTypeInitialImportCompleted) {
NSLog(@"On iCloud Store now");
//ensure that the UI will be updated d on the mainthread for UI threadsafety otherwise
//this will cause a lot of trouble...
dispatch_async(dispatch_get_main_queue(), ^{
//update UI });
}
}
I'm not sure if this was the focus of the article or I didn't read it carefully enough but maybe it's worth a consideration.
Image links are broken, could you please fix that?
In the first section about Importing into CoreData in the background, you say
"Note that by passing in the main queue as a parameter, the block will be called on the main thread"
Why in the code, you still pass "nil" ?
Please fix the article about multitasking following this conversation: nomad-cli/houston#86 (comment).
The Apple Core Data Concurrency Guide (https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CoreData/Articles/cdConcurrency.html) linked to in issue 2 under common background practices (http://www.objc.io/issue-2/common-background-practices.html) is considered out of date by Apple with the following notice at the top of the page:
"Important: Best practices for concurrency with Core Data have changed dramatically since this document was written; please note that this chapter does not represent current recommendations."
It seems like your engine replaces all http links to https. It breaks some links, e.g. http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html in 2014-02-10-string-localization.md article is ok, but being changed to https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html isn't.
in Article
https://github.com/objcio/articles/blob/master/2014-03-07-data-synchronization.md
https://www.wasabisync.com/ ---> http://www.wasabisync.com/
and it show
We're sorry, but Wasabi Sync is no longer accepting new development accounts at this time.
Dropbox DataStore API
https://www.dropbox.com/developers-v1/datastore -> Warning: The Datastore API has been deprecated.
I think it will be good idea if you can turn all the articles into ebook (should be free ^^ ) so that we can easily read
I'm reading http://www.objc.io/issue-3/scroll-view.html
In section A Windows into the world : content size, the image is not quite right.
It should be contentOffset {x: 80, y: 40 } instead of contentOffset {x:-80, y:-40}
in the paragraph "Download requests take a request as well...." of section Constructors
in article issue-5-4 I found something hard to be understood.
[response URL]
instead of the return value NSURL * location
. isn't the latter to be the actual temp file's URL?Somebody sent this in over email:
Hi,
i want just report that in this article: http://www.objc.io/issue-12/animations-explained.html
when you show the animation:
RBBTweenAnimation
the keyPath is not position.x but position.y in 2 snippet of code.
Unfortunately I don't have the in-depth knowledge for a pull request but HN thinks there are some corrections to be made - https://news.ycombinator.com/item?id=7363083
How to fix typos/errors in blog posts?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.