Skip to content

A command-line interface for installing Xcode Snippets

License

Notifications You must be signed in to change notification settings

leilee/xcodesnippet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xcodesnippet

A command-line interface for installing Xcode Snippets

Installation

gem install xcodesnippet

$ gem build xcodesnippet.gemspec
$ gem install -l xcodesnippet-0.0.2.gem

Usage

Example

Sourcefile.swift

---
title: "Hello, World!"
summary: "Prints 'Hello World'"
completion-scopes:
  - CodeBlock
---

println("Hello, World!")

Completion Scopes

Objective-C

  • ClassImplementation
  • CodeExpression
  • Preprocessor
  • ClassInterfaceVariables
  • All
  • TopLevel
  • ClassInterfaceMethods
  • CodeBlock
  • StringOrComment

Swift

  • TopLevel
  • ClassImplementation
  • CodeBlock
  • All
  • CodeExpression
  • StringOrComment

Terminal Command

$ xcodesnippet install path/to/source.m

Creator

Mattt Thompson (@mattt)

License

xcodesnippet is released under an MIT license. See LICENSE for more information.

About

A command-line interface for installing Xcode Snippets

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Ruby 100.0%