Apple CEO Tim Cook. By Justin Sullivan/Getty Images Programmers on Thursday got a nice surprise from Apple when the company kept its promise to make its popular new programming language Swift "open source."

That means that anyone can download the language, use it, see how it's put together, and make and share changes.

Within 30 minutes of the announcement, the news had already gone viral on Hacker News and Reddit, and the website Swift.org was struggling to keep up.

There was just one problem. Although Apple had promised to make the code available via GitHub — the website where such open-source projects are shared — the code wasn't there.

Programmers simply found an empty GitHub page.

Everyone was speculating that the Swift.org site was accidentally leaked live by mistake.

What, no files? Github And yes, Business Insider has learned that this is exactly what happened. All was supposed to go live later in the day, at 1 p.m. ET.

And then it was a what-the-heck moment. They left it live and let everyone stay in suspense for a few hours until the actual files were made public on GitHub.

Apple had actually promised that it would open-source Swift months ago, so everyone knew this day was coming sooner or later.

The files are now available, and the project has zoomed to the top of the trending charts on GitHub, too.

Close iconTwo crossed lines that form an 'X'. It indicates a way to close an interaction, or dismiss a notification.Check mark iconA check mark. It indicates a confirmation of your intended interaction.