Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sonsongithub/numsw

Swift library like numpy, playgrounds notebook like jupyter.
https://github.com/sonsongithub/numsw

linearalgebra matrix playgrounds swift swift-playgrounds

Last synced: 7 days ago
JSON representation

Swift library like numpy, playgrounds notebook like jupyter.

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/sonsongithub/numsw.svg?branch=master)](https://travis-ci.org/sonsongithub/numsw)

# numsw
Swift playground book like numpy and jupyter notebook.

![screen shot 2017-03-04 at 19 51 28](https://cloud.githubusercontent.com/assets/33768/23578167/0dd300b2-0114-11e7-8988-213aa79e37ef.png)

# How to install, iPad

## How to build Playground Book

You have to install Swift playgrounds application via [AppStore](https://itunes.apple.com/jp/app/swift-playgrounds/id908519492?mt=8). And, build playground book using the following commands.

```
cd Tools
./build-book.rb # build playground for iPad and Xcode
```

## How to send Swift.playgrounds

One can send playground book to iPad via AirDrop.

Drag and drop to your iPad in AirDrop view, like below image.

![airdrop](https://cloud.githubusercontent.com/assets/33768/23662643/9adcfbda-0393-11e7-8a40-a8d1d4975b7b.png)

After sending playground book to your iPad, following alert is shown on yours. And then tap `Playgrounds` in order to import it into Swift playgrounds.app.

![screen shot 2017-03-08 at 0 08 13](https://cloud.githubusercontent.com/assets/33768/23662653/a19ed70e-0393-11e7-98da-e87010f93685.png)

# How to use on Xcode

Double click playground file to open it, and then playground view will be opened.
One can open playground view by tapping the icon inside red circle in the below image.

![xcode](https://cloud.githubusercontent.com/assets/33768/23663131/074b81b4-0395-11e7-8fcb-ced5a44db10a.png)