This Week's Sponsor:

Collections Database

A Powerful Database with iCloud Sync



Continuity’s Statement

From Shawn Blanc’s article on WWDC 2014, I particularly liked this bit about Continuity:

But I think Continuity is more than just a better implementation of a cool feature. I see it as a “philosophical” feature as well — it’s a statement that we use our devices for many of the same tasks, and that “work” is device agnostic. Continuity is a way of telling the Apple user it’s okay to expect their devices to always be in sync down to the very mid-sentence of an email in progress.

This is a great way to put it. Continuity is one of those features that “just make sense” – of course my activity should follow me around seamlessly – and it highlights an important point: devices and OSes are different, but the experience should always be consistent and natural.

Permalink


Swift Links

The third big announcement that followed OS X Yosemite and iOS 8 yesterday was Swift, Apple’s new programming language meant to replace Objective-C.

From Apple’s website:

Swift is an innovative new programming language for Cocoa and Cocoa Touch. Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next iOS and OS X project — or for addition into your current app — because Swift code works side-by-side with Objective-C.

Swift has been in the works since 2010, as confirmed by Chris Lattner, Director of the Developer Tools (via John Siracusa):

I started work on the Swift Programming Language (wikipedia) in July of 2010. I implemented much of the basic language structure, with only a few people knowing of its existence. A few other (amazing) people started contributing in earnest late in 2011, and it became a major focus for the Apple Developer Tools group in July 2013.

The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas. Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list.

One of the key features of Swift is interactive Playgrounds, which will allow you to type code and see the results appear immediately:

Playgrounds make writing Swift code incredibly simple and fun. Type a line of code and the result appears immediately. If your code runs over time, for instance through a loop, you can watch its progress in the timeline assistant. The timeline displays variables in a graph, draws each step when composing a view, and can play an animated SpriteKit scene. When you’ve perfected your code in the playground, simply move that code into your project.

As an introduction to Swift, Apple has created the Swift Programming Language guide, available as a free eBook on iTunes and on the web:

Swift is friendly to new programmers. It is the first industrial-quality systems programming language that is as expressive and enjoyable as a scripting language. It supports playgrounds, an innovative feature that allows programmers to experiment with Swift code and see the results immediately, without the overhead of building and running an app.

Over at The Verge, Ben Popper talked to iOS and OS X developers and collected their reactions to Swift:

The other big idea behind Swift is that programmers can write their code and see the results in real time. In the old paradigm, developers write line after line of code in a text box, then compile those results — sometimes a lengthy, painful, productivity-denting task — and wait to see the end result. The product and the process were distinct from one another. With Swift, they can tweak a parameter or algorithm and watch the changes happen right away in the same coding environment. Theoretically, this means developers can toy with concepts faster and make what they’re trying to make in less time.

Last, Tim Stevens has a good general overview at CNET, explaining the differences between various programming and scripting languages and Apple’s approach with Swift:

Scripting languages, like Python, tend to be easy to write and easy to test, but they aren’t particularly powerful and generally don’t perform well. Not ideal when you’re writing, say, a game that needs access to the full power of your device. Traditional programming languages, like Objective-C, give better access to the power of the device and enable the creation of more comprehensive apps, but are difficult to learn and tedious to compile and test.

Swift promises to have all the good with none of the bad. Apple promises that, at least in a few key benchmarks, it is considerably faster to execute than Python and faster even than Objective-C. But, despite that, the language supports what’s called “playgrounds” within the Xcode developer environment, visualizing Swift code in real-time, like a scripting language.

Permalink

iOS 8 Lock Screen and App Shortcuts Based on Location

Juli Clover, writing for MacRumors:

One new feature sees the iPhone displaying apps on the lock screen based on location. For example, MacRumors readers have seen relevant app icons pop up while at or near brick and mortar locations like Starbucks and the Apple Store. While at a Starbucks, for example, the Starbucks app icon is displayed in the lower left corner of the iPhone’s lock screen, which allows a Starbucks Passbook card to be easily accessed.

