Skip to content

PerfectExamples/Perfect-Playground

Repository files navigation

Perfect Playground 简体中文

Get Involved with Perfect!

Star Perfect On Github Stack Overflow Follow Perfect on Twitter Join the Perfect Slack

Swift 3.0 Platforms OS X | Linux License Apache PerfectlySoft Twitter Slack Status

This project demonstrates how to integrate a Swift playground into your Perfect projects.

Ensure you have installed and activated the latest Xcode 8.3.

Quick Start

Use commands below in your Mac's terminal to activate playground with Perfect support:

$ git clone https://github.com/PerfectExamples/Perfect-Playground.git
$ cd Perfect-Playground
$ open Perfect.xcworkspace/

Once build the workspace (CTRL-B), then you can open the playground file inside this workspace and see some basic Perfect features, such as JSON and UUID support:

DIY

To integrate a playground to your own Perfect Swift project, here is the instruction:

  • Use swift package generate-xcodeproj to create an Xcode project for your Perfect project.
  • Create an empty workspace in Xcode and save it into your project folder.
  • Add the current Perfect Xcode project to this workspace.
  • goto Xcode project build settings and change import (SWIFT_INCLUDE_PATH) to ${PROJECT_DIR} with the recursive option.
  • Create a new playground in the same project folder.
  • Add the playground into the same workspace.
  • Build the project then active the PerfectLib framework.
  • Have fun!

Issues

We are transitioning to using JIRA for all bugs and support related issues, therefore the GitHub issues has been disabled.

If you find a mistake, bug, or any other helpful suggestion you'd like to make on the docs please head over to http://jira.perfect.org:8080/servicedesk/customer/portal/1 and raise it.

A comprehensive list of open issues can be found at http://jira.perfect.org:8080/projects/ISS/issues

Further Information

For more information on the Perfect project, please visit perfect.org.

Now WeChat Subscription is Available (Chinese)

About

A Prebuilt Swift Playground for Perfect Framework

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages