iTunes 10.5 Beta is 64-bit, and... Cocoa?

The beta version of iTunes 10.5 released to developers last week is the first version of iTunes to run in 64-bit mode. The distinction is perhaps a bit minor for an app like iTunes, but has been the source of much discussion over the years. What's perhaps of more significance is the belief that this 64-bit support must mean that iTunes has been ported from Carbon to Cocoa, though that line seems to be rather blurred.

The primary advantage afforded 64-bit applications is the ability to address more than 4GB of memory which can be a distinct advantage for applications which use large data sets. Adobe, for example, received some criticism in 2008 that their Photoshop products were slow to adopt 64-bit mode on the Mac. 64-bit Photoshop for Mac ultimately arrived with CS5.

The reason for the long delay was the fact that Apple dropped support for 64-bit mode in Carbon back in 2007, requiring developers to port their existing Carbon applications to Cocoa in order to take advantage of 64-bit mode. This primarily affected older applications such as Photoshop and iTunes which had existed prior to Mac OS X and were still using Carbon, Apple's legacy API. Meanwhile, Cocoa was Apple's native API for Mac OS X and offered some additional user interface advantages. For better or worse, many users saw Cocoa applications as superior to their Carbon counterparts due to historic baggage of many of the Carbon applications.

itunes 10 5
The latest iTunes 10.5 developer beta does run in 64-bit mode in Mac OS X Lion, but still runs in 32-bit mode in previous versions of Mac OS X. Discussions in the forum, however, point out that there is still some debate about the "Cocoa vs Carbon" status. Despite the changeup, iTunes reportedly feels very similar to the previous versions, and doesn't come with dramatic changes. So those hoping for a complete revamp will be disappointed.

A couple of notable changes, however, include the fact that iTunes for Lion now supports Full Screen Mode and also returns the close/minimize/maximize buttons to their usual horizontal location.

Top Rated Comments

iindigo Avatar
152 months ago
I didn't realize that switching to Cocoa resulted in a palpable difference in an Application's UI :p
Actually, it does. If you go back to Xcode 3.2, open Interface Builder, and create a Carbon application window, the set of widgets it gives you to work with is largely different than when creating a Cocoa window. Also, the way the system draws windows is different between Cocoa and Carbon - for instance, Cocoa stretches the titlebar's gradient across the width of the titlebar while Carbon tiles it.

And of course, features that we've taken for granted in Cocoa applications are not present in Carbon counterparts - at least without extra effort on the developer's part. These things include spell checking, grammar checking, the Command-Ctrl-D dictionary popup among several other things.

Also, while it's not true in all cases, many carbon applications have ancient codebases with years of code fragments and bloat scattered throughout, sometimes leading to a more "clunky" experience for the user.
Score: 10 Votes (Like | Disagree)
cmaier Avatar
152 months ago
I know this is only a beta, but I'm going to say this flat out: iTunes 10.5 is crap. Full screen mode is glitchy. Traffic lights don't perform properly when iTunes is behind another application (no scroll over effect). Not all of the scroll bars have that "rubber band/springy" effect. And, a host of other minor issues. Basically, it feels subpar for a native application.

Not only is it a beta, but it's a beta designed only for developers to test their stuff. Chill.
Score: 8 Votes (Like | Disagree)
goodcow Avatar
152 months ago
And you are either in breach of an NDA or using a pirated application.

Who the hell cares. You're on a website whose purpose is to post news about people leaking information.
Score: 6 Votes (Like | Disagree)
tomasf Avatar
152 months ago
iTunes 10.5

Whether or not iTunes 10.5 is Cocoa depends on your definition, but let's check instead of speculating. It's easy to attach a debugger (returning from ptrace calls to avoid NOATTACH) and inject F-Script Anywhere. Using FSA, you can navigate the view hierarchy.

It turns out that iTunes 10.5 is Cocoa in that it uses AppKit windows containing views. The toolbar in Preferences is even an NSToolbar, and after enabling customization using FSA, you can even move the items around! Views in the main window seem to be NSView wrappers ("ITBackingHostView") for something implemented in C++ ("ITView"), presumably to be able to share code with Windows (for which I guess they use another wrapper).

