Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.59 KB

File metadata and controls

56 lines (34 loc) · 1.59 KB

Introduction

Swift_Codebase provides drag-and-drop essential tools that help indie Swift developers complete their projects faster. Swift_Codebase is at her very early stage. Fork it and help us improve the codebase! Explore and improve!

Features

  • PhotoMaster: Super easy imagepicker wrapper. Use imagePicker in few lines of code.
  • FileHelper: Basic file handling.
  • FoundationExtensions: Multiple categories for Foundation classes.
  • UIKitExtensions: Multiple categories for UIKit classes.
  • CountDownTimer: Use count down in few lines of codes.
  • TextFieldAction: Enable dismissing keyboard when tapping background view for UITextField in single line of code.
  • TextViewAction: Enable dismissing keyboard when tapping background view for UITextView in single line of code.

PhotoMaster

Usage

Add git submodule

git submodule add https://github.com/SeanChenU/Swift_Codebase.git

git submodule init

git submodule update

  • In the project root folder, there will be a “Swift_Codebase” folder in it.
  • Create a “group” in current project named “Swift_Codebase” (optional) and drag the files needed into current project.

Updating submodule

git pull --recurse-submodules

git submodule update --recursive

Removing git module

git remove Swift_Codebase

rm -rf .git/modules/Swift_Codebase

To-do

Integrate all libs that are useful.

Pods:

  1. SwiftyJSON / For json handling
  2. Alamofire / For networking

Next:

  1. ActivityIndicator

Current Codebase:

  1. FileHelper / Handing file related works.
  2. PhotoMaster / Handling image picker realted works.