Apple's new Swift coding language hopes to lock down errors

Apple's new Swift coding language hopes to lock down errors
Apple Vice President Craig Federighi didn't have a Steve Jobsian "one more thing" for the faithful at the Worldwide Developers Conference on Monday morning. But he did end on an unexpected note. Apple debuted a new programming language called Swift that the company hopes will make coding faster while eliminating catastrophic errors."We have a new programming language. The language is called Swift, and it totally rules," said Federighi as the crowd exploded with applause. Related storiesApple unveils OS X YosemiteApple announces iOS 8 at WWDC 2014Here's what we learned from Apple's WWDCApple supercharges iOS gaming with MetalFull coverage of Apple's WWDCSwift is native to Apple's Cocoa and Cocoa Touch frameworks on which OS X and iOS are respectively built. Federighi outlined an ambitious goal to replace the Objective-C and Python languages with a single language that is faster and easier to code in."It's impressive that they've managed to develop a full-fledged modern replacement entirely in secret -- as well as a little concerning, given how difficult it can be to evolve a language design in isolation," said Landon Fuller, a developer and the chief technology officer at the developer co-operative firm Plausible Labs."By designing a language like Swift independently, they were able to produce something that interoperates seamlessly with their existing platform," Fuller said.During the keynote address, Apple released a Swift guidebook to the iTunes Store -- a move that underscores how eager Apple is to get developers on the Swift track.Swift promises to be a sort of a holy grail for developers, employing the best of C and Objective C without its compatibility restrictions. It also promises to put an end to the "infinite loop" errors, of which the recent "goto fail" debacle was a part of.Swift promises to blaze past Objective-C and Python, with complex object sort 3.9 times faster and RC4 encryption 220 times faster than Python. Federighi promised that developers simply won't be able to make entire classes of errors that currently plague them, even though code written in Swift will be able to run alongside current Objective-C code.Chris Lattner, Apple's director of developer tools, then took the stage to demo how quickly the language can be tested. He wrote a few lines of code in Swift that assigned values of a variable to the position of a blimp in his demo development environment, and the app was instantly able to show the blimp moving. No building or compiling was required.Although there have been a lot of programming languages introduced in recent years, including Dart, Go, Rust, Haxe, and TypeScript, their progenitors have found it hard to make them stick.Gordon Haff, a Red Hat Linux cloud evangelist and longtime developer advocate, expressed disappointment on Twitter that Apple opted to develop a proprietary language instead of choosing a more open platform.For Apple's operating systems, "if you want to do mobile development, you pretty much have to use what Apple provides," Haff said.That could also be an indicator that Swift will succeed where other languages have languished, because Apple essentially has a captive audience of enthusiastic developers."Whether this has an impact beyond Apple will likely depend on whether Apple makes Swift available as an open-source project," Fuller said. "There's a lot of renewed interest in implementing compiled, efficient, safe languages, and from what I've seen of Swift's design, it's a worthwhile entrant in the space."Corrected at 5:33 p.m. PST Swift is 220 times faster than Python, not Objective-C.Update at 5:04 p.m. PST with additional comments.


New iPads, Apple TV boxes to share 'A5X' chip (report)

