Latest 1.1.0
Homepage https://github.com/adrfer/Shenanigans
License WTFPL
Platforms ios 10.0
Authors

Just a collection of some sleek Swift shenanigans.

Tested against Swift 3 and Xcode 8.

Install

Shenanigans can be installed using Carthage, CocoaPods, Git Submodules, or Swift Package Manager.

Carthage

  1. Create a Cartfile file in your Xcode project directory and add the following:

    github "adrfer/Shenanigans" "master"
  2. Run carthage update to build the framework
  3. Drag and drop the Shenanigans.framework file from Carthage/build to your project navigator
  4. Now you can import the Shenanigans module to make your project Swift-y

    import Shenanigans

CocoaPods

  1. Create a Podfile in your Xcode project directory and add the following:

    source 'https://github.com/CocoaPods/Specs.git'
    platform :ios, '10.0'
    use_frameworks!
    
    target 'Your Target Name' do
    pod 'Shenanigans', '~> 1.1'
    end
  2. Open a terminal, change to your project directory, and run:

    pod install
  3. Now you can import the Shenanigans module to make your project Swift-y

    import Shenanigans

Git Submodules

  1. Open a terminal, change to your project directory, and run:

    git submodule add https://github.com/adrfer/Shenanigans.git
  2. Drag Shenanigans.xcodeproj to your project navigator
  3. Select your project and verify if the deployment target matches that of your application
  4. Click the application target under the Targets heading in the sidebar and open the General panel
  5. Add the Shenanigans.framework to the Linked Frameworks and Libraries section
  6. Now you can import the Shenanigans module to make your project Swift-y

    import Shenanigans

Swift Package Manager

  1. Create a Package.swift file in your Xcode project directory and add the following:

    import PackageDescription
    
    let package = Package(
      name: "Your Project Name",
      targets: [],
      dependencies: [
          .Package(url: "https://github.com/adrfer/Shenanigans.git", "1.1.0")
      ]
    )
  2. Open a terminal, change to your project directory, and run:

    swift build
  3. Now you can import the Shenanigans module to make your project Swift-y

    import Shenanigans

Latest podspec

{
    "name": "Shenanigans",
    "version": "1.1.0",
    "summary": "Just a collection of some sleek Swift shenanigans.",
    "homepage": "https://github.com/adrfer/Shenanigans",
    "license": {
        "type": "WTFPL",
        "file": "LICENSE"
    },
    "authors": {
        "Adriano Ferreira": "[email protected]"
    },
    "source": {
        "git": "https://github.com/adrfer/Shenanigans.git",
        "tag": "1.1.0"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "Sources/*.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This