All Projects → JohnSundell → Xgen

JohnSundell / Xgen

Licence: mit
A Swift package for generating Xcode workspaces & playgrounds

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Xgen

Whats New In Swift 5 0
An Xcode playground that demonstrates the new features introduced in Swift 5.0.
Stars: ✭ 703 (+294.94%)
Mutual labels:  xcode, playground
Mockswift
MockSwift is a Mock library written in Swift.
Stars: ✭ 56 (-68.54%)
Mutual labels:  xcode, playground
Playalways
Create Xcode playgrounds from your menu bar
Stars: ✭ 515 (+189.33%)
Mutual labels:  xcode, playground
Playground
Instantly create Swift playgrounds from the command line
Stars: ✭ 391 (+119.66%)
Mutual labels:  xcode, playground
Testdrive
Quickly try out any Swift pod or framework in a playground
Stars: ✭ 1,612 (+805.62%)
Mutual labels:  xcode, playground
Dyci Main
Dynamic Code Injection Tool for Objective-C
Stars: ✭ 1,103 (+519.66%)
Mutual labels:  xcode, playground
Imagecoordinatespace
UICoordinateSpace for UIImageView image
Stars: ✭ 42 (-76.4%)
Mutual labels:  xcode, playground
Swiftcolorgen
A tool that generate code for Swift projects, designed to improve the maintainability of UIColors
Stars: ✭ 152 (-14.61%)
Mutual labels:  xcode, generation
Whats New In Swift 5 1
An Xcode playground that demonstrates the new features introduced in Swift 5.1.
Stars: ✭ 122 (-31.46%)
Mutual labels:  xcode, playground
Swift Project Template
🍪 Easily generate Swift projects with Cookiecutter
Stars: ✭ 85 (-52.25%)
Mutual labels:  xcode, generation
Swift Summary
A summary of Apple's Swift language written on Playgrounds
Stars: ✭ 1,668 (+837.08%)
Mutual labels:  xcode, playground
Whats New In Swift 4
An Xcode playground showcasing the new features in Swift 4.0.
Stars: ✭ 1,860 (+944.94%)
Mutual labels:  xcode, playground
Zkcarousel
A simple carousel implementation written in Swift
Stars: ✭ 163 (-8.43%)
Mutual labels:  xcode
Irldocumentscanner
A drop-in Objective-C ViewController that will Automatically scan a document for you you.
Stars: ✭ 172 (-3.37%)
Mutual labels:  xcode
Marathon
[DEPRECATED] Marathon makes it easy to write, run and manage your Swift scripts 🏃
Stars: ✭ 1,889 (+961.24%)
Mutual labels:  xcode
Web Maker
A blazing fast & offline frontend playground
Stars: ✭ 2,029 (+1039.89%)
Mutual labels:  playground
Xcodeplugintool
🎧a easy way use plugins after Xcode upgraded
Stars: ✭ 174 (-2.25%)
Mutual labels:  xcode
Tiercel
简单易用、功能丰富的纯 Swift 下载框架
Stars: ✭ 2,241 (+1158.99%)
Mutual labels:  xcode
Play With Docker
You know it, you use it, now it's time to improve it. PWD!.
Stars: ✭ 2,103 (+1081.46%)
Mutual labels:  playground
Learning React Native
React Native Learning Notebook
Stars: ✭ 158 (-11.24%)
Mutual labels:  xcode

Xgen

Easily generate Xcode workspaces & playgrounds from a Swift script or command line tool.

Usage

Generate workspaces:

import Xgen

let workspace = Workspace(path: "~/MyWorkspace")
workspace.addProject(at: "~/MyProject.xcodeproj")
try workspace.generate()

Generate playgrounds:

import Xgen

let code = "import Foundation\n\n" +
           "print(\"Hello world\")"
let playground = Playground(path: "~/MyPlayground", platform: .iOS, code: code)
try playground.generate()

Installation

For scripts

  • Install Marathon.
  • Add Xgen to Marathon using $ marathon add [email protected]:JohnSundell/Xgen.git.
  • Alternatively, add [email protected]:JohnSundell/Xgen.git to your Marathonfile.
  • Write your script, then run it using $ marathon run yourScript.swift.

For command line tools

  • Add .Package(url: "[email protected]:johnsundell/xgen.git", majorVersion: 1) to your Package.swift file.
  • Update your packages using $ swift package update.

Help, feedback or suggestions?

  • Open an issue if you need help, if you found a bug, or if you want to discuss a feature request.
  • Open a PR if you want to make some change to Xgen.
  • Contact @johnsundell on Twitter for discussions, news & announcements about Xgen & other projects.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].