GithubHelp home page GithubHelp logo

justm0rph3u5 / appdevkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yahoo/appdevkit

0.0 1.0 0.0 3.54 MB

AppDevKit is an iOS development library that provides developers with useful features to fulfill their everyday iOS app development needs.

Home Page: https://yahoo.github.io/AppDevKit

License: Other

Ruby 0.54% C 0.08% Objective-C 98.81% Swift 0.56%

appdevkit's Introduction

AppDevKit

Build Status codecov CocoaPods

AppDevKit is an iOS development library that provides developers with useful features to fulfill their everyday iOS app development needs.

Yahoo’s Taiwan based iOS app development team has been using this development kit for the past three years, and we plan future apps to use AppDevKit as well. Our use of this code in many apps helped improve its stability and utility. We find these libraries help address some incompatibility issues found in different iOS versions, and overall make app development easier and our apps operate more consistently.

AppDevKit has five major parts that include command, user interfaces, animations, image view, and list view support libraries. AppDevKit could be installed by CocoaPods. Please feel welcome to use AppDevKit in your iOS projects as it is licensed under the permissive open source BSD license.

You can help contribute improvements to this project too. If you have suggestions, corrections, or enhancements, please send us a pull request. If you have questions for the team, you can contact [email protected] directly, or the core team at [email protected]. Thank you for checking this out.

Usage

Installation with CocoaPods

The easiest way to leverage AppDevKit is using CocoaPods. Please edit your Podfile like this:

source 'https://github.com/CocoaPods/Specs.git'  

pod 'AppDevKit'

AppDevKit has 5 sub-pods. They're AppDevCommonKit, AppDevUIKit, AppDevAnimateKit, AppDevImageKit and AppDevListViewKit. If you don't want to install whole package, you could pick sub-library and use CocoaPods to install it. For example:

source 'https://github.com/CocoaPods/Specs.git'  

# Only insatll image kit in AppDevKit
pod 'AppDevKit/AppDevImageKit'

Basic Usage

Using this develop kit is very simple. First at all, import it in your any code file or just put it in prefix file (.pch). Then you will enjoy this develop kit.

#import <AppDevKit.h>

Common Tools

  • ADKAppUtil > The foundational tools to support common tasks.
  • ADKStringHelper > The string formatter that will generate formatted strings form date, number and etc for you.
  • ADKCalculatorHelper > The calculation set including distance, size, width, height, etc.
  • ADKNibCacheManager > The manager to cache different instances in memory and keep it as a singleton.
  • UIView+ADKGetUIViewController > Supports get any view's UIViewController.
  • UIColor+ADKHexPresentation > Supports HEX color format and color shift.
  • ADKViewExclusiveTouch > Supports exclusive touch on each sub views.

UI Tools

  • UIView+ADKAutoLayoutSupport > Supports command autolayout features.  - UIScrollView+ADKPullToRefreshView > Supports pull to refresh feature on scrollable view. For example: UIScrollView, UITableView and UICollectionView.  - UIScrollView+ADKInfiniteScrollingView > Supports infinite scrolling feature on scrollable view. For example: UIScrollView, UITableView and UICollectionView.
  • ADKModalMaskView > Providing a way to create a modal view for presenting specific view.
  • ADKGradientView > Creating a simple linear gradient view with orientations for you.
  • ADKMultiGradientView > Creating a complicated linear gradient view with orientations for you.
  • ADKDashedLineView > Creates a dashed line around your view.

Animation Tools

 - UIView+ADKAnimationMacro > Gives some simple animation behavior for specific UIView.

Image Tools

 - UIImage+ADKColorReplacement > Supports color changing / replacement feature on UIImage.  - UIImage+ADKImageFilter > Supports image FX, resize, crop, etc. on UIImage.

  • UIImage+ADKDrawingTemplate > Supports loss less image from a PDF source.

ListView Tools

  • UICollectionView+ADKOperation > Supports force stop scrolling in collection view.
  • ADKNibSizeCalculator > Provides correct cell size for different devices effectively.  - ADKCellDynamicSizeCalculator > Calculates dynamic cell with and height for UICollectionViewCell and UITableViewCell.  - ADKCollectionViewDynamicSizeCell > Base UICollectionViewCell supports dynamic width and height features.  - ADKTableViewDynamicSizeCell > Base UITableViewCell supports dynamic width and height features.

Camera Tools

  • ADKCamera > Allows you to use advanced manual camera features and customize your camera view in few steps.
  • ADKOpenGLImageView > It provides an OpenGL ES soltion for rendering a core image on the screen by using GPU.
  • ADKMetalImageView > It provides an Metal framework soltion for rendering a core image on the screen by using GPU.

Instruction

License

This software is free to use under the Yahoo! Inc. BSD license. See the LICENSE for license text and copyright information.

appdevkit's People

Contributors

kenobilyh avatar anistarsung avatar qcl avatar salagadoola avatar lihengl avatar kant avatar yzlai avatar cwnga avatar cdsurfer0212 avatar

Watchers

James Cloos 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.