New iPads, Apple TV boxes to share 'A5X' chip (report)
Adding to previous chatter, a new report says Apple will unveil a new Apple TV set-top box alongside its next iPad.In a report this afternoon, The Verge says both devices will get their debut at tomorrow morning's special event and that there's a reason for that: they both use the same chip. Citing anonymous sources, The Verge says the chip will be the previously rumored (and photographed) "A5X," versus the A6--the latter being the expected quad-core chip and successor to the dual-core A5, currently used in the iPad 2 and iPhone 4S. Separately, a source told CNET that Apple plans to use a dual-core chip, versus one with four cores.The Verge's report also mentions that Apple's next tablet will feature more RAM than the iPad 2, include the much-rumored 2048x1526 Retina Display, and support 4G LTE, with Apple offering separate models to support the different standards, as it did with the 3G models of the iPad 2. (Note: this is the second such report today to offer that the next iPad will support 4G LTE networks.)As for what's new with the Apple TV set-top box, The Verge says it will get support for 1080p (up from the current model's 720p output), a move tied to the AirPlay mirroring feature that works on the iPhone 4S, iPad 2, and presumably the next iPad. Considering that Apple doesn't offer 1080p content through its iTunes Store, the 720p limitation has made sense, but bigger resolutions will be more important, given the much-rumored higher resolution on the tablet, as well as the upcoming Mountain Lion OS X update, which will let Mac users beam their screens to their TV sets.Related stories4G iPad reportedly slated to be sold by Verizon, AT&TNext iPad will be the iPad HD, not the iPad 3Apple iPad 3 may get March release date, 4GiPad 3 rumor roundupApple TV isn't 1080p and you shouldn't careThe Apple TV--which is not to be confused with Apple's much-rumored, and eventually expected, TV set--has been in short supply in recent weeks, with a report from MacRumors last night noting that you can't find one in 98 percent of Apple's retail stores in the United States. Retailers began discounting the product as long ago as November, with Amazon changing the listing to the "2010" model.Apple is widely expected to take the wraps off the next iPad at its event tomorrow morning, with a new report today claiming that the device will go on sale on March 16. CNET will be there to cover the event live.CNET Blog Network contributor Brooke Crothers contributed to this report.


Bluetooth LE in Apple TV shows NFC sidestep

Bluetooth LE in Apple TV shows NFC sidestep
Apple has added a new set-up feature to Apple TV that makes the experience look an awful lot like an NFC "tap-to-connect" experience. On any third-generation Apple TV, you can now set up by tapping your iPhone against the TV for your first iTunes sign-in. It will then pass all your details to the Apple TV. No fussing about with the Apple TV remote to tap out passwords and user details one letter at a time.Between devices, NFC is typically acting as a first step in a simplified Bluetooth pairing process. So this Bluetooth LE method is skipping the NFC middleman, while keeping things just as simple.NFC still holds advantages, with unpowered tokens that can trigger interactions or device state changes â€" both Samsung and Sony offer special tiles and tokens to use in this way.The Bluetooth LE advantage is that it removes the need for a direct contact interaction. Instead, an interaction can be initiated within a radius of up to 50 metres. The low-power requirement also means that iBeacons can be implemented as small stand-alone devices that can run up to two years on a watch battery.Apple has supported Bluetooth 4.0 since the iPhone 4S, but this new process seems to have arrived thanks to the new "iBeacon" system in iOS 7. One of the less-discussed features of iOS 7, iBeacons are Bluetooth LE transmitters that can cheaply create zones of presence for iOS 7 devices to interact with.PayPal has recently announced its Beacon system that it aims to roll out in stores around the world, which operates on the same Bluetooth LE system as Apple's iBeacon. PayPal does suggest its own system will not directly be an iBeacon service, stating its own service is "better than" iBeacon's because it's available cross-platform. It also suggests that the PayPal service has better privacy policies than iBeacon.Google has added Bluetooth LE support for the first time in Android 4.3. That's a good sign that everyone will get any benefits of an iBeacon-led shift in in-store digital commerce. iBeacon vendors are already pointing to cross-platform software development kits (SDKs) to ensure non-iPhone users can also be part of what's coming.NFC has had three years in the wild but never quite gained traction in the store payment landscape. With these early signs of Apple's new iBeacon efforts, with Bluetooth LE and PayPal also joining the Bluetooth LE party, the true contactless payment revolution may be on its way in 2014.


The 404 401- Where we take everything out of context