So yes, it is Cocoa. Partially wrapping non-native controls.
Score: 5 Votes (Like | Disagree)
peopleinatree Avatar
152 months ago
iTunes 10.5 is not Cocoa... or at least not fully Cocoa. Cocoa apps are dock aware; meaning when you pull their window title bar below the dock and let go it will move the window title above the dock. iTunes 10.5 does not exhibit this behavior.
Score: 5 Votes (Like | Disagree)
deannnnn Avatar
152 months ago
I'm just happy the traffic lights are back in the correct orientation.
Score: 4 Votes (Like | Disagree)

Popular Stories

iPhone trade in

Apple Adjusts Trade-In Values for iPhones, Macs, and More

Wednesday January 25, 2023 9:40 am PST by
After announcing new Mac and HomePod models last week, Apple adjusted its trade-in values for select devices in the United States. iPhone trade-in values decreased by up to $80, and most Android smartphones also went down. Mac trade-in values remained unchanged or increased by up to $40 depending on the model, while some Apple Watch models increased in value and others decreased. Trade-in...
iphone 15 pro wifi 6e

Internal Apple Document From Leaker 'Unknownz21' Confirms Wi-Fi 6E Will Be Limited to iPhone 15 Pro Models

Friday January 27, 2023 10:01 am PST by
Multiple rumors have suggested that the next-generation iPhone 15 models will adopt the Wi-Fi 6E standard that Apple has already introduced in the iPad Pro and MacBook Pro, and now a leaked document appears to confirm Apple's plans. Sourced from researcher and Apple leaker Unknownz21 (@URedditor), the document features diagrams of the iPhone 15's antenna architecture. D8x refers to the...
iPhone 14 Pro Purple Side Perspective Feature Purple

iPhone 15 Expected to Feature Wi-Fi 6E Like Latest Macs and iPad Pro

Wednesday January 25, 2023 5:39 pm PST by
The iPhone 15 will support Wi-Fi 6E, according to a research note shared this week by Barclays analysts Blayne Curtis and Tom O'Malley. The analysts did not specify whether the feature will be available on all models or limited to the Pro models. Apple has added Wi-Fi 6E support to a handful of devices so far, including the latest 11-inch and 12.9-inch iPad Pro, 14-inch and 16-inch MacBook...
maxresdefault

Hands-On With the New M2 Max MacBook Pro

Thursday January 26, 2023 12:14 pm PST by
New 14-inch and 16-inch MacBook Pro models with the latest M2 Pro and M2 Max chips are available in Apple retail stores and are already in the hands of customers, and we picked up one of the new M2 Max machines to answer all of the questions MacRumors readers considering a purchase might have. Subscribe to the MacRumors YouTube channel for more videos. Yesterday, we asked MacRumors fans on...
Mac Pro 2019 Apple

Mac Pro Enthusiasts Raise Concerns Over Upgrade Limitations of Apple Silicon

Thursday January 26, 2023 6:30 am PST by
The new Mac Pro coming later this year is expected to feature the same spacious modular design as the 2019 model, but with fresh concerns over its lack of upgradeability surfacing, some users are beginning to wonder what the transition away from Intel architecture actually means for Apple's most powerful Mac. The current Intel Mac Pro that Apple sells is popular with creative professionals...
iOS 16

iOS 16.3 for iPhone Launching Next Week With These 4 New Features

Friday January 20, 2023 11:43 am PST by
In a recent press release, Apple confirmed that iOS 16.3 will be released to the public next week. The software update will be available for the iPhone 8 and newer and includes a handful of new features, changes, and bug fixes. Below, we've recapped bigger features in iOS 16.3, including support for physical security keys as a two-factor authentication option for Apple ID accounts, worldwide ...
iPhone 14 Pro Purple Side Perspective Feature Purple

iPhone 15 Pro Rumored to Have These 8 Features

Friday January 27, 2023 2:11 pm PST by
Apple's next-generation iPhone 15 Pro and iPhone 15 Pro Max are expected to be announced in September as usual. Already, rumors suggest the devices will have at least eight exclusive features not available on the standard iPhone 15 and iPhone 15 Plus. An overview of the eight features rumored to be exclusive to iPhone 15 Pro models:A17 chip: iPhone 15 Pro models will be equipped with an A17...