GithubHelp home page GithubHelp logo

isabella232 / devkit-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prolificinteractive/devkit

0.0 0.0 0.0 7.57 MB

Collection of commonly used swift code

License: MIT License

Shell 0.60% Ruby 2.22% C++ 20.98% C 1.72% Java 0.33% Kotlin 1.37% Swift 47.36% Makefile 0.09% CMake 25.32%

devkit-1's Introduction

DevKit

CI Status

Description

Collection of commonly used swift code. Documentation can be found here.

Usage

If you would like to integrate DevKit into your project, add the repo to your project as a git submodule.

git submodule add https://github.com/prolificinteractive/DevKit

In your podfile add DevKit as shown below:

pod 'DevKit', :path => './DevKit'

Customizing DevKit with certain subspecs can be done as shown below. Subspecs can be found in the documentation.

pod 'DevKit', :path => './DevKit', :subspecs => ['Extensions/StringExtension',
                                                 'DataStructures/LinkedList']

Contributing to DevKit

Adding new classes to DevKit should be added to the appropriate subspec section. Unique subspecs should include the source files, any limiting deployment targets and necessary dependencies.

Sample Subspec:

  # CalendarPermissionsValidator
  s.subspec 'CalendarPermissionsValidator' do |sp|
    sp.ios.deployment_target = '11.0'
    sp.dependency 'DevKit/Extensions/StringExtension'
    sp.dependency 'DevKit/Extensions/UIAlertControllerExtension'
    sp.dependency 'DevKit/Extensions/UIApplicationExtension'
    sp.source_files = 'DevKit/DevKit/Classes/Utility/Validators/CalendarPermissionsValidator/*'
  end

New File Documentation Template:

/// <Description of the class>
///
/// **Subspec: Folder/Filename**
///
/// ```
/// Code Snippet
/// ```
///
/// <Real world example of how someone would use this class with code snippet>
///
class myCoolClass {
  // Does something cool! 
}

Pull Request Checklist:

Once all classes and files are added to the project and documented make sure to:

  • Run pod install on the example project

  • Ensure the classes are added to the main DevKit Xcode workspace at ./DevKit/DevKit.xcworkspace

All new additions should be code reviewed before merging into master.

License

prolific

Copyright (c) 2018 Prolific Interactive

DevKit is maintained and sponsored by Prolific Interactive. It may be redistributed under the terms specified in the LICENSE file.

devkit-1's People

Contributors

jgsamudio avatar stanleyoned avatar thibaultklein avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.