cocoaheads:

Xcode 4 Shortcuts

cocoaheads:

Xcode 4 Shortcuts

CocoaHeads: Objective-C literals for NSDictionary, NSArray, and NSNumber

cocoaheads:

Objective-C literals: one can now create literals for NSArray, NSDictionary, and NSNumber (just like one can create literals for NSString)

NSArray Literals

Previously:

array = [NSArray arrayWithObjects:a, b, c, nil];

Now:

array = @[ a, b, c ];

NSDictionary Literals

Previously:

...

10.8 - CFUserNotificationDisplayNotice

cocoaheads:

SInt32 CFUserNotificationDisplayNotice (
CFTimeInterval timeout,
CFOptionFlags flags,
CFURLRef iconURL,
CFURLRef soundURL,
CFURLRef localizationURL,
CFStringRef alertHeader,
CFStringRef alertMessage,
CFStringRef defaultButtonTitle
);


Growl is dead.

btw (kCFUserNotificationProgressIndicatorValueKey)

Xcode 4.3: More Developer Tools

cocoaheads:

The available downloads include:

  • Audio tools: AULab, HALLab, and audio utility source code
  • Accessibility tools: Accessibility Inspector, Accessibility Verifier
  • Hardware IO tools: Bluetooth tools, IORegistryExplorer, USB Prober
  • Graphics tools: CI Filter Browser Widget, OpenGL tools, Pixie, Quartz Debug, Quartz Composer tools
  • Auxiliary tools: Clipboard Viewer, CrashReporterPrefs, Help Indexer, PackageMaker, Speech tools, SleepX
  • Dashcode: Dashcode application