Skip to Content

Submit your nominations for the Luxist Awards' Best in Decor
AOL Tech

Cocoa posts

Filed under: Cool tools, iPhone, iPod touch

TapLynx media-based iPhone app builder from NewsGator released

TapLynx SDKThe iPhone app platform TapLynx from NetNewsWire was released yesterday, after months of anticipation. TapLynx provides you with a way to build media-rich iPhone applications without having to write any code. It's basically NetNewsWire's way of leveraging their RSS expertise along with their iPhone development skills, in the form of Brent Simmons.

Although TapLynx users don't need Cocoa knowledge, if you're a Cocoa developer you can use TapLynx to quickly add media management features to your app. In fact, NewsGator distributes TapLynx as a Software Development Kit, making its development roots fairly obvious. Beyond the ability to customize the user interface and choose the feeds you want your app to display, TapLynx offers the unique feature of being able to do remote updates to the app. This means that you can change a number of things in the app including the look-and-feel without requiring an update to be submitted to the frustratingly slow App Store.

Brent Simmons, the developer behind TapLynx, is the guy behind the perennial Mac favorite RSS reader, NetNewsWire. What many people don't know is that before he did NetNewsWire he worked at UserLand, creating tools for developers. So in some ways this is Brent returning to his roots.

[Update] As commenters have pointed out, the pricing for TapLynx is a little over the top: $3,499US for an Enterprise license, which is the only type of license they offer. That makes the news of TapLynx's release a little less interesting, in my opinion.

Filed under: Analysis / Opinion, OS, Rumors, Leopard, Developer, iPhone, iPod touch, Snow Leopard

Is the future of Mac...the iPhone?

I was chatting with my TUAW colleagues this morning about Mac versus iPhone programming. And as per usual with these conversations, we veered in the direction of unfettered speculation. It's an occupational hazard.

As someone who regularly develops on both platforms, I declared that the iPhone represents the future of Mac programming. The iPhone, I posited stated, offers a great new platform without the need to be fully backwards compatible like the Mac. Our own Victor Agreda challenged me to back up that position. After a bit of time and thought, I decided to do so in this post.

My key point is this: Apple's engineers have learned a lot of important design lessons during the history of OS X. When the iPhone debuted, it gave those engineers the chance to rebuild an OS and an API from the ground up. Those engineers could craft a platform and its libraries that built on the Mac's successes without dragging along its less fortunate design decisions. Yes, there were some lemon frameworks that initially made the grade, but over time, Apple has reduced their number.

Even now, Apple continues its iPhone design process, adding new frameworks and APIs at a prodigious rate. The iPhone OS remains a work in progress, developing in ways and directions that the initial release two years ago could not have anticipated. And Apple does this, knowing fully that the closed platform allows them a great deal of design freedom that would not have been possible on the open Macintosh.

In contrast, consider in how many ways the Mac's successful history drags the platform down. A commitment to existing APIs and historical design practices show up in nearly every Mac development project. The simple elegance of the iPhone's built-from-the-start-as-Objective-C 2.0-based API is largely missing from Cocoa libraries.

Whether you're working with buttons, menus or simple text views, the iPhone development approach simply works better: beautiful 2.0-style properties, consistent API design, better-thought-out object inheritance trees, and so forth. With the iPhone, you see a great new platform evolving without the need to be fully backwards compatible

Snow Leopard, with its minimal API changes has bought the Macintosh a few years of stability. But I think it's time for Apple to rethink the platform as a whole, re-imagining its API through the lens of current iPhone OS development. While Snow Leopard offers Apple the room to stay still for now, I can see Apple moving forward in a separate engineering effort to Cocoa Touch Mac, a hypothetical cross-platform OS that supports general development on iPhone and future Mac devices like my imaginary snow-princess-rainbow-pony-iTablet.

The ghost of NeXT-past, as TUAW-colleague Joachim Bean puts it, still haunts us. It's time to exorcise the unhelpful bits of that pervasive spirit and usher in the new age of the iPhone and its API design examples. Mac OS X is, and has been, a superb development platform. What I'm suggesting is that iPhone OS might just be a better one.

Filed under: Education, Developer, iPhone, SDK, iPod touch

Earn a certificate in iPhone and Cocoa Development from the University of Washington

If you've already got a degree or a little knowledge in programming and you're looking to get in on the iPhone app craze (or maybe you wish to write a Mac app -- many people still do) you may want to look at the University of Washington in Seattle. They are now offering a certificate program in iPhone and Cocoa development, which should teach you the basics of iPhone and Mac development in a mere 90 contact hours (three classes).

Ars reports that the program may be extended to an online offering next year. I'd imagine that would be quite popular far beyond the borders of the UW campus. The course itself was developed with a stellar cast of advisors, including developers from NewsGator and OMNI Group, plus experts from Microsoft, Google and Disney Interactive and is "already close to capacity" for this Fall.

While there are myriad books, websites and other resources for learning how to write Cocoa software, this appears to be the first continuing education certification program specifically tailored to writing iPhone apps. Yes, you can write Mac apps too, but I'm guessing the majority of attendees with have mobile dollar signs in their eyes.

[via Ars]

Filed under: Analysis / Opinion, Software, Odds and ends, Developer

The iPhone is a platform for coding newbies

I love hearing this about the iPhone: the San Francisco Chronicle has a piece about how Apple's little revolutionary telephone has brought a whole new crop of programmers into the development mix. People who had never before looked at code or considered writing their own applications are getting ideas about how to make better software, picking up Cocoa and Xcode books, and going to town. And strangely, we might actually have fart apps to thank for this -- people aren't just seeing the iPhone as an innovative platform, but they're seeing the App Store as an "anything goes" environment, where even their silly little idea might work.

I don't know if we can pin all the credit for the burgeoning iPhone development scene on fart apps and the impression that even a monkey can make bestselling iPhone software (certainly Apple has set the bar and price for entry pretty low, both with the extremely cheap $100 fee for a developer account as well as the high quality Xcode software that comes on every Mac), but there is definitely something in this little device that's driving people to try and create their own software for it.

Oh, and the money probably helps, too. Still, whether people are taking up iPhone development because they want to make millions or are just looking for another hobby, it's us, app consumers, who will benefit.

Filed under: Features, How-tos, Developer, iPhone, iPod touch

iPhone Dev 101: Useful Cocoa Development Resources

It has been a while since the last iPhone Dev 101 post (and I must apologize for that -- sometime life can get in the way of different things, and this was one of those times). In this Dev 101 post, I want to take you through a few of my favorite resources for Cocoa/iPhone development. Some of these resources are books, while others are sites, but all of the resources are valuable to up and coming developers (and experiences developers) alike.

Books
Some books are just invaluable and couldn't be replaced with another. Aaron Hillegass' Cocoa Programming for Mac is just that book. Currently in its 3rd edition, the book gives you much of the Cocoa programming information that you need to program for both the Mac and iPhone. There are only a few subtle differences in programming for these platforms, namely the use of the Cocoa Touch. If you ever have the chance, going to one of the Big Nerd Ranch Cocoa programming classes gives you the ability to learn Cocoa hands-on.

Another title that is useful to beginning iPhone developers is the Beginning iPhone Development book. This book has a useful approach to stepping into the world that is programming on iPhone. It talks about numerous topics including UI design, Quartz, and OpenGL. Also covered in the book are APIs like CoreLocation and interfacing with the camera.

If you already know Cocoa and a little about iPhone development, Erica Sadun's iPhone Developer Cookbook is a great jumping off point to start development. She assumes, however, that you already understand Cocoa.

Continue reading to learn about more valuable books, websites, and resources for iPhone/Mac developers.

Continue readingiPhone Dev 101: Useful Cocoa Development Resources

Filed under: Analysis / Opinion, OS, Software, Odds and ends, Leopard, Developer

Cocotron lets you develop in Cocoa for Windows, with a little extra work


It kind of sounds like a developer's dream: create an app in Cocoa that automatically works on Windows, too. But that's what Cocotron promises, and the folks at Ecamm say the dream is there, even if it requires a lot of elbow grease. They tried using Cocotron to port an app called FileMagnet, and two months after they started, they say they did it. You can see the results above, and as they say, "Visual Studio was never opened."

But of course it wasn't exactly one-click. They had to implement a number of Apple-specific methods, and there were UI bugs, strings support, and dreaded Vista compatibility to work out. But the good news is that Cocotron is all open source, and from what the Mac Daddies say, the devs working on the project are super helpful and supportive. So, not only is it getting better every day, but every bit of implementation that gets done is something that won't have to be repeated. Sounds like a lot of "fun" (for varying values of "fun" of course) for developers to be had here.

The lines between Mac and PC, no matter what the commercials say, are blurring more and more every day, and this could turn out to be a way to develop in an environment as welcoming as Cocoa, and then bring programs back into an environment as widespread as Windows.

Filed under: Open Source, Developer

Cocotron: bringing Cocoa to Windows

Cocotron is a potentially exciting open-source project that "aims to implement a cross-platform Objective-C API similar to that described by Apple Inc.'s Cocoa documentation." What this means is that, in principle, Cocotron would allow an OS X Cocoa app written in Xcode to be easily cross-compiled for other OSes, particularly Windows.

Of course that in principle still leaves open a bunch of practical difficulties. The guys over at Magnetism Studio (developer of FileMagnet for iPhone) have a great account of how they used Cocotron to port their Mac FileMagnet Uploader to Windows. Of course it wasn't as easy as pressing a button and having a Windows executable pop out of Xcode, but after suitable adjustments (particularly to get rid of Mac-specific code) it did make a Windows version possible. In any case, Cocotron seems poised to make cross-platform development a much less costly and time-consuming process for Mac developers.

Cocotron itself is a free download and released under the MIT license.

[via Daring Fireball]

Filed under: Developer, iPhone, App Store, SDK, iPod touch

AppLoop brings automated application development to the iPhone



With the iPhone SDK, Apple is pioneering a new mobile development platform that is ahead of it's time; however, this innovation comes with a major caveat: It requires Cocoa (or Objective-C) programming knowledge. You may ask "Why is this a problem?" Well, someone might have a really great idea for an iPhone application, but not have the programming knowledge to back it up and follow through with the idea. This is where AppLoop comes in.

AppLoop is a brand-new service that allows anyone with a web browser and RSS feed to create an application similar to the AP News app and submit it to the App Store -- without ever writing a single line of code. Their service works by generating a .plist file on the server side (based on your choices). The file is then passed through a couple of AppleScripts that generates the code based on the choices, and compiles it.

The entire app-creation process takes less than a minute to complete, and you have an application ready to be deployed to the App Store. Ad-hoc versions can be requested in advance of the app being placed on the App Store. Currently, AppLoop is offering the RSS reader application, but they have plans to add additional paid features down the road.

You can find out more information about this service by visiting their website, or by watching the video [link here] above. You can also see a gallery of screenshots from one of their applications.



Thanks for the information, Eric!

Filed under: Rumors, Leopard, Snow Leopard

AI: 'Snow Leopard' to include rewritten Finder

AppleInsider claims that Mac OS X 10.6 Snow Leopard will feature (among other things) a Finder re-written entirely in Cocoa. The Finder has remained Carbon-based for the entire history of Mac OS X so far, but the long journey from those frameworks towards Cocoa seems to be reaching its end for Apple's homegrown apps.

Test versions of the new Finder are being seeded to select developers in revisions of Snow Leopard with build numbers beginning with 10A. AppleInsider notes that seeds could be more broadly available to the developer community as early as tomorrow.

As Ars Technica noted in June, Apple apps will also apparently come "wrapped" in Cocoa. Further deprecation of some Carbon APIs seems likely as well, but it's unclear yet as to how Snow Leopard's support for Carbon apps will differ from plain-ol' Leopard's.

In addition to the Finder, improvements to support for Microsoft Exchange are expected for Mail, iCal, and Address Book. Also included is a new option for booting a Mac called ImageBoot. ImageBoot takes NetBoot a step further, allowing administrators to boot a workstation into Mac OS X directly from an image on a local disk.

Filed under: Developer

JSCocoa 1.0, write Cocoa apps in Javascript

Do you want to write Cocoa applications, but happen to be handier with Javascript than with Objective-C? JSCocoa to the rescue! Similar in concept to RubyCocoa, JSCocoa provides a bridge between Webkit's JavascriptCore and Cocoa, allowing you to call C and Objective-C code, as well as build Javascript classes which inherit from Objective-C classes.

Visit the Google Code page for a quickstart and some syntax explanations. JSCocoa is open source and available for subversion checkout or direct download.

Filed under: Software, Cool tools, Open Source, Developer

MacGDBp Kills PHP Bugs Dead!

MacGDBpBothered with pesky PHP bugs? Grab a can of MacGDBp and exterminate those bugs FAST!

18 year-old Beantown open source whiz Robert Sesek has announced that he'll be releasing his MacGDBp project bright and early on Tuesday, June 17 at his Blue Static website.

MacGDBp builds on the open source Xdebug application to provide a native Cocoa Leopard-only app for remote debugging of PHP scripts. Connect to your running PHP script and you can do instruction stepping to see how your script is working. You can set breakpoints, view the current function call stack, and look at all local variable values.

Robert noted that MacGDBp is designed to be very familiar to anyone who has spent time using the Xcode debugger. He's releasing the app under the GNU GPL version 2, which (duh) means it is available at no cost.

If you do any work with PHP (hey, I'm constantly customizing WordPress myself), MacGDBp may be your new best friend. Be sure to set an iCal alarm for Tuesday morning and get your copy of MacGDBp.

Thank you, Robert, for telling us about your app!

Updated to add correct date

Filed under: Books, Developer

Bookwatch: Cocoa Programming for Mac OS X gets updated

Way back in December, our Christmas Gift Guide featured our pick of the many OS X-related books out there. One of the recommendations was the (very excellent) Cocoa Programming for Mac OS X by Aaron Hillegass - commonly referred to as 'The Bible' in the Mac development community.

At the time the book was a little outdated -- however in the last couple of weeks an updated third edition has been published. New sections feature Objective-C 2.0, Core Data, Garbage Collection, Xcode 3 and Core Animation, meaning this third edition is all ready for many of the new technologies in Mac OS X Leopard.

At just $32 (via Amazon.com), this updated version clearly ought to be on every developer's bookshelf (and aspiring developer's wishlist).

Filed under: Video, Developer, Found Footage

Video Introduction to Cocoa


Over at Theocacao Scott Stevenson has posted the video of his Introduction to Cocoa talk (entitled "Best of Both Worlds") aimed at those who want to learn a bit about Apple's preferred API for building OS X applications. The talk runs to over 90 minutes and includes "an introduction to Xcode, Interface Builder, Objective-C, Mac UI standards and more."

For anyone who has ever wanted to figure out what those developers tools are all about this is definitely worth (the rather large) download (scroll down towards the bottom) though it seems that a lot of folks are have problems getting the whole file (myself included). There's also a torrent available.

Filed under: OS, Software, Developer

Apple, Adobe, and 64-bit Photoshop


Adobe's announcement that Photoshop CS4 will be 32-bit only on OS X has the Mac web buzzing today. Accusations of blame are being shot at both Adobe and Apple by various pundits (though notably not by the companies themselves). Fortunately, some of the better Mac pundits are also weighing in with interesting opinions on this development.

Over at Ars, John Siracusa has penned an interesting historical account of the relationship of Adobe and Apple, and the Carbon API which is at the center of the controversy. He somewhat grimly sees this Photoshop development as the furthering of bad blood between the two companies and suggests that "the real storm may be yet to come" as Adobe and Apple clash over Flash and Air, etc. (witness the Flash on iPhone kerfuffle).

Over at Daring Fireball, John Gruber takes up the question of CS5 -- i.e. the next version of Photoshop after the aforementioned CS4 -- which will be biggest Cocoa port ever attempted. He points out the interesting difference between Photoshop and Microsoft Office in that the former shares a codebase between Windows and OS X, while the latter represents two completely separate projects on the two platforms. The big question is whether Adobe will even be able to pull off the Cocoa port in time and maintain its cross-platform nature (though as both Johns have pointed out, Lightroom bodes well in this regard).

In any case, this drama is just beginning to play itself out and depending on how you look at it we're in for a good many years of entertainment or frustration as the Cocoa transition of Photoshop progresses (never mind the next version of Office).

Filed under: Freeware, Developer

Cocoa developer time-saver: SparkleZip 1.1

Sparkle is an open-source module for Cocoa that allows developers to add that cool "Check for Updates" and auto-install feature with relative ease; it's used by some of our favorite applications. If you already knew that, then you might be part of the small but important group of people who would be interested in SparkleZip.

SparkleZip is a free utility with a very self-explanatory name. Drag your application onto its icon and it will read your CFBundleVersion and generate a properly named zip file, ready for appcasting. It's a few seconds shaved off of release time and a great way to prevent mishaps, given that the current version of Sparkle is not overly forgiving once an appcast is published. Meanwhile, those seconds you just saved can go towards working on your next release which, by the way, we heard was going to be awesome.

Update: Due to an editing error, the post originally implied that TextMate is a Sparkle-enabled application. Although it's listed among the apps on the Sparkle wiki, Allan has said that he does not use Sparkle to handle TextMate updates. Our apologies for the mixup.

Tip of the Day

Holding the Command key (aka the Apple key) and pressing Tab will cycle through your open applications. It's easier to Cmd-Tab if you are Copy (Cmd-C) and Pasting (Cmd-V) to and from various applications.


Follow us on Twitter!
 TUAW [Cafepress]

Featured Galleries

DNC Macs
Macworld 2008 Keynote
Macworld 2008 Build-up
Google Earth for iPhone
Podcaster
Storyist 2.0
AT&T Navigator Road Test
Bento for iPhone 1.0
Scrabble for iPhone
Tom Bihn Checkpoint Flyer Briefcase
Apple Vanity Plates
Apple booth Macworld 07
WorldVoice Radio
Quickoffice for iPhone 1.1.1
Daylite 3.9 Review
DiscPainter
Mariner Calc for iPhone
2009CupertinoBus
Crash Bandicoot Nitro Kart 3D
MLB.com At Bat 2009
Macworld Expo 2007 show floor

 

More Apple Analysis

AOL Radio TUAW on Stitcher