TrollDropPlayground 从您的iPad通过AirDrop发送Trollfaces到附近设备

TrollDropPlayground 从您的iPad通过AirDrop发送Trollfaces到附近设备

Swift 其它杂项

访问GitHub主页

共24Star

详细介绍

TrollDropPlayground

Send trollfaces via AirDrop to nearby devices... from an Xcode playground or an iPad running the Swift Playgrounds app.

Usage

Build Playgrounds

The .playground files can be built with one of the following rake commands:

# Build iPad and Xcode
rake build

# Build Xcode only
rake xcode:build

# Build iPad only
rake ipad:build

Xcode

  1. Open the built Xcode.playground in Xcode.
  2. Press the "Execute Playground" (play) button in the bottom toolbar, or select Execute Playground from the Editor menu.

Syncing Changes

After building the Xcode.playground file and opening it in Xcode, you may have made changes. In order to easily re-integrate those into the main repo, you will want to run the following command:

rake xcode:sync

iPad

  1. Send the build iPad.playground to an iPad supporting the Swift Playgrounds app (any 64-bit iPad). (You could even send the playground via AirDrop 🤔 ?)
  2. Tap the "Run My Code" button.

Author

Alexsander Akers, me@a2.io

Original implementation in collaboration with Boris Bügling.

License

TrollDropPlayground is available under the MIT license. See the LICENSE file for more info.