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
131 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
131 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
131 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
131 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
131 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
131 months ago
I'm just happy the traffic lights are back in the correct orientation.
Score: 4 Votes (Like | Disagree)

Top Stories

YouTube Picture in Picture Feature

YouTube Says iOS Picture-in-Picture Coming to All US Users

Friday June 18, 2021 9:41 am PDT by
After a long wait, YouTube for iOS is officially gaining picture-in-picture support, allowing all users, non-premium and premium subscribers, to close the YouTube app and continue watching their video in a small pop-up window. In a statement to MacRumors, YouTube says that picture-in-picture is currently rolling out to all premium subscribers on iOS and that a larger rollout to all US iOS...
Top Stories 63 Feature

Top Stories: Beats Studio Buds Announced, Apple Watch Series 7 Rumors, and More

Saturday June 19, 2021 6:00 am PDT by
The Apple news cycle started to move beyond WWDC this week, but that doesn't mean there still wasn't a lot to talk about, led by the official debut of the much-leaked Beats Studio Buds that might give us a hint of what to expect for the second-generation AirPods Pro. With no hardware announcements at WWDC, we also took a look at when we might finally see the long-rumored redesigned MacBook...
ios wifi settings

iOS Bug Causes Specific Network Name to Disable Wi-Fi on iPhones

Sunday June 20, 2021 4:15 am PDT by
A wireless network naming bug has been discovered in iOS that effectively disables an iPhone's ability to connect to Wi-Fi. Security researcher Carl Schou found that after joining a Wi-Fi network with the name "%p%s%s%s%s%n" his iPhone's Wi-Fi functionality was left "permanently disabled." Changing a hotspot's SSID did nothing to correct the problem, with even a reboot failing to make a...
maxresdefault

Video: 20 Annoyances Apple Fixed in iOS 15 and macOS Monterey

Friday June 18, 2021 11:36 am PDT by
With iOS 15 and macOS Monterey, Apple is adding several quality of life improvements, which are designed to address some of the complaints that people have had with these operating systems for years now. Subscribe to the MacRumors YouTube channel for more videos. In our latest YouTube video, we're highlighting some of our favorite "fix" features that address long-running problems in iOS and...
16 inch macbook pro m2 render

When Can We Expect the Redesigned MacBook Pros Now?

Wednesday June 16, 2021 7:11 am PDT by
With no sign of redesigned MacBook Pro models at this year's WWDC, when can customers expect the much-anticipated new models to launch? A number of reports, including investor notes from Morgan Stanley and Wedbush analysts, claimed that new MacBook Pro models would be coming during this year's WWDC. This did not happen, much to the disappointment of MacBook Pro fans, who have been...
space gray magic accessories trio

Apple Stops Selling Magic Accessories in Space Gray

Friday June 18, 2021 9:16 am PDT by
Apple this week stopped selling its Magic Keyboard with Numeric Keypad, Magic Mouse 2, and Magic Trackpad 2 accessories for the Mac in a Space Gray color, around three months after discontinuing the iMac Pro, which also came in Space Gray. Last month, Apple listed the Space Gray accessories as available while supplies last, and the company has now removed the product pages from its website...
m1 v intel thumb

Intel Processor Market Share May Fall to New Low Next Year Due to Apple Silicon

Friday June 18, 2021 2:06 am PDT by
Intel may see its market share fall to a new low next year, in large part thanks to Apple's decision to move away from using Intel processors in its Mac computers and instead use Apple silicon. Apple announced last year that it would embark on a two-year-long journey to transition all of its Mac computers, both desktops, and laptops, to use its own in-house processors. Apple is expected to...
3nm apple silicon feature

Apple Supplier TSMC Readies 3nm Chip Production for Second Half of 2022

Friday June 18, 2021 6:59 am PDT by
Apple supplier TSMC is preparing to produce 3nm chips in the second half of 2022, and in the coming months, the supplier will begin production of 4nm chips, according to a new report from DigiTimes. Apple had previously booked the initial capacity of TSMC's 4nm chip production for future Macs and more recently ordered TSMC to begin production of the A15 chip for the upcoming iPhone 13,...
2021 back t0 school

Apple Launches 2021 Back to School Promotion: Free AirPods With Eligible Mac or iPad Purchase

Thursday June 17, 2021 4:56 am PDT by
Apple today launched its seasonal back-to-school sale for the upcoming school year in the United States and Canada, offering students free AirPods alongside purchases of select Macs and iPad models. Similar to last year's promotion, this year's offer includes free AirPods alongside the purchase of a MacBook Air, MacBook Pro, the new 24-inch iMac, the Mac Pro, Mac mini, and the new M1-powered ...
applecare lower prices

Apple Lowers Prices of AppleCare+ Plans for M1 MacBook Air and MacBook Pro

Thursday June 17, 2021 7:33 am PDT by
Apple today lowered the prices of AppleCare+ plans for MacBook Air and 13-inch MacBook Pro models equipped with the M1 chip. Coverage offered by the plans, as well as accidental damage fees, appear to remain unchanged. In the United States, AppleCare+ for the MacBook Air now costs $199, down from $249. The new price applies to both M1 and Intel-based MacBook Air models, although Apple no...