Skip to main content

Posts

Showing posts from October, 2012

FlyCut

Flycut is a clean and simple clipboard manager for developers. It based on open source app called Jumpcut. Flycut is also open source: http://github.com/TermiT/flycut Mac App Store

NSHipster

NSHipster is a nicely written journal of the overlooked bits in Objective-C and Cocoa. Updated weekly. NSHipster

Promoting Apps with Smart App Banners on web page html

Promoting Apps with Smart App Banners Join the Affiliate Program Link Maker

Sim Deploy

Tired of digging around in your library folder to install simulator builds? Need to distribute simulator builds to non-technical people in your organization? Sim Deploy provides drag and drop installation of iOS simulator builds. Features Drag and Drop Installation Remote URL Installation Custom URL Handling for Dead Simple Distribution Automatically Launches Simulator and Installed Application Easily Integrates With Continuous Integration Servers Spacemanlabs

Create Pass with Passbook

Passes are a digital representation of information that might otherwise be printed on small pieces of paper or plastic. They let users take an action in the physical world, in the same way as boarding passes, membership cards, and coupons. The pass library contains the user’s passes. Users view and manage their passes using the Passbook app. Apple Developer  PassKit Programming Guide Your source for free iOS 6 Passbook passes; create your own iOS 6 Passbook pass! PassK.it PassSource Content-Type: application/vnd.apple.pkpass Content-Disposition: attachment; filename="pass.pkpass"

appledoc integration

Install appledoc Go to Project > Add Target “Documentation” and then Build phases > Add build phase > Add run script /usr/local/bin/appledoc \ --project-name "MyProject" \ --project-company "MyCompany" \ --company-id "com.mydomain" \ --output build \ --docsetutil-path `xcode-select -print-path`/usr/bin/docsetutil \ --create-docset \ --install-docset \ --create-html \ --exit-threshold 2 \ --no-repeat-first-par \ MyProjectDir appledoc Mobile Craft

OCUnit with asynchronous methods

Alternate A -(void)testAsync {    // create the semaphore and lock it once before we start    // the async operation    NSConditionLock * conditionLock = [NSConditionLock new];    self.theLock = conditionLock;       // start the async operation    ...    // now lock the semaphore - which will block this thread until    // [self.theLock unlockWithCondition:1] gets invoked    [self.theLock lockWhenCondition:1];    // make sure the async callback did in fact happen by    // checking whether it modified a variable    STAssertTrue (self.testState != 0, @"delegate did not get called"); } -(void)myDelegate {    [self.theLock unlockWithCondition:1]; } Stackoverflow Apple Developer NSConditionLock Class Reference Alternate B dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); ^{ ... dispatch_semaphore_sig...

ios-sim

The ios-sim tool is a command-line utility that launches an iOS application on the iOS Simulator. This allows for niceties such as automated testing without having to open Xcode. Features Choose the device family to simulate, i.e. iPhone or iPad. Setup environment variables. Pass arguments to the application. See the stdout and stderr, or redirect them to files. See the --help option for more info. phonegap / ios-sim