It happens in a moment of inspiration.
You get an idea for the next great app. Move over, Snapchat. Move over, Twitter. Move over, Instagram. This is going to be a big deal.
But there’s one thing you don’t know. How to get it from your head into the App Store, onto the 700 million iPhones Apple has sold, and onwards towards glory, fame, and venture capital funding.
Read on to find out how iPhone apps are made.
The first step is the most costly: A $99 annual enrollment into the Apple Developer Program, which entitles you to make apps for the Mac, iPhone, iPad, and Apple Watch, plus Safari browser extensions.
Apple's developer program also lets you try the early preview versions of the next versions of iOS and the Mac OS, so you can make sure your app works with them.
The bad news is that it's for Mac OS X only, making life difficult for Windows developers.