Use NSOperation and NSOperationQueue to download image tiles from the web in concurent threads. #151

Merged
merged 3 commits into from Feb 21, 2012

Conversation

Projects
None yet
3 participants
Owner

vyskocil commented Nov 6, 2011

The use of NSOperation/NSOperationQueue to download image tiles from web helps to unload work from the main thread and permit a smoother map scrolling, particularly in iOS5.

Contributor

incanus commented Nov 8, 2011

The new RMURLConnectionOperation class isn't included in the Xcode project...

michaeltyson added a commit that referenced this pull request Feb 21, 2012

@michaeltyson michaeltyson merged commit 7d12c57 into route-me:master Feb 21, 2012

Owner

michaeltyson commented Feb 21, 2012

Nice one! One note: I had to make some adjustments to make sure it performs certain NSURLConnection delegate methods on the main thread, otherwise it causes wacky problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment