Development

How a 14-year-old designer became part of Apple Arcade

Vice:

Apple Arcade’s launch was a mixture of well-known franchises (Frogger, Rayman), new games from designers during the App Store’s creative heights (Card of Darkness, Overland), and releases from high-profile publishers (Square Enix, Capcom). The service, part of a larger shift towards monthly subscriptions, is a big deal for Apple, so it made sense to double down on attention-grabbing titles.

Operator 41, also part of the launch, is hardly that, but is notable for a different reason: Operator 41 was developed by 14-year-old London designer Spruce Campbell.

Fantastic story. Hard to wrap my head around the fact that a 14-year-old was able to build a game that made the Apple Arcade cut. Remarkable.

Catalyst can rescue the Mac and grow the iPad

John Voorhees, MacStories:

The message from WWDC was clear: SwiftUI is the future, a unified approach to UI development designed to simplify the process of targeting multiple hardware platforms. It’s a bold, sprawling goal that will take years to refine, even if it’s eagerly adopted by developers.

And:

However, SwiftUI also raises an interesting question: what does it mean for Catalyst? If SwiftUI is the future and spans every hardware platform, why bother bringing iPad apps to the Mac with Catalyst in the first place? It’s a fair question, but the answer is readily apparent from the very different goals of the two technologies.

For non-developers, think of Catalyst (previously called Marzipan) as a development kit to make it easier for developers to port their iOS apps to macOS. But think of SwiftUI as more of a starting point to lay out apps that will run on all your Apple platforms.

John does an excellent job digging into the value of both Catalyst and SwiftUI, explaining each one’s place in the Apple universe. Both are important.

If I had to boil this all down to a single talking point, I’d say that Catalyst is the hero we need now, letting developers bring their iOS apps to the Mac, refreshing and enriching the Mac experience while we wait for SwiftUI to evolve and mature and for SwiftUI apps to become the norm on all platforms.

In a way, this model is similar to the early days of Mac OS X, when Carbon made it possible for classic Mac apps to run on OS X while we waited for developers to build and ship modern OS X apps.

A great read.

This page is a truly naked, brutalist html quine

Love this on two counts:

  • The page is HTML rendered as HTML, all tags visible like one of those visible person models, with all the organs and bones showing through invisible skin.

  • Quine. From the Wikipedia page:

A quine is a computer program which takes no input and produces a copy of its own source code as its only output. The standard terms for these programs in the computability theory and computer science literature are “self-replicating programs”, “self-reproducing programs”, and “self-copying programs”.

My nerd light shining through. No apologies.

Apple is listening

Marco Arment:

The “trash can” 2013 Mac Pro addressed only a fraction of the needs solved by the previous “cheese grater” towers, aged quickly without critical upgrade paths, and suffered from high GPU-failure rates from its cooling solution — all because its design prioritized size and appearance over performance and versatility in the one Mac model that should never make that tradeoff.

Over the next few years, it became clear that the Mac Pro was an embarrassing, outdated flop that Apple seemed to have little intention of ever updating, leaving its customers feeling unheard and abandoned. I think Apple learned a small lesson from it, but they learned a much bigger one a few years later.

And:

By the end of 2016, in addition to the generally buggy, neglected state macOS seemed to be perpetually stuck in, Apple had replaced its entire “pro” Mac lineup with controversial, limiting products that seemed optimized to flex Apple’s industrial-design muscles rather than actually addressing their customers’ needs.

This paints a bleak picture, one of an Apple out of touch with their Mac base, and even more so with their vast community of developers.

But:

Then, in April 2017, out of nowhere, Apple held a Mac Pro roundtable discussion with the press to announce that they were in the early stages of completely redesigning the Mac Pro.

Nice writeup by Marco. It is hard to find the right balance between listening to the experts you’ve hired to drive your company forward, but doing that without losing touch with the community that buys your products.

WWDC by Sundell

