Musings from Mars Banner Image
For Software Addicts: Yes!MaybeNah!
Resource Posts With Tag <em>Tutorials</em>

Resource Posts With Tag Tutorials

August 16th, 2011

I don’t like the App Store, but in case I need it someday…

Tips for submitting software to the Mac App Store This looks like a good set of instructions and tips for developers who have used some other selling mechanism previously but would like to begin using the App Store. With Aquatic Prime apparently incompatible with Mac OS X 10.7 ("Lion"), I may need to find an alternative...
July 27th, 2011

HTML5 Audio and Video Guide

Safari HTML5 Audio and Video Guide: About HTML5 Audio and Video. This is a good reference with lots of sample code for using HTML5 audio and video. The samples cover a wide range of possible custom applications. Though it's specific to WebKit/Safari, many of the CSS styles used for custom appearance are now supported by Firebox and, of course, Chrome (which is a WebKit browser like Safari).
December 12th, 2010

Peter Hosey Weblog: Musings of a Cocoa Developer

Idle Time. Lots of interesting topics here, including Cocoa/Cocoa Touch. Hosey has released a number of very useful apps as Cocoa demos and/or developer tools.
October 18th, 2010

Cocoa with Love: Drawing gloss gradients in CoreGraphics

Cocoa with Love: Drawing gloss gradients in CoreGraphics. This is but one of many tutorials and source code provided by Matt Gallagher on his site,
July 2nd, 2010

Mac Stuff: A wealth of sample code for AppleScript

Mac Stuff. This site's author shares a lot of great AppleScript code, with explanations of how they work. Pointers to AppleScript resources as well. He also covers shell scripts and Automator.
February 26th, 2010

Getting Started With Cocoa Scripting

Getting Started With Cocoa Scripting . From the developer who's written what many consider to be the best book on AppleScript, AppleScript: The Definitive Guide, this is an excellent tutorial on using AppleScript in Cocoa applications. This tutorial by Matt Neuberg explains the Scripting Bridge Apple introduced in Mac OS X 10.5 while building a sample application. The sample app is also available for download.
February 26th, 2010

Adding An Apple Help File To Your Cocoa App

Apple Help Screencast Here's a 2008 screencast from developer Matt Neuberg explaining how to make an Apple Help bundle for your app. He walks you through every step, identifying the problems developers typically have and the secrets to their solution.
Posted in:ProgrammingTags: , , |
February 23rd, 2010

CocoaLab: New source of info for Cocoa programmers

CocoaLab. This site has loads of tutorials and other articles on Cocoa-programming topics. It also goes into specifics on issues such as software licensing and code signing. Recommends Potion Store for creating a web store to sell software.
June 18th, 2009

Mac | I Love Code

Mac | I Love Code. This is a terrific collection of tutorials on software development, covering various languages and platforms including Mac OS X (Cocoa), HTML/CSS, JavaScript, PHP, and iPhone. Just the things I'm interested in! The tutorials are contributed by some very smart developers from across the world.
March 1st, 2009

Fantastic Resource for Learning Cocoa Bindings

Cocoa Bindings Examples and Hints

This page has lots of great explanations of various aspects of bindings and key-value observing in writing Cocoa apps, but what makes it really special is that the author has provided a slew of example applications as well. You can download the apps with the source code.

Posted in:ProgrammingTags: , , |
August 14th, 2008

AppleScript: Apple’s “Essential” Sub-Routines

AppleScript: Sub-Routines

I just discovered this amazing collection of AppleScript templates Apple has provided for building AppleScript apps in Leopard. I can't wait to find the time to explore all of these, which cover such topics as:

  1. Math routines
  2. HTML routines
  3. Sorging routines
  4. Text manipulation
  5. Working with lists
  6. Text encoding/decoding
  7. Writing to files
  8. Finder droplets

Thank you, Apple!

October 31st, 2007

Bagelturf - Resources And Articles For Cocoa Programmers

Bagelturf - Resources And Articles For Cocoa Programmers I stumbled upon this Cocoa blog yesterday, drawn by an article on enabling/disabling controls. Turns out the owner has a really useful series of tutorials here, complete with readable text and code, plus downloadable xCode projects. One is a 10-part series on key-value coding that I'll definitely have to check out! Amazing how generous we programmers are as a lot, don't you think? You know this is a good guy when you see his tag line is "Shining out like a shaft of gold when all around is dark." Certainly more inspiring than claiming to be "like a stream of bat's piss," eh? :-)
August 27th, 2007

Optimizing Objective-C and Other Goodies

Mulle kybernetiK: Optimizing Objective-C code From a guy who obviously knows what he's talking about... I just finally made up my mind about his terrific, open-source mkconsole app today and was tooling around his site to see what else I might find. :-) Some of these lessons are old, as the author notes, but there's still a lot of useful learning here for someone of my limited knowledge of the language.
July 26th, 2007

Programming a Cocoa Custom NSView

Cocoa® Programming for Mac® OS X: Custom Views > Get a View to Draw Itself This looks like one of the best tutorials I've encountered that covers views, drawings, rects, and the like.
Posted in:ProgrammingTags: , , |
May 5th, 2007

Apple’s Rich Primer on Shell Scripting, Scripts Included!

Shell Scripting Primer If you've ever wanted to really take advantage of that powerful Unix workhorse underneath your beautiful Mac's Aqua, here's a good place to get started. In another of its excellent, well designed, well written, and thorough technology guides, Apple provides an introduction to the Bourne shell, regular expressions, awk, and more that's an essential reference on the subject. As always, it's available online in HTML, plus a single PDF version, and in this case there's also a zip file with dozens of example scripts, most of them referenced in the guide.
May 1st, 2007 Slider Demos: Everything You Could Want in a DHTML Slider Slider Demos and Example Code Damn! I wish these demos had been available when I was building parts of Mars a year ago. But I could find nothing but the demos on the wiki site, which didn't cover things like: Scrollwheel activation, use as a scrollbar... the two things I most needed. Oh well... at least they're here now if I need them again!
April 28th, 2007

F-Script Tutorial for Cocoa Fiends

Cocoa Samurai: F-Script : Part I - Introduction I missed this when it came out a couple of months ago... but today's release of a new update to F-Script had me wandering through the F-Script news archive, and... I've been fooling around with F-Script for awhile now, spurred on by Apple's endorsement of its amazing ability to let Cocoa developers peek under the hood of each other's apps, and even inject some of their own code to test new ideas. But I haven't really learned the F-Script language, which I gather is a simplified version of Cocoa itself, so this tutorial should come in handy.
Posted in:UncategorizedTags: , , , , |
March 25th, 2007

Daemons and Agents in Mac OS X: Apple Technical Note

Technical Note TN2083: Daemons and Agents I'm putting this link in the Resources library, because it's such a great overview of this whole topic. The note explains how daemons and agents interoperate in Mac OS X, and how applications can take advantage of and avoid problems with them. The note includes detailed discussions of login items, startup items, inetd, launchd, mach_init agent, and more.
March 3rd, 2007

New Wiki Consolidates Quartz Composer Info the central source for Quartz Composer :: wiki I had found to be an excellent source for cool Quartz Compositions, but now it's evolved to support a wiki that appears to have an excellent, comprehensive catalog of information on using Quartz Composer. Everything from coding custom patches and using JavaScript in a Quartz Composition to lessons on optimizing your composition are here. Definitely a must-bookmark if you're interested in Quartz Composing.
January 20th, 2007

Prototype.js Gets A New Home, With Actual Rooms!

Prototype Javascript Library: Easing the development of dynamic web applications title textAh, now this is more like it! No more having to scrounge around the web for documentation, examples, and tutorials on Prototype.js, the Ajax-wise JavaScript library that's taken the web developer world by storm over the last year and a half. Now, thanks to a lot of dedicated developers working on the project, the library finally has its own website that's more than just a billboard page. Besides being able to download the library, the new site provides a blog, a section on tips and tutorials, and a full set of API documentation! Can't wait to step inside and look around.
Just Say No To Flash