playgroundbook alternatives and similar libraries
Based on the "Tools" category.
Alternatively, view playgroundbook alternatives based on common mentions on social networks and blogs.
-
Awesome-Design-Tools
The best design tools and plugins for everything ๐ -
R.swift
Strong typed, autocompleted resources like images, fonts and segues in Swift projects -
SwiftGen
The Swift code generator for your assets, storyboards, Localizable.strings, โฆ โ Get rid of all String-based APIs! -
Insanity
Meta-programming for Swift, stop writing boilerplate code. -
Lona
A tool for defining design systems and using them to generate cross-platform UI code, Sketch files, and other artifacts. -
XcodeGen
A Swift command line tool for generating your Xcode project -
Tweaks
An easy way to fine-tune, and adjust parameters for iOS apps in development. -
appledoc
Objective-c code Apple style documentation set generator. -
Xcodes.app
The easiest way to install and switch between multiple versions of Xcode - with a mouse click. -
FBSimulatorControl
idb is a flexible command line interface for automating iOS simulators and devices -
FengNiao
A command line tool for cleaning unused resources in Xcode. -
GDPerformanceView-Swift
Shows FPS, CPU and memory usage, device model, app and iOS versions above the status bar and report FPS, CPU and memory usage via delegate. -
SourceKitten
An adorable little framework and command line tool for interacting with SourceKit. -
ProvisionQL
Quick Look plugin for mobile apps and provisioning profiles -
LicensePlist
A license list generator of all your dependencies for iOS applications -
AppDevKit
AppDevKit is an iOS development library that provides developers with useful features to fulfill their everyday iOS app development needs. -
Provisioning
A Quick Look plug-in for .mobileprovision files -
DBDebugToolkit
Set of easy to use debugging tools for iOS developers & QA engineers. -
Laurine
Laurine - Localization code generator written in Swift. Sweet! -
ThisCouldBeUsButYouPlaying
:black_joker: Generate Swift Playgrounds for any library. -
Attabench
Microbenchmarking app for Swift with nice log-log plots -
iSimulator
iSimulator is a GUI utility to control the Simulator, and manage the app installed on the simulator. -
Blade
Better asset workflow for iOS developers. Generate Xcode image catalogs for iOS / OSX app icons, universal images, and more. -
ViewMonitor
ViewMonitor can measure view positions with accuracy. -
Realm Browser
DEPRECATED - Realm Browser for Mac OS X has been replaced by realm-studio which is cross platform. -
Cookiecutter
A template for new Swift iOS / macOS / tvOS / watchOS Framework project ready with travis-ci, cocoapods, Carthage, SwiftPM and a Readme file -
Rugby
๐ Cache CocoaPods for faster rebuild and indexing Xcode project -
WatchdogInspector
Shows your current framerate (fps) in the status bar of your iOS app -
SuperDelegate
SuperDelegate provides a clean application delegate interface and protects you from bugs in the application lifecycle -
abandoned-strings
Command line program that detects unused resource strings in an iOS or OS X application. -
Swift Package Index
The Swift Package Index is the place to find Swift packages! -
fastlane-plugin-appicon
Generate required icon sizes and iconset from a master application icon. -
AVXCAssets-Generator
AVXCAssets Generator takes path for your assets images and creates appiconset and imageset for you in just one click
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of playgroundbook or a related project?
README
playgroundbook
A series of tools for Swift Playground and Playground books based on Apple's documentation.
It's a work in progress (see issues) but you can use it now.
Installation
> [sudo] gem install playgroundbook
Usage
To lint an existing playground book:
> playgroundbook lint MyPlaygroundbook.playgroundbook
To generate a playground book:
> playgroundbook render book.yaml
The yml file should be in the following format:
name: Testing book
identifier: com.ashfurrow.example
resources: assets # Optional
cover: cover.jpeg # Optional
deployment_target: ios10.0 # Optional
imports: # Optional, defaults to UIKit
- UIKit
- CoreGraphics
chapters:
- name: Chapter 1
edge_to_edge_live_view: false # defaults to true
live_view_mode: "VisibleByDefault" # defaults to "HiddenByDefault"
- name: Chapter 2
- etc...
glossary:
term: definition
Note that you can't use tabs when indenting in the .yaml file. Everything needs to have spaces in order to work properly. Otherwise you will end up with parse
errors.
Each chapter needs to have a corresponding playground; so Chapter 1
requires there be a Chapter 1.playground
playground. Your directory should look like this:
[](web/finder.png)
Once you've created a playground for each chapter, it's time to add pages to your playgrounds. You can do this in Xcode.
[](web/xcode.png)
Note that the order of the pages is determined by the ordering of the filesystem, which is lexicographical. You also can't have any periods in your pages.
Then run the render
command in the directory containing the yaml file.
playgroundbook render book.yaml
The playgrounds can reference (not copy) resources from an optionally specified directory. import
frameworks are specified in the yaml file and are added to every page of the book. You can specify a cover image file name that's stored in the resources
directory (it should be 400x300 pixels). Finally, you can supply a glossary, a dictionary of term/definition pairs. This lets you link to terms in markdown. For example:
... [term](glossary://term) ...
Only the link to the term must be URL encoded. For example, the term "reuse identifier" would be defined in the yaml as reuse identifier
but linked to as glossary://reuse%20identifier
.
Each page in a chapter's .playground
will be a separate page in the .playgroundbook
and it's Source
. The contents of the Source
and Resource
folders for each chapter and each page are copied.
Limitations of Book Rendering
Playground books support a rich set of awesome features to make learning how to code really easy, and this tool only scratches the surface. Read over the Playground Book reference to see all the available options. If you have suggestions, please open an issue :+1:
Creating a Playground from markdown
Maybe you want to do something for a website, or a git repo first, and then generate your Playground? Well in those cases your source of truth is the markdown document. For that case, we have playgroundbook wrapper
.
For example, you might have a folder that looks like:
> tree Beginners/Lesson\ One
Beginners/Lesson\ One
โโโ README.md
โโโ README_ZH.md
โโโ img
โโโ emptyplayground.png
โโโ multipleresults.png
โโโ newplayground.png
โโโ results.png
โโโ tentimes.png
โโโ welcome.png
You can run:
playgroundbook wrapper "Beginners/Lesson\ One/README.md" "Lesson One"
And it will switch out swift codeblocks into the playground. You have to use triple backticks with swift ```swift. No space between them. You should avoid using backtick blocks for anything other than Swift code, if you need to show examples, use Markdown's indentation rules with four spaces.
> tree Beginners/Lesson\ One
Beginners/Lesson\ One
โโโ Lesson\ One.playground
โย ย โโโ Contents.swift
โย ย โโโ Resources
โย ย โย ย โโโ img
โย ย โย ย โโโ emptyplayground.png
โย ย โย ย โโโ newplayground.png
โย ย โย ย โโโ results.png
โย ย โย ย โโโ welcome.png
โย ย โโโ contents.xcplayground
โย ย โโโ timeline.xctimeline
โโโ README.md
...
You might notice that a subset of images, have moved well, they're the only one being used in the README.md
. Slick huh?
Contributing
Hey! Like this tool? Awesome! We could actually really use your help!
Open source isn't just writing code. We could use your help with any of the following:
- Finding (and reporting!) bugs.
- New feature suggestions.
- Answering questions on issues.
- Reviewing pull requests.
- Helping to manage issue priorities.
- Fixing bugs/new features.
If any of that sounds cool to you, send a pull request! After a few contributions, we'll add you as an admin to the repo so you can merge pull requests and help steer the ship :ship: You can read more details about that in our contributor guidelines.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by [its terms](Code of Conduct.md).
License
MIT, except for the starter.playgroundbook
in the unit tests, which is licensed by Apple.
*Note that all licence references and agreements mentioned in the playgroundbook README section above
are relevant to that project's source code only.