Skip to main content

Programming

See All Stories

Craig Federighi promotes Hour of Code workshops, saying programming is “the next level of literacy”

hourofcodeshanghai

In an interview to promote Apple’s Hour of Code workshops for kids aged 6 and up, SVP of software engineering Craig Federighi has told the BBC that introducing young children to programming is so important because programming is “the next level of literacy.”

“These devices are so much a part of our lives, we have a computer in some form wherever we go, that the ability to create in that medium is as fundamental as the ability to write,” he said […]

He says programming should be seen as a “language and a way of thinking”. And while many young people have a great facility in using devices, he says being able to programme them is the “next level of literacy”.

Federighi, who first began to experiment with code when he was ten years old, said that Apple also wanted to dispel one of the myths of life as a software engineer … 
Expand
Expanding
Close

Write Swift code in a web browser with the IBM Swift Sandbox

Screen Shot 2015-12-04 at 14.05.41

IBM has today unveiled their first public effort towards Swift, with the introduction of the IBM Swift Sandbox website. You can type lines of Swift code into the text editor on the left and then run the code on a Linux server, posting the output in the right column. This is all made possible by the fact that Swift is now open source, supporting Linux alongside iOS and OS X.

You can use the core Swift language as well as the standard library functions, so writing a formulaic mathematical problem (like the Fibonacci example above) is well within the scope of the web application. The concept is similar to the CodeRunner app from the Mac App Store, except it runs entirely off a cloud infrastructure.


Expand
Expanding
Close

Site default logo image

Stanford’s first Swift programming course now available on iTunes U

Standford-Swift-iTunes-U-course

Today Stanford is releasing its first course on Apple’s new Swift programming language for iOS and OS X and it’s available to all through iTunes U.

The course, Developing iOS 8 Apps with Swift, is offered every year by professor Paul Hegarty through Stanford’s School of Engineering but now for the first time has been updated for iOS 8 and Swift. The course includes an Introduction to iOS, Xcode 6, and Swift, More Xcode and Swift, Using MVC in iOS, Swift and Foundation, and more.

Updated for iOS 8 and Swift. Tools and APIs required to build applications for the iPhone and iPad platforms using the iOS SDK. User interface design for mobile devices and unique user interactions using multi-touch technologies. Object-oriented design using model-view-controller paradigm, memory management, Swift programming language. Other topics include: animation, mobile device power management, multi-threading, networking and performance considerations.

The course is available through iTunes U now.

For $29 9to5Toys Specials offers a Mammoth Interactive Swift Course & Xcode 6 Templates

Apple launches blog to highlight new Swift programming language

Site default logo image

Screen Shot 2014-07-11 at 10.43.11 AM

Apple has launched a blog on its official developer website to promote the new Swift programming language. Swift, which was announced at WWDC 2014, is a successor to the Objective-C programming language for iOS and OS X, and it provides new, cleaner, and more robust tools for developing applications. The blog will be dedicated to Apple engineers working on Swift sharing tidbits behind the language’s development as well as hints. Here’s the first Swift blog post:

Welcome to Swift Blog

This new blog will bring you a behind-the-scenes look into the design of the Swift language by the engineers who created it, in addition to the latest news and hints to turn you into a productive Swift programmer.

Get started with Swift by downloading Xcode 6 beta, now available to all Registered Apple Developers for free. The Swift Resources tab has a ton of great links to videos, documentation, books, and sample code to help you become one of the world’s first Swift experts. There’s never been a better time to get coding!

– The Swift Team

Additionally, the blog now discusses Swift and its compatibility with current and future versions of Apple software. You can read those details below:


Expand
Expanding
Close

Site default logo image

Flappy Bird recreated in Swift, Apple’s programming language announced just hours ago

687474703a2f2f692e696d6775722e636f6d2f314e4c6f546f552e676966

Okay, it may just be Flappy Bird, the addictive game that once took over the news cycle for days and still threatens to return again some day, but the thing here is it was written in Apple’s new programming language for developers called Swift. What’s so special about that? Swift was only announced yesterday, less than 24 hours ago, so what this simple Flappy Bird clone really means is Swift is off to a good start given its only a few hours old. You can view the code for the Swift version of Flappy Bird by Nate Murray on Github, and read more about Apple’s new programming language Swift on iBooks.

Apple announces new Xcode, ‘Swift’ programming language

Site default logo image

iOS Simulator Screen shot 2 Jun 2014 19.46.26

Apple has introduced a brand new programming language alongside a brand new version of Xcode.

Swift is a big deal for developers. The language includes loads of features third-party developers have been asking for. It sits alongside Objective-C and C, meaning developers can interchange between languages in the same project.


Expand
Expanding
Close

Facebook releases ‘Tweaks’ tool to help devs iterate on their apps faster

Tweaks

Facebook has today open-sourced its rapid prototyping tool ‘Tweaks’, a framework that helps application developers quickly iterate on their projects and test out different possibilities for their iOS apps.

The best way to improve an app is to use it every day. Even when ideas can be tested out in advance — for example, with Origami — it can still take some time with the app to see how it works in practice.

Occasionally, it’s perfect the first try. Sometimes, the idea doesn’t work at all. But often, it just needs a few minor adjustments. That last case is where Tweaks fits in. Tweaks makes those small adjustments easy: with no code changes and no computer, you can try out different options and decide which works best.

Tweaks makes it really simple for developers to adjust parameters and properties in their application and then test them out in realtime. This is particularly useful for rapid user interface development, which often consists of merely tweaking parameters (like colors or durations) than any involved work.  Normally, developers have to recompile application binaries in order to change animation curves, durations or other parameters. This is relatively slow and inefficient.


Expand
Expanding
Close

Apple offers free 1-hour computer science workshops for kids & teens

Site default logo image

code

As part of a code.org initiative to get people started with programming, U.S. Apple Stores are offering a free one-hour computer science workshop aimed at children and teens. The workshops take place in Apple retail stores on Wednesday 11th December.

It’s a one-hour introduction to computer science, designed to demystify code and show that anyone can learn the basics of programming. “The ability to code and understand the power of computing is crucial to success in today’s hyper-connected world,” says former Vice President Al Gore. Apple Retail Stores will host one-hour workshops for children and teens throughout the United States on Dec. 11 … 
Expand
Expanding
Close

Facebook releases SDK 3.0 Beta with iOS 6 integration & new iOS Dev Center

Site default logo image

Facebook announced today that it is releasing its biggest iOS SDK update yet with the release of SDK 3.0 Beta for iOS, which also includes iOS 6 integration for native Facebook login. It is also rolling out a completely refreshed iOS Dev Center with tutorials, concepts, and reference docs to help iOS app developers build great Facebook-integrated apps for iOS devices.
Expand
Expanding
Close

Analyst: Apple could use ‘iTV’ moniker for HDTV, partner with carriers for programming

Site default logo image

Apple’s rumored HDTV might be called the iTV, according to a new report from Bloomberg citing Jefferies & Co. analyst Peter Misek. In a note to clients this morning, Misek also claimed Apple might buy licenses for programming through possible partnerships with Verizon and AT&T and could “leverage content into a YouTube-like model” by taking advantage of user created video from iPhone and iPad users. He also noted “Lower margins and higher risks” will most likely keep Apple away from creating original programming. Misek did not comment on a possible timeframe for the product’s launch.

Misek’s scenario of Apple partnering with carriers for content follows a report from Reuters today that confirmed Verizon and Coinstar’s Redbox division have partnered with plans to create a video streaming service to rival Netflix and Hulu Plus. Verizon and Redbox plan to offer its first product resulting from the partnership in second half of the year. As for the possibility of Apple calling its HDTV product the “iTV.” Apple will of course have to work out rights to the name from the major United Kingdom TV network of the same name.

Just last week, Piper Jaffray analyst Gene Munster weighed in claiming Apple was talking with a “major TV component supplier” about “various capabilities of their television display components.” He also offered three possible scenarios for how Apple will approach content on its HDTV product suggesting a simple integration of third-party live TV services, to a live TV/web content combination, to an iTunes monthly subscription.

In related news, you might have come across a BestBuy survey recently that aims to gauge interest in an Apple HDTV concept. If you are interested in seeing what BestBuy dreamed up for the survey, a copy sent to us by a reader is available below (Thanks Alan!):


Expand
Expanding
Close

Codify brings visual touch programing to the iPad

Site default logo image

[youtube=http://www.youtube.com/watch?feature=player_embedded&v=jaIhEXZ7WW4]

Another nail in the PC coffin? So this year Adobe CS apps are starting to make their way to the iPad, Office docs are headed toward the Cloud and now Visual Programming tools are becoming a real possibility with the release today of ‘Codify’:

Codify for iPad lets you create games and simulations — or just about any visual idea you have. Turn your thoughts into interactive creations that make use of iPad features like Multi-Touch and the accelerometer.

We think Codify is the most beautiful code editor you’ll use, and it’s easy. Codify is designed to let you touch your code. Want to change a number? Just tap and drag it. How about a color, or an image? Tapping will bring up visual editors that let you choose exactly what you want.

Codify is built on the Lua programming language. A simple, elegant language that doesn’t rely too much on symbols — a perfect match for iPad.

You can’t export your creations to the App Store or even share them as executables yet (though they are making attempts to enable sharing if Apple lets them). But it looks like a lot of fun for now and maybe it nudges Apple to build a touch version of XCode down the road. 8 Bucks.

Two Lives Left via Daring Fireball.


Expand
Expanding
Close

Apple’s iCloud built using the SproutCore framework

Site default logo image

Apple’s new iCloud Web apps are built using the same SproutCore Javascript engine that was used throughout MobileMe.  If the favicon above doesn’t prove it, looking at the underlying code below seems to offer undeniable evidence.

SproutCore describes itself as an open-source framework for building blazingly fast, innovative user experiences on the web.

Here’s a nice interview with Charles Jolley, one of the founders of SproutCore and previous MobileMe Javascript Frameworks Manager.  He left Apple about a year ago to start Strobe – a device agnostic Web publishing engine based on…you guessed it, SproutCore.

Interestingly, SproutCore lists Strobe Inc. as its parent company.


Expand
Expanding
Close

Woz speaks up for net neutrality

Site default logo image

[youtube=http://www.youtube.com/watch?v=rGjKrEHRsFM&w=670&h=401]

Concerned about net neutrality and hold a little inner fear that one day access to the Web will involve tiered access with the ‘real’ Web almost impossible to get to?

Then be glad Apple co-founder Steve Wozniak has taken time to tell an FCC net neutrality hearing to do the right thing and enact net neutrality rules that favor the people.
Expand
Expanding
Close