Interested in WWDC bu not able to make it out to San Jose for the big happenings? John Sundell has your back.

WWDC by Sundell is a clean, snappy web site that promises to closely follow the conference. And that coverage has already started. Check it out.

[Via DF]

Thoughts on Playdate. And delight.

Delight.

There’s just not enough delight in the world. Take a minute and wheel over to the Playdate web site and check out Panic’s new shiny. It’s delightful.

From the site:

We love video games.

We love the places they take us and the feelings they give us. We’ve grown up with them. It sounds silly, but they really mean a lot to us.

And:

We reached out to some top game designers, like Keita Takahashi and Zach Gage and Bennett Foddy and Shaun Inman.

We showed them Playdate and asked, “Want to make a game for it?”. Then we lost our minds when they said “Yeah!”

This is something special. Like watching the birth of Nintendo. It’s a grand, delightful experiment.

For $149, you get the Playdate hardware, crank and all (scroll down to the crank picture and click to turn on the sound to get a sense of what that’s all about), and a game a week for 12 weeks. Presumably, there will be follow-on subscription pricing for the game-a-week after that. And who knows, if this works, follow-on hardware.

If you’ve never experienced Panic’s game prowess, check out Firewatch. It’s on my shortlist of favorite indie games. Full of delight. And, if I’m not mistaken, there’s a Playdate in the game itself. A time-traveling Easter egg?

And if you don’t know Teenage Engineering (the hardware side of this collaboration), check out their synthesizers. Full of delight.

And if you are on still on the fence about Playdate, check out John Gruber’s take. He gets it.

Can’t wait.

So you want your app/website to work in China…

chanind.github.io:

I don’t have to do anything to make my app work in the US or Singapore or Kenya or anywhere else, and I didn’t make the Chinese government angry, so it should just work in China, right? Sadly, it’s not so simple. If your app/website servers aren’t hosted from within China, then, for all intents and purposes, it’s blocked. I mean, it will probably technically load, but will be excruciatingly, unusably slow. And sometimes it will just not load at all for hours at a time. This is true for all services hosted outside of the firewall, even in Hong Kong.

Interesting read, full of insight and useful details for folks who want exposure in China.

The MacStories shortcuts archive, an incredible resource

If you’ve never taken the time to play with Shortcuts, dig into this archive. It’s a terrific resource for interesting shortcuts, but the process of downloading and running a shortcut is also a good learning experience.

To get started, first be sure you’ve got the Shortcuts app downloaded from the iOS App Store. Run it once, just to get the on boarding out of the way, then exit.

Next, follow the headline link on your iOS device, scroll down, pick a category, and pick a shortcut. One I particularly love is Music > Apple Music Wrapped, which creates a detailed report for the music you’ve listened to in any particular year.

Tap the “Get the shortcut here” link, which will bring you into the Shortcuts app, then tap the Get Shortcut button.

Lots of choices to make, interface to make your way through, all of which gives you a sense of what you can do with Shortcuts. It also shows the immense amount of work that Federico and the MacStories team put into this effort.

Once you jump through all the hoops, return to Shortcuts and tap the Library tab at the bottom of the screen. That’s where you’ll find the Apple Music Wrapped shortcut. Tap the ellipsis (…) to see all the steps that went into the shortcut.

And, apropos of nothing, my favorite artist of 2018 was Kevin Penkin. I listen to an awful lot of anime soundtracks.

A brilliant primer on CSS

Ever want to wrap your head around CSS? This guide from Ali Spittel is well written, with lots of images to help bring the concepts home.

Bookmark. Share.

Save changes before quitting?

Niko Kitsakis (via Michael Tsai’s blog):

People called good Macintosh software “Mac-like” because that’s what it felt like. If an application did not adhere to those seemingly unwritten rules, you would develop an itch in the back of your head. Something was off.

This “Mac-like” feeling was at the core of the classic Mac OS era. It’s what gave the Mac its legendary status and its place in history. And while the first versions of OS X broke with some conventions, things became better as OS X progressed. That is to say, until 10.7 came out and started a trend of questionable design decisions that has been continuing ever since.

This is a short-but-sweet post that lays out a specific example of the power of a properly constructed interface. The oldest “Save changes” dialog asked a question, but populated the response buttons with Yes, No, and Cancel. A look at the button only was not helpful.

This evolved into the use of verbs in response buttons, with Save, Don’t save, and Cancel.

The Mac design language was so powerful, and so widely adopted, that any app that did not follow the rules stood out like a sore thumb. Mac applications were instantly recognizable, and apps from outsiders tended to look ugly, in comparison, as those outsiders did not know the rules to follow.

Does the modern macOS and iOS app universe still hew to a common standard? Are Apple’s Human Interface Guidelines lost in the incredible complexity of application creation? Are we better off with fewer rules and less oversight on the things we create? Or might the pendulum swing back, with apps that are recognized as following the iOS and macOS HIGs?

Drop down menus on your iPhone

Simeon (@twolivesleft) works on a programming app called Codea.

Over the weekend, I came across the linked Twitter thread, showing off a drop-down, draggable, menu system running on an iPhone. Take a minute to watch the first few videos in the thread.

https://twitter.com/twolivesleft/status/1081486534623223809

I love this approach. To me, it brings the best of the Mac to iOS. I also see it as a bit of a missing link, bridging the Mac and iOS. Imagine a menuing system that kicked in if you were allowed to run an iOS app on your Mac, or if a pointing device was ever allowed to connect to an iOS device.

Interesting work.

Apple launches iOS 12 Shortcuts app beta

The demos I’ve seen so far have been eye-opening.

Note that, currently, the beta is limited to developers. But one way to follow along is via Twitter. As usual with anything associated with automation, I turn first to Federico Viticci (@viticci on Twitter). Here’s just a taste:

https://twitter.com/viticci/status/1014975736367734784

I have to say, I am pretty excited about the possibilities here.

The wonder of image tracking in ARKit 2

Last week, we shared this example of image tracking using ARKit 2. Here’s another one:

https://twitter.com/nathangitter/status/1008397365018005504

Wonderful. I get that, perhaps, our AR future will be seen through glasses. But examples like these are useful even seen through the lens of your iPhone. To me, a relatively short AR transaction works just fine on an iPhone. And I do agree that a more immersive experience will require glasses or (way in the future) connected contact lenses.

Apple opens Health Records API to developers

Apple:

Today Apple delivered a Health Records API for developers and researchers to create an ecosystem of apps that use health record data to better manage medications, nutrition plans, diagnosed diseases and more. The Health Records feature allows patients of more than 500 hospitals and clinics to access medical information from various institutions organized into one view on their iPhone. For the first time, consumers will be able to share medical records from multiple hospitals with their favorite trusted apps, helping them improve their overall health.

The Health Insurance Portability and Accountability Act (HIPAA), Title II, “requires the establishment of national standards for electronic health care transactions and national identifiers for providers, health insurance plans, and employers”. The goal is to make it easy for you to access all your health care records, for you to be in control. As is, it doesn’t feel that way to me. I couldn’t tell you how to access my health care records without contacting my doctor.

To me, this API is an incredibly important step towards that goal. Imagine having your records in your control, always accessible, sharable with any doctor you visit.

Add to that the emergence of a new sector of healthcare apps that help you manage your health care, and help minimize the chance of mistakes with your meds because of, say, a prescription conflict.

How to watch today’s WWDC keynote

The tech world’s eyes will be on today’s Apple Worldwide Developers Conference keynote.

The keynote runs from 10a to noon PT (1p to 3p ET).

You can watch it on your Apple TV (launch the Apple Events app) or via Apple’s live stream.

