Skip to content

puntorigen4u/blockly-ios

 
 

Repository files navigation

The blockly-ios project is no longer actively developed by the Google Blockly team. If you are looking to create a new Blockly-based app, we recommend using the web version in a WebView. We have also create an XCode demonstration project that does exactly this.

Blockly for iOS

Blockly is a library for building drag-and-drop visual editors for JavaScript, Python, Lua, and several other programming languages.

Blockly for iOS is similar to its web counterpart in terms of API, but is:

  • Optimized for native iOS performance and easier integration in iOS apps
  • Written in Swift, with backwards compatibility for Objective-C projects
  • Designed with better touch support, such as custom input controls and multi-touch

Here is a demo of using Blockly for iOS to program a "turtle":

Blockly demo

Features

Blockly for iOS includes:

  • All major features available in Blockly for Web and Android
  • Multi-touch support (currently only on iOS)
  • Block animations (currently only on iOS)

Requirements

Supports devices running iOS 8.0 or above.

Get Started

To get started using Blockly for iOS, follow this guide.

To run through an exercise in creating an iOS app with Blockly, see our codelab.

API Reference

For complete API documentation, visit our API Reference Page.

License

Google is proud to offer Blockly for iOS for free and open source under the Apache License, version 2.0.

Community

Blockly has an active developer forum. Please drop by and say hello. Show us your prototypes early; collectively we have a lot of experience and can offer hints which will save you time.

Registration

Help us focus our development efforts by telling us what you are doing with Blockly. The questionnaire only takes a few minutes and will help us better support the Blockly community.

Contributing

Want to contribute? Great! First, read our guidelines for contributors.

Packages

No packages published

Languages

  • Swift 95.0%
  • JavaScript 3.0%
  • Objective-C 1.1%
  • Other 0.9%