This Week's Sponsor:

Collections Database

A Powerful Database with iCloud Sync


Posts tagged with "developer tools"

Apple Announces New Apple Music API

Today Apple announced a new Apple Music API via its Affiliate Program Newsletter. According to Apple, the API:

…allows iOS apps to directly control Apple Music playback and more. We encourage affiliates to use the Apple Music API to provide a superior user experience by integrating music into their apps.

With the Apple Music API you can:

  • See if a user is currently an Apple Music member
  • See which country the user’s account is based in
  • Queue up the next song or songs based on a song ID for playback
  • Inspect playlists already in My Music or create a new playlist with a title and description (see App Store Review Guidelines for limitations).

The announcement coincides with the introduction of a new Apple Music Best Practices for Apple Developers page that serves as a hub for developer and affiliate program resources related to Apple Music. The page includes:

  • App Review guidelines applicable to the Apple Music API, some of which are new.
  • Links to developer documentation for the Apple Music APIs.
  • A summary of Apple Music identity guidelines regarding the use of the Apple Music name, logos, and related matters, with a link to the more comprehensive Apple Music Identity Guidelines.
  • Links to more information regarding the iTunes Affiliate Program.
  • A link to the Apple Music Toolbox page for searching Apple Music in each of the 113 Apple Music countries by artist, song, album, playlist, Connect, curator, radio and music video, from which you can generate affiliate links.

One thing I’d like to see added to these tools is the ability to return search results for items like playlists using the iTunes Search API, which would allow developers to generate affiliate links to them programatically. Right now those links can only be generated from the web-based search tool in the Apple Music Toolbox. Nonetheless, it’s nice to see Apple Music being opened up to developers, and not surprising given the emphasis on services during Tuesday’s investor call.


Stanford’s iOS 9 Class Has Started on iTunes U

Stanford University has published an iOS programming course (CS193P) on iTunes U annually since the very first iPhone SDK was released. Back then, the course was taught by Apple engineers, which was unheard of at the time, and a perhaps a sign of greater openness to come. There are still a lot of good basic lessons on Objective-C, model-view-controller patterns, and other fundamentals in that first lecture series, even though Cocoa Touch APIs have changed substantially over the years. But, perhaps my favorite lecture from that first class is a short talk Loren Brichter gave on the development of Tweetie, his Twitter client that was the first app to feature pull-to-refresh and was eventually purchased by Twitter.

Now, seven years later, Stanford has begun posting lectures for Developing iOS 9 Apps with Swift. It helps to have some basic object oriented programming experience before taking on this class, but don’t let that discourage you. When I started teaching myself programming I watched that first lecture series over and over, stopping to research things I didn’t understand as I went. And even if you’re not interested in learning to program for iOS, go back and watch Loren Brichter’s talk, it’s a fascinating time capsule of how far iOS has come and the clever tricks programmers used in 2009 to get around the technical limitations of early iPhones.

Permalink

Apple Launches Safari Technology Preview for OS X

Safari is joining the growing collection of apps and developer tools that Apple wants to open up for public testing. Earlier today, Apple unveiled Safari Technology Preview, a separate version of Safari for OS X that will allow users and developers to test upcoming WebKit features.

Safari Technology Preview (which, unlike the regular Safari, has a purple icon) is a standalone app that will be updated every two weeks from the Mac App Store.

The browser will be fully compatible with iCloud: contrary to WebKit Nightly previews (the existing way of testing upcoming WebKit changes), Safari Technology Preview supports iCloud Tabs, Reading List, bookmarks, and every other iCloud feature of the stable version of Safari. Integration with iCloud should make it easier for users and developers to test Safari Technology Preview as their daily browser as they won’t lose access to their iCloud account and personal data.

Here’s Apple’s Ricky Mondello:

Safari Technology Preview is a standalone application that can be used side-by-side with Safari or other web browsers, making it easy to compare behaviors between them. Besides having the latest web features and bug fixes from WebKit, Safari Technology Preview includes the latest improvements to Web Inspector, which you can use to develop and debug your websites. Updates for Safari Technology Preview will be available every two weeks through the Updates pane of the Mac App Store.

Features already available for testing include support for the latest iteration of JavaScript (ECMAScript 6), the B3 JavaScript JIT compiler, and a new way to programmatically cut and copy to the clipboard in response to a gesture.

Safari Technology Preview requires a Mac running OS X 10.11.4 and it’s available for download today here.


Twitter’s Fabric App Brings Real-Time Analytics and Crash Reporting to the iPhone

Over the past few years, Twitter has created and acquired an impressive array of mobile developer tools that it offers under the umbrella brand of Fabric. Today, Twitter released an iPhone companion app for Fabric that puts two of its most popular tools in your pocket – analytics and crash reporting. I have been testing Fabric, the iOS app, with two iOS apps provided by Twitter for the last few days and I’m impressed with its ability to sift through, organize, and display large quantities of data in an effective and meaningful way on an iPhone.

Read more