Coincidentally, my 2015 MacBook Pro trackpad died this morning. Hoping against hope for a new Mac announcement today, even a speedbump. Not looking good, as the store is still up, no signs of a refresh.

Bloomberg: Microsoft to acquire GitHub

Bloomberg:

For Microsoft Corp., acquiring GitHub Inc. would be both a return to the company’s earliest roots and a sharp turnaround from where it was a decade ago.

The software maker has agreed to acquire GitHub, the code-repository company popular with many software developers, and could announce the deal as soon as Monday, according to people familiar with the matter.

Interesting that GitHub would choose this route over going public.

Lots of talk over the weekend over concerns with Microsoft having access to all the world’s source code. Doesn’t concern me. I password protect my private archives and trust GitHub to protect my privacy. I’ve got no reason to think that Microsoft will value that privacy any less.

This deal makes a ton of sense to me. I believe Microsoft have some of the most active and largest GitHub repositories on the planet. They know the value of GitHub, they probably have some solid ideas on tweaks to make it more useful for developers, and it makes good revenue as a business. Seems a smart move.

UPDATE: Here’s the official Microsoft announcement [H/T setteBIT].

Under the terms of the agreement, Microsoft will acquire GitHub for $7.5 billion in Microsoft stock. Subject to customary closing conditions and completion of regulatory review, the acquisition is expected to close by the end of the calendar year.

Unofficial WWDC app for macOS gets major update with iCloud sync, related sessions, more

Guilherme Rambo, 9to5Mac:

Following the update of Apple’s official WWDC app for iOS, the unofficial app for macOS has been updated to version 6. WWDC for macOS allows both attendees and non-attendees to Apple’s Worldwide Developer Conference, which starts next week in San Jose, to access live-streams, videos, and session information during the conference and as a year-round developer resource.

Another very useful feature of the app is the ability to stream live videos and recorded sessions to Chromecast devices.

If you are at all interested in WWDC, this is an incredible resource. Download the app, or access the source code (it’s open source) on the official product page.

Bravo, Guilherme.

A walk through past WWDC reveals

Daniel Eran Dilger, Apple Insider, takes a look back at past World Wide Developer Conferences and the various technologies Apple revealed. This is not nostalgia, but more an exploration of Apple’s evolving strategies, both in timing and in impact.

One bit in particular:

Recall that several years ago, Android phones essentially had a monopoly on 4G LTE service, a truly compelling and vast jump in data speed over what iPhone 5 could do at the time. That advantage lasted for years, but today is irrelevant.

Qualcomm is now trying to resurrect this in advertising the potential for 1.2Gbit mobile data on its Android chipsets–something that isn’t even available in practice from typical mobile networks. But that marketing hasn’t stopped Apple’s iPhones from being the most popular devices around the world–even with a substantial price premium.

If novel features like voice search and AI were really compelling features that drove significant numbers of buyers to new hardware, Google’s Pixel 2 and Andy Rubin’s Essential phone would not have been total duds. The reality is that mainstream buyers consider factors like longevity, reliability and brand experience, and that gives Apple a reprieve from chasing down every short-term tech fad and brief feature advantage its competitors can offer.

I thought this was a terrific read, start to finish. The WWDC keynote is this coming Monday, June 4th.

These 299 macOS apps are so buggy, Apple had to fix them in AppKit

First things first, not sure “so buggy” is the right note here. Might be that, or might be more a combination of “so important” and taking advantage of a feature or bit of code that has been put out to pasture or has been replaced.

That said, this post from Worth Doing Badly is an interesting read, developer or not. The list of apps is long and familiar and, if you are a dev, there’s some depths to plumb.

The most sophisticated piece of software/code ever written

This story was at the top of hacker news this morning. It’s a fascinating read, even if you know nothing about programming. And it’s a riveting true story. I’m convinced this would make a fantastic movie.

I didn’t quote any of it because it’d be hard to do so without including spoilers. But read it to the end. Fantastic.

Microsoft drops their cut of developer app revenue from 30% to as low as 5%

Microsoft developer blog:

Starting later this year, consumer applications (not including games) sold in Microsoft Store will deliver to developers 95% of the revenue earned from the purchase of your application or any in-app products in your application, when a customer uses a deep link to get to and purchase your application.

That’s a huge drop from the 70/30 split they had up to this point.

When Microsoft delivers you a customer through any other method, such as in a collection on Microsoft Store or any other owned Microsoft properties, and purchases your application, you will receive 85% of the revenue earned from the purchase of your application or any in-app products in your application

Note that this structure does not include games, which stick to the 70/30 split.

Does this apply any pressure to Apple to make a similar move? Windows is not quite a direct competitor to iOS, but the Windows market is massive.

Regardless, I like this move. Anything that helps improve the lot of the indie developer.

One thing Apple can do to one-up this move that would be even better for indie devs? Create a free tier, where up to, say the first $1,000 in sales goes 100% to the developer. Just a thought.

Scuttlebutt regarding Apple’s cross-platform UI project

First, if you haven’t already, take a look at this Mark Gurman article which started it all, titled Apple Plans Combined iPhone, iPad & Mac Apps to Create One User Experience.

At the core of the article:

Apple is developing the strategy as part of the next major iOS and macOS updates, said the people, who requested anonymity to discuss an internal matter. Codenamed “Marzipan,” the secret project is planned as a multiyear effort that will start rolling out as early as next year and may be announced at the company’s annual developers conference in the summer. The plans are still fluid, the people said, so the implementation could change or the project could still be canceled.

True? Not true? It’s a rumor (from last December), but one that got a lot of traction.

Yesterday, John Gruber posted the piece linked in the headline, Scuttlebutt regarding Apple’s cross-platform UI project, which brings some new, well, scuttlebutt to bear:

This “Marzipan” rumor got a lot of people excited. But Gurman’s report is so light on technical details that the excitement is based mostly on what developers hope it could mean, not what’s actually been reported. The less specific the rumor, the easier it is to project your own wishes upon it. And, oddly perhaps, we haven’t seen any additional rumors or details about this project in the four months since Gurman’s original report.

I’ve heard a few things, from first- and second-hand sources. Mostly second-hand, to be honest, but they’re all consistent with each other.

Click over to Daring Fireball to read said scuttlebutt. Interesting and, because it’s John Gruber, there’s a level of credibility that takes it beyond typical rumormongering.

34 days until WWDC.

The tragic story behind the man who helped create Tetris

Damien McFerran, Nintendo Life:

Chances are, you know the name Alexey Pajitnov. Arguably the most famous game designer to come out of Russia, he gave the world Tetris, which is regularly referred to as one of the greatest video games of all time.

However, the name Vladimir Pokhilko might be less familiar – despite the fact that he is often credited as co-creating the game alongside Pajitnov, and would later work with him on other video games. While Pajitnov continues to live off the fame of his most famous creation, Pokhilko has faded into history.

A quick read, well worth your time if you are interested in the history of video games. Tragic indeed.

Apple puts up gorgeous, animated WWDC graphic

Take a look, on the highest resolution screen you have. Beautiful work.

What’s it all mean? Are there clues in this art? The most common thing I’ve heard (and what sprang to mind for me, instantly) is a design language for Augmented Reality.

This from John Gruber:

Now, if we want to play Cupertino-ology, does the graphic offer any hints about planned announcements (like, say, a unified cross-platform set of UI frameworks for Mac and iOS) or it just a cool graphic?

That’s an interesting take.

Apple’s Worldwide Developers Conference kicks off June 4 in San Jose

Apple:

Apple today announced it will host its 29th annual Worldwide Developers Conference in San Jose from June 4 through June 8. The McEnery Convention Center will be home to the world’s most creative developer community, who come together every year to share unique perspectives and learn about the future of Apple’s breakthrough products and services.

Every year, WWDC provides an opportunity for millions of developers to learn more about how to create new experiences across Apple’s platforms for iPhone, iPad, Apple Watch, Apple TV, Mac and HomePod. A broad range of robust developer APIs, including SiriKit, HomeKit, HealthKit, GymKit, MusicKit, ResearchKit, and CoreML, give developers new ways to help users take command of everything from their health and homes, to how they get around, shop and learn. Last year at WWDC Apple debuted ARKit, and since then, developers with apps in every category on the App Store have embraced inventive ways to engage customers with virtual experiences overlaid in the real world.

Looking forward to this!

Swift and its place in the ranking of programming languages

First things first, this set of rankings is based on data from GitHub and StackOverflow. Read the post for the details on how this data was collected.

There are plenty of other ways to assess the popularity of programming languages, but this seems a reasonable approach.

It’s notable that Swift has tied Objective-C. As the post says:

Finally, the apprentice is now the master. Technically, this isn’t entirely accurate, as Swift merely tied the language it effectively replaced – Objective C – rather than passing it. Still, it’s difficult to view this run as anything but a changing of the guard.

Pass this along to your dev friends.

A lot can happen in a decade

Craig Hockenberry:

Whether you’re a developer who’s working on mobile apps, or just someone enjoying the millions of apps available for your phone, today is a very special day. It’s the ten year anniversary of the original iPhone SDK.

I don’t think it’s an understatement to say that this release changed a lot of people’s lives. I know it changed mine and had a fundamental impact on this company’s business. So let’s take a moment and look back on what happened a decade ago.

First things first, this is a great look back at a moment in time. The iPhone shipped, but there was no SDK, the secret (VERY secret) sauce that let developers build apps that sat on the shoulders of Apple’s iPhone software designers.

Craig tells the story of that first wave of folks who found ways to pry the mysteries of iPhone OS mechanics from the clues of the native apps built by Apple, dumping the classes of those apps and working out how they did what they did.

This is the work of the giants on whose shoulders future iOS developers now stand.

Craig’s writeup resonated with me very strongly. Back then, my partner, Dave Wooldridge, and I were running a publishing company called SpiderWorks, shipping eBooks for developers before eBooks had quite hit the mainstream. SpiderWorks was bought by Apress and, as part of the deal, I convinced Apress to publish a book on iPhone programming I had been contemplating.

They agreed, and Jeff LaMarche and I signed an NDA with Apple to get a pre-release version of the iPhone OS (what it was called back then) SDK.

The core of the book, Beginning iPhone Development, was a series of 20 or so apps, each of which showed off a piece of the SDK. Jeff and I brainstormed the concepts, and he did all the heavy dev lifting, with my focus on writing and re-writing to crystallize the concepts, make sure the story was clear enough for beginners to follow without too much head-scratching.

The biggest problem we ran into was the combination of an NDA (which prevented us from discussing the SDK details with ANYONE) and a rapidly changing code base. Each new SDK Apple shared with us caused all our apps to break, which meant rewriting the code and the explanatory text that showed how it all works.

Madness.

Ultimately, the book was ready to go, and it shipped within days of Apple publicly releasing the SDK and officially lifting the NDA.

That experience was one of the most grueling, and thrilling, experiences of my life. I wouldn’t change it for anything.

iPhone X and a cool special effect

[VIDEO] Developer Peder Norrby is using an iPhone X with ARKit and face tracking to create some pretty cool special effects. Watch the video (embedded in the main Loop post) for details. See also the trompe l’oeil Wikipedia page, which shows off the original artistic effect, which fools the eye into thinking it is seeing 3D.

Here’s a painting (Escaping Criticism by Pere Borrell del Caso, 1874) that really pulls this off:

Norrby is planning on releasing his work as a free app and making his source code public. Nice.