-
Notifications
You must be signed in to change notification settings - Fork 0
NSData Category utilizing Blocks
remotevision/NSDataWithBlocks
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NSDataWithBlocks: NSData Category for iOS Currently, NSData:dataWithContentsOfURL: is a blocking request - meaning it blocks the main thread until the contents are downloaded. The purpose of this code is to wrap NSData:dataWithContentsOfURL: in a block to create a non-blocking call. Some of the other frameworks provide a this capability, but I didn't need the everything else the frameworks were providing. Feel free to use any way you want. Or better yet, add to it!
About
NSData Category utilizing Blocks
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published