Musings from Mars Banner Image
For Software Addicts: Yes!MaybeNah!
Resource Posts In Category <em>   Programming</em>

Resource Posts In Category Programming

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...
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
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).
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
July 26th, 2011

Detailed examples of how to play audio from a web page

How to play sound from a web page - UCL. From a website devoted to speech, hearing & phonetics, this is an excellent rundown of the various ways webmasters can add an audio file to a web page. Great examples and clear code for each of the 10 methods.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
January 31st, 2011

Scripty2: In Beta, A Rewrite of Scriptaculous

scripty2: for a more delicious web. Scripty appears to be a new version of Scriptaculous that incorporates support for more advanced CSS features and HTML 5. Now in beta, which is available for download. Has good documentation and a few interesting demos.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
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, CocoaWithLove.com.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
September 1st, 2010

SimpleMachines Forums: Open Source Forum Software

Home of SMF: Free PHP and MySQL forum software. Several customers have asked me to set up a forum for users of CrystalClear Interface, and I've got it on my to-do list. I ran across a site that uses SMF today, and it looks like it might be the ticket. I'll have to check out some other candidates, too, of course.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
September 1st, 2010

A Browser for Core Data

Browsing Core Data databases using F-Script. Hmm... I've been wanting something like this ever since I started learning about Core Data. In fact, the absence of such a tool has made me leery about using Core Data rather than a traditional database. I really like &mdash; and need &mdash; to see the data for my applications outside of the Mac OS X GUI context of my app. I gather that the app is written in AppleScript and uses F-Script to do the peeking. Now, I wonder if this lets you edit the data as well... ? That would be too much to hope for. :-)
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
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.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
March 24th, 2010

CocoaOniguruma: Objective-C Framework for Regular Expressions

CocoaOniguruma: Simple and tiny Objective-C binding of Oniguruma. I ran across this today after noticing that SafariStand now uses it for its regular expressions search support. Don't have a need for RegEx support yet, but I might eventually, so … I also note that the framework is open source.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
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.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
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.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
Posted in:Programming, , |
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.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
February 23rd, 2010

Quartz Composer Lab: qtzlcodex.com

qtzlcodex.com. If I ever find time to learn more about QuartzComposer and making compositions, here's a site I'll want to revisit. Includes patches, compositions, and tutorials.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
June 23rd, 2009

WebKit Introduces Styleable Scrollbars

Surfin’ Safari - Blog Archive » Styling Scrollbars. I've been so busy I missed this... it's another in the WebKit team's aggressive expansion of the possibilities for user interface development using the basic stuff: HTML, CSS, and JavaScript. The brief article on the Surfin' Safari blog has a pointer to an interactive demo.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
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.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
May 23rd, 2009

nib2cib Enables Using Interface Builder for Cappuccino Apps

nib2cib - Cappuccino nib2cib is a command line tool designed for converting Cocoa’s nibs and xibs to  <a href="http://cappuccino.org/">Cappuccino</a>’s cibs. (If you aren't familiar with  <a href="http://developer.apple.com/documentation/developertools/Conceptual/IB_UserGuide/Introduction/Introduction.html">Interface Builder</a>, Apple's application layout software, I'm sure that xibs, nibs, and cibs are glibly inscrutable. No worries. It's not required unless you're going to be working with Cocoa anytime soon...) This means you could layout your interface in IB and then use nib2cib to convert the IB output for use in Cappuccino. Pretty cool!
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
May 23rd, 2009

Compass: A New Concept for Managing CSS Styles

Compass Compass is an open-source project built on Rails that's currently in development. It proposes to provide a full-fledged framework for CSS stylesheets, whereby you would store data in Compass and then generate styles as needed for your various website projects. Compass also anticipates the need to use CSS as one way of including semantic data with your website.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
April 19th, 2009

Atlas: Very Cool Developer UI for Capuccino

Atlas - 280 North. The Capuccino project seems to be growing by leaps and bounds. In addition to the amazing presentation app the project published earlier in the year, they have now demoed an equally amazing tool for actually building Capuccino interfaces and wiring up their functionality. From what the demo video shows, Atlas is going to be Interface Builder on steroids! Maybe Apple will even learn a thing or two about the direction they should be going with their developer tools for Cocoa apps. For now, you can sign up to be emailed with progress info about Atlas, which is still in testing.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
March 31st, 2009

JSTalk: AppleScript For Cocoa Fans

ccgus's jstalk at GitHub

Here's the latest offshoot of the jsCocoa universe: JSTalk is a scripting language that can be used to easily interact with Cocoa apps. It's what Applescript would be if rewritten today using Cocoa and JavaScript. The download comes with a slew of example scripts and a script editor application.

    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
March 16th, 2009

JSCocoa — A bridge from JavascriptCore to Cocoa

JSCocoa — A bridge from JavascriptCore to Cocoa

On the heels of learning about Cappuccino, here's a project that lets developers access Cocoa from within JavaScript! Natch, it's open source, with documentation on on a google code site.

    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
March 16th, 2009

Nice Library of AppleScripts

JNSoftware - Miscellaneous Snippets of Code

There are a lot of useful AppleScripts here, providing functions I haven't seen elsewhere. Definitely worth returning to...

    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
March 12th, 2009

280 Slides - Web Presentations Made With Cocoa!

280 Slides - Create & Share Presentations Online

OK, this has to be the coolest web app I've yet encountered. So desktop-like you forget it's running in your web browser! Part of that must reflect its software foundation, which isn't javascript or flash or Air, or any of the other possible languages for Web 2.0-style apps. No, it's Cocoa--the same language (a derivative of Objective C) and framework Apple uses for its desktop apps!

The framework used is called Cappucino, a fairly new open source project that "makes it easy to build desktop-caliber applications that run in a web browser."

I'm all over this... definitely!

    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
March 9th, 2009

Classy: Unbelievably Cool Web Page Analysis

classy:web - id and class extractor

Classy is an online application that takes a URL and parses it into a very useful list of all the CSS classes and IDs on the page. It breaks the classes down to show what HTML elements they're tied to, and does the same with each ID. Besides using the website version, you can also add Classy to your browser toolbar and run it on any web page you happen across.

Classy isn't a replacement for tools like FireBug or WebInspector, but it's a highly useful supplemental tool that gives you a quick overview of a web page's CSS structure that you can't easily get with those tools.

    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
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.

    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
Posted in:Programming, , |
February 3rd, 2009

Fancy Boxes and Fancy Zooms

FancyBox - fancy image zooming tool

I keep running across cool and useful JavaScripts that emulate Apple's zoom boxes, which it uses for adding detail about products or showing larger versions of thumbnails. This is a new one to me. It doesn't have the nice rounded corners of Apple's but does have some features my other fave lacks.

Speaking of which, the script I've been using lately is FancyZoom... the variant that works with Prototype and jQuery and doesn't pull images in using Ajax. The original version of FancyZoom is also cool, more like Fancy Box.

    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
January 16th, 2009

Very Clear and Useful Article on Cocoa Debugging and Dead-Code Stripping

seriot.ch - Removing Cocoa Dead Code Using Code Coverage

Very glad I found this one... now I hope I remember I've put it here in my Cocoa bin!

    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
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!

    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
July 22nd, 2008

Theocacao: Great Resource for Cocoa Fans

Theocacao Just ran across this site today and found some great demos of new Leopard APIs for core animation. I was specifically looking for demos of using the new CGWindow methods.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
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? :-)
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
September 15th, 2007

CocoaDev’s “How To Program In OS X”: A Great Resource, But A Lousy Pointer

CocoaDev: HowToProgramInOSX I can't believe in all the times I've visited CocoaDev, including the hundreds of Google and CocoaDev searches I've done while trying to learn Objective-C and Cocoa, that this fine set of pages passed me by. The wiki page consists of a wonderful collection of articles contributed by readers on all the important subjects beginners need to learn in order to program Cocoa apps. Problem is, as a wiki, the page's title is "HowToProgramInOSX", and that's not a term anybody is ever going to type into a search engine. For that matter, neither are such great offerings on this page as "LogicalOperators," "HowToUseOutlets", "AnatomyOfADotMFile," and so on. I guess this is kind of a drawback to the default wiki "style," which is probably why successful wikis like Wikipedia provide "search-engine friendly" pointers to all of their pages. :-)
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
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.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
August 26th, 2007

Ayluro’s Source Code Snippets

Snippets of a Grandiose Scheme: Free Code! I ran across this programmer's work on CocoaDev, but he's got a few other Cocoa tricks up his sleeve...
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
August 20th, 2007

Cocoa Traces: New Repository for Cocoa Snippets

Cocoa Traces - Fragments of tasty Cocoa code Only 3 months old, this site may evolve into something truly useful and needed: A comprehensive portal for the many bits of Cocoa source code that are out there. It has a very nice search and tag system, and an easy to use interface.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
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.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
Posted in:Programming, , |
July 21st, 2007

Apple: Optimizing Web Applications and Content for iPhone

Apple Developer Connection - iPhone for Web Developers - Optimizing Web Applications and Content for iPhone I now see how Apple plans to make its standard for web "widgets" the de facto industry standard: Through the iPhone! Since widgets are now the only way third-party developers can get applications onto users' iPhones, and since Apple's released Safari for Windows, anyone can develop widgets, Apple-style, and they have an incentive to do so. Certainly, I'll be adding this onto my to-do list, and this document is an excellent starting point for learning how to do so.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
July 19th, 2007

More Cool, Free Cocoa Software, Frameworks, and More

malcom’s blog » Cocoa/ObjC Classes I ran into this programmer's site by way of his free software for combining PDF files, which I was looking up for a reader. Much to my surprise and delight, he has also donated a heckuva lot of good-looking source code and Cocoa tidbits for the world. Can't wait to come back and dig through here with a fine-toothed comb!
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
July 19th, 2007

More Eye Candy JavaScript with Prototype/Scriptaculous

Effect.Transfer I really like this effect! It reminds me of ones I'd seen on the terrific TiddlyWiki app as well as the Ajax-y BloxPress blog system for WordPress. It may come as no surprise, in fact, that the effect was developed by the author of BloxPress... as well as numerous other cool web goodies. This effect is intended to augment the collection that comes with Script.aculo.us, and the author provides several useful demos on this page.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
July 10th, 2007

Open Source Mac OS X Code Library, Organized by Author

Mac reusable source code by author name Wow! This is a great resource to keep handy... I've already run across a few of the individual contributors, but if the author of this page is actually maintaining this list, I'll definitely want to keep coming back for more! (Note: For serious hack-type geeks only!)
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
June 16th, 2007

Writing Cocoa Classes in F-Script, and Other Goodies

Andrew Weinrich Another day, another brilliant programmer offers free goodies. Today it's Andrew Weinrich, whose contributions to F-Script look awesome--his FSClass (available for download and extensively documented) can be used to write Objective-C-compatible Cocoa classes in JavaScript-like style. He also offers a command-line tool for running F-Script programs, as well as other cool items.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
June 12th, 2007

Amazing List of Cocoa Programming Resources at CATS

CATS - Cocoa Programming From RWTH-Aachen University's CATS group comes this amazing list of Cocoa links. All the ones I've tried are active and relevant, which is rare these days. There are links to other resources sites as well as links to developer-specific applications for Cocoa.
    
  • del.icio.us
  • Google
  • Slashdot
  • Technorati
  • blogmarks
  • Tumblr
  • Digg
  • Facebook
  • Mixx
Posted in:Programming, |
Just Say No To Flash