The 404 401: Where we take everything out of context
The team is back together now that Jeff is back from his trip to Atlantic City, where he reportedly spent the majority of his time playing blackjack and a series of analog video games like Batman: Dark Knight pinball, skeeball, and bubble hockey. In celebration of Jeff's return, we surprise him with the image you see above, the final superhost of The 404--COMMODORE! Defending the world from positive vibes with his giant hockey stick, Commodore also wields the might Power Glove, which, unfortunately, is incompatible with today's villains, but it still looks cool! Big thanks goes out to Hayato Shimizu for his great work with all three characters, maybe we'll even seen a picture featuring LaserJet, G-Force, and Commodore battling crime for the future of podcasting!The 404As usual, we have a lot to talk about today, and kick it off with some rumor mongering about the latest Zune HD. CNET's own Donald Bell reports that Amazon is showing off retail pricing for the portable media player, listing the 16GB Zune HD at $219 and the 32GB at $289. The rumor mill continues to churn over Steven Spielberg taking over as producer for the Halo movie adaption, although the three of us are still skeptical about any long-form video game story adaptation, as we all remember what happened with CHUN-LI. We also look at the latest commercials for the Chevy Volt and its how viral advertising is affecting viewer participation.Finally, Wilson G. Tang took it upon himself to create a 404 Dashboard Widget for Mac OS X users! You can download the video or the audio version and have the show play in the background while you finish "working." Best of all, this blog description populates nicely into the widget as well, making it super easy to auto-update and listen to your favorite episodes! Download them and let us know what you think!EPISODE 401PodcastYour browser does not support the audio element. Subscribe in iTunes audio | Suscribe to iTunes (video) |Subscribe in RSS Audio |Subscribe in RSS Video This content is rated TV-MA, and is for viewers 18 years or older. Are you of age?YesNoSorry, you are not old enough to view this content.PlayFollow us on Twitter!The 404Jeff BakalarJustin YuWilson TangAdd us on Facebook!The 404 Fan PageThe 404 GroupJustin YuJeff BakalarWilson Tang


MeCanto, Psonar offer free online music lockers

MeCanto, Psonar offer free online music lockers
I wasn't able to test MeCanto because I don't have a supported phone, but I gave another service, Psonar, a look. Psonar has a slightly different spin on music lockers. Like the other services I've covered, it requires you to download a free app,the Psonar SongShifter (Windows-only), which scans your computer and uploads your music collection to Psonar's cloud-based locker service. But unlike the other services, it doesn't let you stream music from the locker to your mobile device. Instead, you have to add phones to your Psonar network by connecting them to your PC. Once you've done that, you can log into Psonar's Web site from any browser--including your phone's browser--and upload and download music between your devices and your Psonar cloud at will. Psonar claims that streaming isn't a great scenario on most phones anyway because it drains battery life, and notes that this Web-based approach lets it support any phone with a Web browser--even feature phones. At the same time, this doesn't really solve the problem of storage limits on mobile phones.The Web site worked quite well for playing back uploaded music, but the SongShifter upload app was pretty buggy in my testing--I couldn't get it to display properly (the window didn't allow resizing), and it didn't recognize my iPhone, even after I connected it to my Windows XP laptop several times in several different ways (with iTunes running and closed, and with SongShifter running and closed). Nonetheless, you might want to give it a test yourself--the current version of the service is free and lets you connect three devices, so you don't have much to risk. Later this summer, Psonar intends to release a Premium version of the service that will let you connect unlimited devices, at a price of $6 a month.


Easy access to Airplane mode an iOS 7 security flaw -- researchers

Easy access to Airplane mode an iOS 7 security flaw -- researchers
Apple's Control Center in iOS 7 makes it easier to access certain functions, but a recently released study from security researchers suggests it might be causing harm.Security researchers at German firm SR Labs posted a video to YouTube recently showing how the easy access to Airplane Mode in Apple's Control Center could give hackers the extra time they need to exploit a device.Here's how the scenario could play out: a hacker steals an iPhone running iOS 7. As soon as they get their hands on the locked device, they open Control Center from the lock screen and turn on Airplane Mode. From there, they set out to break into the device and change Apple ID passwords to prevent the owner from accessing the device.The turning on of Airplane Mode is the important function in this scenario. Having easy access to Airplane Mode in iOS 7 effectively takes the device offline, eliminating the owner's ability to find out where the iOS device is and remotely wipe it. That provides hackers with the time they need to break into the device.In iOS 6, Airplane Mode was available only after getting through the lock screen and there was no Control Center, meaning hackers couldn't take advantage of the hack in previous installations.In addition, the researchers warned that Apple's Touch ID fingerprint sensor could allow for new attacks. In an interview with CNET sister site ZDNet, they indicated that creating a spoofed fingerprint to open the handset is as simple as snapping an image of a latent fingerprint with another device and using some equipment to complete the job. The researchers claim the fingerprint spoofing will only take one hour to complete.Here's the full video to find out about iOS 7 and iPhone 5S flaws:


Easily save Web pages, documents in iTunes for use with iOS devices

Easily save Web pages, documents in iTunes for use with iOS devices
Step Two. We now have to tell PDF Services that it can save PDF formatted files to iTunes. Open a new Finder window and click on your Home Folder (your username). Click Library, then PDF Services. You may notice other aliases in this folder (Evernote, for example, takes advantage of this function). Screen Capture by Joe AimonettiSwitch to your first Finder window and drag the iTunes alias into the PDF Services folder in the second window. You can also rename the alias to something like "Save PDF to iTunes" (the file name is what shows up in the Print Dialogue Box).Step Three. Find a Web page that you'd like to save for reading later on your iOS 4-enabled device with iBooks installed. For the purposes of this hint, I used Matt Rosoff's article on iPhone Atlas Handicapping the mobile music services. From the application menu bar (in this case, Firefox) choose File > Print.Step Four. In the Print Dialogue Box that appears, look at the lower-left corner for the button that says "PDF". Click it to reveal the drop down menu for PDF Services. Screen Capture by Joe AimonettiChoose "Save PDF to iTunes" (or whatever you renamed your iTunes alias). If iTunes is not already open, it will launch and add the PDF to the Books section, ready to be synced the next time you plug in your iPhone or iPad.Screen Capture by Joe AimonettiStep Five. Sync your iPhone or iPad. Be sure you have checked to sync Books in your device preferences. You can now launch iBooks on your device and read Web pages or other documents saved as PDFs right from your iPhone or iPad.Screen Capture by Joe AimonettiBe sure to check us out on Twitter and the CNET Mac forums.Submit a fix to MacFixIt! Email Us.


Early iPhone prototype sported 5x7-inch screen

Early iPhone prototype sported 5x7-inch screen
Two years before its debut, the iPhone was as large as an iPad Mini.A 2005 prototype of the iPhone was five inches wide and seven inches tall, according to images leaked to blog site Ars Technica through a former but unnamed Apple employee. The employee apparently worked on several hardware projects for Apple in the early 2000s and was able to check out the early iPhone versions.Though it matched the size of an iPad Mini, the iPhone prototype wasn't quite as svelte. The prototype was around two inches thick compared with the Mini at just over a quarter of an inch.Related storiesApple's iPhone might have been a 'Mobi'Future iPhones could be controlled by squeezing themSlim chance of Apple-Intel chip deal anytime soon, analysts sayApple may be close to resolving Brazilian iPhone trademark fightIn contast to Apple's "less is more" philosophy, the prototype was home to a number of ports, including an Ethernet port, a serial port, and several USB ports.However, those ports were installed simply to help developers more easily work with the device and were never intended for the final consumer product, ArsTechnica's source said.Still, the phone was in an obvious state of flux during its development, and "at that early date no one knew what [the final device] would be," the source added.But the processor isn't that much different than the one used in the 2007 debut version of the phone. The ARM chip in the prototype looks like a variant of Samsung's S3C2410, according to Ars writer Andrew Cunningham, who called it "a distant relative of the chip the first iPhone ended up using, just older and slower."The S3C2410 is an ARM9 chip, while the 2007 iPhone used an ARM11 chip. But the prototype shows that Apple tapped into Samsung for the phone's ARM chip right from the start.


Dutch treat- Another day, another patent ruling in Apple v. Samsung

Dutch treat: Another day, another patent ruling in Apple v. Samsung
Here we go again.A Dutch court ruled today that Samsung does not violate a patent Apple holds on the so-called pinch-to-zoom feature in mobile software. The feature, which allows users to employ their two fingers to zoom in or out, is a central component in mobile operating systems today.Today's ruling comes down just months after Apple lost similar battles in Dutch and British courts to enforce the pinch-to-zoom patent against competitors HTC and Google-owned Motorola Mobility. Apple had hoped in each case to ban products that it believed infringe its patents banned from sale.Related storiesPatents suggest stylus; Mode-based interface customizationKodak patent complaints target Apple, RIMCNET News Daily Podcast: Tech industry opens wallets for HaitiApple files patents to manage home energyApple seeks ban on U.S. Nokia importsSo far, neither Apple nor Samsung has been able to deal a decisive blow in their patent battles. Apple has come closest with a victory earlier this year in a San Jose, Calif., court in which a jury found Samsung to be violating some of the iPhone maker's patents. The jury paved the way for Apple to receive $1.05 billion in damages and the ability to ban Samsung products. However, there's still a long way to go -- and who knows how many appeals -- before that could happen.Today's ruling is by no means the end of the battle between Apple and Samsung. If history is to be our guide, a few setbacks here and there mean nothing to the companies as they fight for patent dominance.CNET has contacted both Apple and Samsung for comment on the ruling. We will update this story when we have more information.(Via Reuters)


Download the 10 billionth App Store app, win $10,000

Download the 10 billionth App Store app, win $10,000
Apple will be awarding one lucky (and timely) person a $10,000 iTunes gift card to commemorate the download of the 10 billionth App Store app.The easiest way to win the prize is to download the 10 billionth app from the marketplace before entry forms are submitted from Apple's site. In order to make it fair to those who might not want to download more apps to their devices, Apple is offering a "non-purchase method" for entering the sweepstakes. Those folks need to fill out an entry form to join in.People who opt for the non-purchase method will be able to win by submitting their entry form just prior to the 10 billionth app's download.There are some limits to Apple's giveaway. For one, entrants must be 13 years of age or older to participate. Apple is also limiting user involvement to 25 downloads or entry-form completions per day.Apple has established a countdown page for folks to see how many apps have been downloaded so far. As of this writing, the site shows over 9.7 billion downloads, and about 1,000 apps were reportedly being downloaded every three seconds.Apple's App Store growth has been impressive, to say the least. The company tallied its first billion downloads in 2009, just nine months after the App Store's launch. It announced back in June that 5 billion apps had been downloaded.But when it comes to giveaways, Apple is starting to fall short. When 13-year-old Connor Mulcahey downloaded the one billionth app, he was given an iPod Touch, a MacBook Pro, and a Time Capsule, in addition to a $10,000 iTunes gift card.


iOS 8 adoption rate hits the doldrums

The uptake of iOS 8 appears to have stalled. Updating its App Store Distribution page on Tuesday, Apple pegged iOS 8's share at 69 percent, just one point higher than the 68 percent recorded around two weeks ago on January 6. The number doesn't reveal the full scope of iOS 8 adoption but rather shows the iOS devices that visited the App Store on Monday, January 19. Mobile analytics firm Mixpanel showed a slightly higher market share of 71 percent for iOS 8 as of Monday. Fellow analytics firm Fiksu displayed a 68 percent share as of Monday. The latest figure from Apple does indicate a more leisurely continuation of the shift to iOS 8. Prior to January, adoption of the new OS had been proceeding at a slow but steady pace, from 47 percent on October 5 to 56 percent on November 12 and 64 percent on December 22. Such a slowdown presents a challenge for Apple, which requires iOS 8 for certain apps and services that it's trying to push, including Apple Pay, the new Health App and HealthKit and the HomeKit home automation platform. Apple's iOS figures include devices that have upgraded to iOS 8 from a previous version as well as new iPhones, iPads and iPod Touches that automatically come with the new version. So the slowdown in adoption may simply be a result of fewer people buying iOS devices following the holiday season. ios8-adoption-jan-19.jpg Apple But iOS 8 has seen its share of troubles and multiple versions since its release last September, so some iOS 7 users may still be jittery about updating. The initial version of 8.0 sprouted a few bugs that Apple had to fix with iOS 8.0.1 a week later. However, the fix created even more trouble, preventing people from connecting to cell networks or use the Touch ID fingerprint sensor. Apple quickly pulled iOS 8.0.1 and launched 8.0.2. The company continued to follow up with iOS iOS 8.1 on October 20 and iOS 8.1.2 on December 19. Developers are currently testing the fourth beta of iOS 8.2, a version that will introduce WatchKit, a framework for developing apps for the Apple Watch. Apple is also reportedly prepping a minor 8.1.3 update with some under-the-cover bug fixes, according to MacRumors and other sources. At some point, iOS 8.x needs to settle into a stable and trusted version that iOS users will want to embrace to get all the latest features. Until then, adoption of the latest OS may continue at a snail's pace.