This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://docs.couchbase.com/couchbase-lite/cbl-ios/ | |
| https://github.com/couchbase/couchbase-lite-ios | |
| https://github.com/tciuro/NanoStore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://github.com/sixohsix/twitter | |
| https://github.com/ryanmcgrath/twython | |
| https://github.com/bear/python-twitter | |
| https://github.com/joshthecoder/tweepy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| For NSView (desktop Mac development only), you can simply use the following: | |
| [someNSView setSubviews:[NSArray array]]; | |
| For UIView (iOS development only), you can safely use makeObjectsPerformSelector: because the subviews property will return a copy of the array of subviews: | |
| [[someUIView subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)]; | |
| http://stackoverflow.com/questions/2156015/remove-all-subviews |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| + (id)sharedManager { | |
| static MyManager *sharedMyManager = nil; | |
| static dispatch_once_t onceToken; | |
| dispatch_once(&onceToken, ^{ | |
| sharedMyManager = [[self alloc] init]; | |
| }); | |
| return sharedMyManager; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://stackoverflow.com/questions/4985816/how-do-i-pop-the-view-controller-underneath-a-pushed-view-controller | |
| // pop back 2 controllers on the stack to the setup screen | |
| // | |
| // locally store the navigation controller since | |
| // self.navigationController will be nil once we are popped | |
| // | |
| UINavigationController *navController = self.navigationController; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef ma_concurrent_queue_h | |
| #define ma_concurrent_queue_h | |
| // Based on code from http://www.justsoftwaresolutions.co.uk/threading/implementing-a-thread-safe-queue-using-condition-variables.html | |
| // Original version by Anthony Williams | |
| // Modifications by Michael Anderson | |
| #include "boost/thread.hpp" | |
| #include <deque> |
NewerOlder