I haven’t seen this feature mentioned anywhere on Apple’s website, but I’ve read tweets from other users noting the same behavior for banks and other local points of interest and stores.

It’s interesting to think about this in combination with Near Me, an App Store section that was launched with iOS 7 to highlight relevant apps for your current location. Personally, I’ve never relied on Near Me because its recommendations were slim (I only get a single app for my town), but the idea of proactively injecting shortcuts in the Lock screen for apps based on location intrigues me.

I’d be curious to know if this feature will only work with apps that are already installed (thus simply launching them) or if it will also act as an extension for Near Me, allowing you to quickly discover relevant apps from the Lock screen.

Permalink

Peer-to-Peer AirPlay in iOS 8

From Apple’s Enterprise webpage for iOS 8:

With iOS 8, you can wirelessly connect iPad, iPhone, or iPod touch to Apple TV without first connecting to the organization’s network. Which means you can present or share your work even if you’re offline or the organization has a complex network.

AirPlay with no network connection will make it easier to beam presentations (and games) wirelessly to an Apple TV when you can’t connect to the Internet. Apple allowed Bluetooth-based setups for Apple TVs last year, and it’s good to see them extending AirPlay’s capabilities to make it more ubiquitous.

Permalink

OS X Yosemite Will Feature Option to Record Real-Time Footage of iOS Apps

Apple will provide an easier and integrated way to create screencasts for iOS apps with the upcoming iOS 8 and Yosemite software updates, using a Lightning cable and QuickTime Player on OS X. As reported by Benjamin Mayo at 9to5Mac, the feature is primarily meant to let developers create App Previews for the improved App Store launching with iOS 8, but it’ll also come in handy for users willing to capture videos of iOS apps for screencasts, reviews, and other video content.

Read more


More iOS 8 Features

iOS 8, announced by Apple at WWDC yesterday, will feature major improvements to Messages and inter-app communication, a new Health app and predictive keyboard, and changes to several system apps and features.

Among big additions and redesigns, however, there are always smaller features and hidden tweaks that the company only briefly mentioned during the keynote or described with a short paragraph on their preview website. In this post, I collected 15 other iOS 8 features that are worth noting and waiting for.

Read more


Vying for the Hearts of Developers

[…] the mobile revolution is over, and the war is now between Apple and the Google / Samsung alliance for the hearts of developers.

That’s why Apple spent fully one-third of its presentation today on new developer features, including an entirely new programming language called Swift. That’s why iOS is opening up in entirely new ways, including previously-forbidden things like letting apps talk to each other and even share interface elements with the system. That’s why Apple is building out the foundations of both health-tracking and home-monitoring platforms that big companies like Nike and Honeywell can tap into alongside smaller players like the smart lock maker August and speaker company iHome. And that’s why Apple is adding all sorts of little features to its systems that only power users really want, like widgets in the notification shade and replacement software keyboards. Make the developers happy, and they’ll stick around to write great apps that rely on the iPhone as the center of the universe.

It’s been less than 24 hours since Apple’s WWDC 2014 keynote, but already there have been a wave of opinion pieces, criticisms, compliments and everything in between. But so far, my favorite article has come from Vox’s Nilay Patel (just ignore Vox’s weird, almost click-bait headline). Like every opinion, not everyone will agree with it, but Patel makes some strong arguments about how Apple has now laid a really solid foundation for its immediate future. Apple wants to sell consumers on their ecosystem and in order to make that appealing to consumers, Apple is making their platform as attractive as possible for developers and other third parties such as those which provide health-tracking and home-automation products.

If Apple succeeds at attracting the very best developers and third party products to the Apple ecosystem it will make it that much more appealing for new consumers to buy in (and as Tim Cook jokingly said, have “a better life”) and that much harder for existing customers to leave the ecosystem. As someone who has invested in the Apple ecosystem in recent years, yesterday’s announcements were very encouraging and restored my confidence that this ecosystem will continue to grow in convenience, utility and value. I for one can’t wait to see what the developers bring us later this fall with the public release of iOS 8 and OS X Yosemite.

Permalink