cocoa

Anyone else having issues with MPMoviePlayerController in iPhone OS 3.0? | iCodeBlog

the fix for MPMoviePlayerController plays audio inthe background if the user exits the movie at specific times.

Mac Dev Center: What’s New In Mac OS X: Mac OS X v10.6

You support improved shutdown in your application by calling the enableSuddenTermination and disableSuddenTermination methods in NSProcessInfo. These are intended to be used as paired calls. Call disableSuddenTermination when you have work that must be done before quitting, and enableSuddenTermination when that work is done.

Read more on Mac Dev Center: What’s New In Mac OS X: Mac OS X v10.6…

Hidden Developer Gems in Snow Leopard

  • clang’s Static Analysis is built into Xcode. Build → Build and Analyze, and wonder how you ever accepted that scan-build web interface.
  • Concurrent NSView drawing, opt-in.
  • NSCache provides a data structure tuned for caching, where you associate an item with a cost and items can be silently evicted to maintain a small footprint, or because objects implementing the NSDiscardableContent protocol has proclaimed that the content isn’t actually useful anymore.

Read more on Hidden Developer Gems in Snow Leopard…

iphonearkit – Project Hosting on Google Code

A UI library for displaying location based data in spherical coordinate systems using UI Kit on the iPhone.

^{ … }

NSArray *urls = [NSArray arrayWithObjects:@"http://www.apple.com/", 
    @"http://www.google.com/", @"http://www.example.com/", nil];

NSOperationQueue *q = [[NSOperationQueue alloc] init];
[q setSuspended:YES];

void (^loadingBlock)(NSURL *url) = ^(NSURL *url) {  
    NSLog(@"started downloading %@", url);
    NSString *contents = [NSString stringWithContentsOfURL:url];
    NSLog(@"downloaded %@ (%d chars)", url, [contents length]);
};

Read more on ^{ … }…

Joe Hewitt – free iPhone source code

The name of the new project is Three20, after the 320-pixel-wide screen of the iPhone. The code is all hosted on github for your cloning pleasure. There is an excellent sample app called TTCatalog which lets you play with all of the various UI components. Documentation? Well… there are instructions for how to add Three20 to your project, but I am still working on comprehensive documentation for each of the classes. For now, the sample app and the code itself are your documentation.

Read more on Joe Hewitt – free iPhone source code…

MailComposer iPhone sample code

This application shows how to target older OS versions while building with newly released APIs. It also illustrates how to use the MessageUI framework to edit and send email messages from within your application.

Read more on MailComposer iPhone sample code…

simple-iphone-image-processing – Project Hosting on Google Code

I've written a simple C++ class with an Objective-C wrapper that provides a set of common image processing tasks along with conversion to and from UIImage.

The code supports the following operations:

Read more on simple-iphone-image-processing – Project Hosting on Google Code…

Using the LLVM/Clang Static Analyzer for iPhone apps

static analyzer for iPhone apps using llvm and clang

iPhone Development Emergency Guide

This is an emergency guide to iPhone software development, i.e. a guide for competent developers who haven’t written code for the iPhone platform before, and just want to get started right now.

Read more on iPhone Development Emergency Guide…

Google Author link
Page 6 of 812345678