« January 2007 | Main | March 2007 »
February 27, 2007
Weekly cocoa challenge cancelled
Unfortunately I overestimated how much time I had on a week-to-week basis. As such, the "weekly" portion of the cocoa challenge is being discontinued.
I will still continue posting updates to the challenge when I do things, but the frequency isn't going to be anything consistent by any means. Sorry folks.
Posted by Chris Forsythe at 06:08 PM | Comments (0)
February 12, 2007
Some new code in MacCode (already!)
So Brian has added a nice little snippet for how to deal with hyperlinking text. He describes some of it here.
Also, Marcus is working on some CoreData snippets. Those should be fun.
Posted by Chris Forsythe at 09:40 PM | Comments (0)
February 09, 2007
More on the MacCode repo
So while at c4 I was talking to folks, and a few of us hit upon the aggravation of trying to find source code examples for mac apps. They are everywhere, but not in a centralized location. Apparently metrowerks used to have something you could submit code snippets to, but that's long ago in a far far away place.
So something has to be done. Code on cocoadev.com is hard to find because it's a wiki. Code in other places is either hard to find, hard to gather, or hard to just even know about. So basically what I've done is create a repo on Google's code site, and started adding code to it. I've not added much mind you, but I have started adding svn:externals along with other folks doing some work as well.
- PSMTabBarControl is now hosted out of this repo.
- All past and future weekly cocoa challenge source will be hosted out of this repo
- Some code Adam Iser wrote to give you pill bar toolbars is in the repo
- Other stuff
There's a need for code here, from anyone who is interested in submitting it. I think that for this to be successful, a community would have to form around it, in general. So I was thinking of creating a mailing list for this as well, but I wanted to know how much interest there is from other folks.
Also, and this is directed to jasarien directly, the solution for DudeMenu is in the same Xcode project as the previous Dude app. Hurray targets.
Anyhow, the repo info is here:
http://code.google.com/p/maccode/
If you are interested in submitting code, do a whois on my domain and you will find my email address to contact me with.
Posted by Chris Forsythe at 08:51 PM | Comments (1)
February 07, 2007
The weekly cocoa app challenge, week 4
This week, the challenge is, as requested, toolbars.
However, that howto on cocoadevcentral is not going to help you here. Go do that howto, and then come back here.
I'll wait..
waiting...
*launches the xbox 360*
*plays gears of war*
*plays ninety nine nights*
*plays tony hawk project 8*
*switches to the wii*
*plays raving rabids for an hour*
OK, done? Good.
Now it's time to learn the aged old trick of.. that's right. Not doing the hard work when someone has done it already. It's good to learn how to make a toolbar, but once you know how.. it sucks.
So, long story short, this challenge is 2 part:
1 - do the howto from cocoadevcentral. Learn how a toolbar is made programatically.
2 - do it the sane way after that, with generictoolbar
The app I am providing for this challenge is using generictoolbar. The url for the app is here: TwilightToolbar
Also. if you sign up on the Cocoaforge Forums, you will see the hidden Coding and Applescript forums, which can be used to discuss general cocoa, and these challenges.
Good luck!
Oh, and as always, #cocoa on irc.freenode.net can be used to discuss these challenges as well.
Posted by Chris Forsythe at 07:33 PM | Comments (6)
Change of location for source code or welcome to the maccode repo
I've decided that, at this point, it makes more sense to start hosting the source code for these projects in a svn repo.
Source code for week 1, 2 and 3 are all in the maccode repo. Week 3 is part of the week 1 project.
Look in the weeklycocoa directory once you do a checkout. If you've never used subversion before, now is the time to start learning how to use it.
Also, if you have useful code snippets, utilities, or whatever else which is 3 clause bsd or mit licensed, I'd be glad to see it in this repo. I'll post more about the maccode repo in a bit.
Also, if I'm posting about source code, guess what that means! Week four post coming up as soon as I do one last compile.
Posted by Chris Forsythe at 07:20 PM | Comments (0)
February 04, 2007
New Adium
For those folks who are interested, we just put out Adium 1.0
For those folks curious, working on odds and ends to get Adium 1.0 is why the latest weekly cocoa has been postponed.
Also, I purchased an xbox 360. This may also have something to do with it. Between the Wii and the 360, I don't know how much computer I can fit into my day any longer. At least I beat zelda twice!
Posted by Chris Forsythe at 02:07 AM | Comments (3)