The World’s Leading Microsoft .NET Magazine
   
 
The .NET Addict's Blog

My Top Tags

                                                           

My RSS Feeds








I heart FeedBurner

Latest Diggs - Programming

Computers Blogs - Blog Top Sites

Site Hits

Total: 2,817,231
since: 19 Jan 2005

Leopard is out - let the code samples begin!

posted Fri 26 Oct 07

Now that Leopard is out and everyone is, I suspect, feverishly reformatting their laptops and desktops to install the retail copy of Leopard, developers can finally start sharing their Leopard code samples. 

Rather than me sitting around making up stupid reasons why such-and-such code sample might be useful to you, I figured I would ask what code you want to see written in Leopard. Keep in mind that I will not write code samples that do not use garbage collection or the new property syntax, so you'll just have to suffer through that ;)

I was thinking more along the lines of small but complete applications. I'm not a big fan of isolated "Hello World" applications that use contrived scenarios that violate design patterns just to illustrate small points. One thought might be to build a reference app that illustrates a bunch of sample points and then publish the app and do a series of blog posts on the finer points of each aspect of the app.

Anyway, let me know what you think and I'll get started dumping some (hopefully educational!) Leopard code.

tags:          

links: digg this    del.icio.us    technorati    reddit




1. edward left...
Fri 26 Oct 07 5:42 am

I've been waiting for this moment, the day the community can start talking together! Great.

Anyway, one problem I've been facing recently as I've got some Quartz code which behaves just lovely single-threaded, it behaves lovely with multiple-threads, it behaves single-threaded with GC switched on, and leaks like crazy when I use GC + multiple threads. Argh! Any ideas?


2. Marc left...
Fri 26 Oct 07 6:37 am

Good you ask, I've had the following fantastic idea which I guess could be commercialized easily, but I'd like to have it open source (GPL) for the learning aspect:

In short: Create an application that allows me to remote control iTunes on my Mac with the iPhone or iPod touch!

In detail: - A server application that runs on the Mac and controls iTunes - A web interface for this server app The user can then use his iPhone or iPod touch or any other browser to connect to his Mac and remote control iTunes.

The benefit: While my Mac runs in room A, the sound of iTunes plays on the Airport Express in room B. The user can then remotely control the songs from either room! (or even any place)

Since I'm a complete novice to programming on the Mac, I'd love to see this app coded so I can learn from it. It could also be done using the new bridges to Python and Ruby, but I would prefer ObjC 2.0 and I guess you agree on that. (BTW I've got lots of experience in Java and C# so I'm not that lost.)

Why not start it on Google Code or any other free project hosting service? Feel free to contact me :-)


3. Marc left...
Fri 26 Oct 07 6:56 am

Well, my post was maybe a bit too early. I expected finding something, but not that much: Searching for "itunes web remote control" finds already lots of applications and samples...


4. damien left...
Fri 26 Oct 07 9:30 am :: http://damieng.com/

I thought it wasn't out until 5pm today? That's what the guy at the Bellevue Apple Store told me - and it's typically 5 hours after I leave the country so I'll have to wait until I get home... and hope they have their copies in there.


5. Rob left...
Fri 26 Oct 07 11:56 am :: http://www.bluespire.com/blogs

Well, I don't know anything about programming on the Mac. So anything is good for me. I'm eager to learn. Bring it.


6. Julian left...
Sat 27 Oct 07 12:59 pm

Hi Kevin,

I'd like to see some samples using NSCollectionView. From what I have seen so far it would make for a nice table substitution for presenting data in some cases.

~~Julian


7. JulesLt left...
Sun 28 Oct 07 7:43 am

I think the NDA ended at midnight the day before (allowing the reviews to be published on the same day).

As for iTunes remotes - I recall having a web app to do so via the PSP, but it wasn't that great - you had to page through multiple screens. The 'problem' is more the client side than the Mac side - would have to be an AJAX app until we get the iPhone SDK. (My dream would be a Coverflow interface to my network library).


8. edward left...
Tue 06 Nov 07 7:50 am

Ah, ignore my earlier comment. No NSApplicationMain() call, no multi-threaded GC it seems. It also seems GC slows down Quartz 2D, so back to reference counting for me :(


Tag Related Posts

Apple drops the iPhone NDA for Released Software

Wed 01 Oct 08 3:54 P GMT-05
tags:          

Cappuccino, Objective-J, and You

Wed 10 Sep 08 6:14 P GMT-05

So I'm in the LA Times ;)

Wed 27 Aug 08 2:51 P GMT-05
tags:                  

MobileMe vs. Live Mesh Throwdown - Round 1

Wed 16 Jul 08 10:33 A GMT-05

Building Model Classes in C# and Cocoa

Sun 15 Jun 08 3:13 P GMT-05
tags:            

MobileMe vs. Live Mesh - Round 1

Wed 11 Jun 08 12:20 A GMT-05

My Macbook Air is masculine, dammit!

Mon 17 Mar 08 6:59 P GMT-05
tags:          

iPhone Underrated as a Gaming Device?

Fri 14 Mar 08 1:50 P GMT-05
tags:        

My take on the iPhone SDK

Sat 08 Mar 08 1:39 P GMT-05

Jobs says "not likely" to Flash on the iPhone

Thu 06 Mar 08 1:39 A GMT-05
tags:          

My Macbook Air Review

Sun 02 Mar 08 4:20 P GMT-05

iPhone Roadmap March 6th

Fri 29 Feb 08 10:41 P GMT-05
tags:        

Video of the Macbook Air in Action

Wed 20 Feb 08 3:04 P GMT-05

Macbook Airはきれいですよ!

Sun 17 Feb 08 2:38 A GMT-05

Why is O'Reilly Condoning iPhone Hacking?

Mon 11 Feb 08 3:55 P GMT-05

Evaluating my next laptop purchase

Wed 06 Feb 08 8:40 P GMT-05

The iPhone SDK key has been leaked! Oh Noez!!!1

Tue 29 Jan 08 11:36 A GMT-05
tags:        

Why Geeks just don't "get" the Macbook Air

Thu 17 Jan 08 2:30 P GMT-05

Popcorn + TiVo + Macbook Pro + iPhone == Hell Yeah!

Tue 15 Jan 08 3:11 P GMT-05
tags:          

How my ADC membership changed my life

Mon 31 Dec 07 3:57 P GMT-05
tags:      

Leopard Code Sample : Sprinkling in some Bonjour

Tue 27 Nov 07 2:32 P GMT-05
tags:        

Leopard Sample: A Bound NSCollectionView

Mon 29 Oct 07 1:41 A GMT-05

My Leopard Installation Experience

Sun 28 Oct 07 12:57 P GMT-05
tags:    

Leopard is out - let the code samples begin!

Fri 26 Oct 07 10:09 A GMT-05
tags:          

My life is complete : iPhone SDK is CONFIRMED.

Wed 17 Oct 07 6:38 P GMT-05
tags:          

Leopard Shipping October 26th!!

Tue 16 Oct 07 4:59 P GMT-05
tags:        

My iPhone Review

Mon 23 Jul 07 1:09 P GMT-05
tags:        

Microsoft Codename Acropolis - Unwrapped

Wed 20 Jun 07 3:22 P GMT-05
tags:              

The dreaded language bleed-over has begun

Tue 19 Jun 07 6:23 P GMT-05
tags:        

Exploring the Delegate Design Pattern

Mon 14 May 07 6:30 P GMT-05

Core Data - Almost too Easy?

Wed 18 Apr 07 2:23 P GMT-05

Exploring the MVC Pattern in WPF

Tue 10 Apr 07 12:51 P GMT-05
tags: