Latest 1.0.0
Homepage https://github.com/chrisdhaan/CDProjectBoilerplateSwift
License MIT
Platforms ios 8.0, requires ARC
Dependencies Material, NVActivityIndicatorView, SlideMenuControllerSwift, SwiftyUserDefaults, Toaster
Authors

CI Build Status
GitHub Release
CocoaPods Version
Carthage compatible
Swift 3.0
Platform
License

This framework contains Swift code found to be useful in many personal projects. It has been condensed into boilerplate Swift classes that can be useful in new projects.

For a demonstration of the capabilities of CDProjectBoilerplateSwift; run the iOS Example project after cloning the repo.


Requirements

  • iOS 8.0+
  • Xcode 8.1+
  • Swift 3.0+

Dependencies


Installation

Installation via CocoaPods

CDProjectBoilerplateSwift is available through CocoaPods. CocoaPods is a dependency manager that automates and simplifies the process of using 3rd-party libraries like CDProjectBoilerplateSwift in your projects. You can install CocoaPods with the following command:

gem install cocoapods

To integrate CDProjectBoilerplateSwift into your Xcode project using CocoaPods, simply add the following line to your Podfile:

pod "CDProjectBoilerplateSwift" "~> 1.0.0"

Afterwards, run the following command:

pod install

Installation via Carthage

CDProjectBoilerplateSwift is available through Carthage. Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage via Homebrew with the following commands:

brew update
brew install carthage

To integrate CDProjectBoilerplateSwift into your Xcode project using Carthage, simply add the following line to your Cartfile:

github "chrisdhaan/CDProjectBoilerplateSwift" ~> 1.0.0

Afterwards, run the following command:

carthage update

Next, add the built CDProjectBoilerplateSwift.framework into your Xcode project.

Installation via Swift Package Manager

CDProjectBoilerplateSwift is available through the Swift Package Manager. The Swift Package Manager is a tool for automating the distribution of Swift code.

The Swift Package Manager is in early development, but CDProjectBoilerplateSwift does support its use on supported platforms. Until the Swift Package Manager supports non-host platforms, it is recommended to use CocoaPods, Carthage, or Git Submodules to build iOS, watchOS, and tvOS apps.

The Swift Package Manager is integrated into the Swift compiler.

To integrate CDProjectBoilerplateSwift into your Xcode project using The Swift Package Manager, simply add the following line to your Package.swift file:

dependencies: [
    .Package(url: "https://github.com/chrisdhaan/CDProjectBoilerplateSwift.git", majorVersion: 1)
]

Afterwards, run the following command:

swift package fetch

Installation via Git Submodule

CDProjectBoilerplateSwift is available through Git Submodule Git Submodule allows you to keep another Git repository in a subdirectory of your repository.

If your project is not initialized as a git repository, navigate into your top-level project directory, and install Git Submodule with the following command:

git init

To integrate CDProjectBoilerplateSwift into your Xcode project using Git Submodule, simply run the following command:

git submodule add https://github.com/chrisdhaan/CDProjectBoilerplateSwift.git

Afterwards, open the new CDProjectBoilerplateSwift folder, and drag the CDProjectBoilerplateSwift.xcodeproj into the Project Navigator of your Xcode project. A common location for the CDProjectBoilerplateSwift.xcodeproj is directly below the Products folder.

Next, select your application project in the Project Navigator to navigate to the target configuration window and select the application target under the Targets heading in the sidebar. In the tab bar at the top of that window, open the General panel. Click on the + button under the Embedded Binaries section. You will see two different CDProjectBoilerplateSwift.xcodeproj folders, each with a version of the CDProjectBoilerplateSwift.framework nested inside a Products folder. It does not matter which Products folder you choose from, select the CDProjectBoilerplateSwift.framework for iOS.


Author

Christopher de Haan, [email protected]

License

CDProjectBoilerplateSwift is available under the MIT license. See the LICENSE file for more info.


Latest podspec

{
    "name": "CDProjectBoilerplateSwift",
    "version": "1.0.0",
    "summary": "Framework containing boilerplate Swift classes for new projects.",
    "description": "This framework contains Swift classes found to be used among several projects.",
    "homepage": "https://github.com/chrisdhaan/CDProjectBoilerplateSwift",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Christopher de Haan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/chrisdhaan/CDProjectBoilerplateSwift.git",
        "tag": "1.0.0"
    },
    "social_media_url": "https://twitter.com/dehaan_solo",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Source/*.swift",
    "resources": [
        "Resources/**/*"
    ],
    "dependencies": {
        "Material": [
            "~> 2.0"
        ],
        "NVActivityIndicatorView": [
            "3.6.1"
        ],
        "SlideMenuControllerSwift": [
            "~> 3.0"
        ],
        "SwiftyUserDefaults": [
            "~> 3.0"
        ],
        "Toaster": [
            "~> 2.0"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This