Latest 1.5.0
Homepage https://github.com/yahoo/AppDevKit
License Yahoo! Inc. BSD license
Platforms ios 7.0, requires ARC
Authors ,

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.

AppDevKit

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.

Instruction

License

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

Latest podspec

{
    "name": "AppDevKit",
    "version": "1.5.0",
    "summary": "The collection of open develop utilities for iOS development team. It contains foundational and useful features that Apple didn't provide.",
    "homepage": "https://github.com/yahoo/AppDevKit",
    "license": "Yahoo! Inc. BSD license",
    "authors": {
        "anistar sung": "[email protected]",
        "core team": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/yahoo/AppDevKit.git",
        "tag": "1.5.0"
    },
    "source_files": "AppDevPods/AppDevKit.h",
    "public_header_files": "AppDevPods/AppDevKit.h",
    "requires_arc": true,
    "subspecs": [
        {
            "name": "AppDevCommonKit",
            "source_files": [
                "AppDevPods/AppDevCommonKit/**/*",
                "AppDevPods/AppDevCommonKit.h"
            ],
            "public_header_files": [
                "AppDevPods/AppDevCommonKit/**/*.h",
                "AppDevPods/AppDevCommonKit.h"
            ]
        },
        {
            "name": "AppDevUIKit",
            "source_files": [
                "AppDevPods/AppDevUIKit/**/*",
                "AppDevPods/AppDevUIKit.h"
            ],
            "public_header_files": [
                "AppDevPods/AppDevUIKit/**/*.h",
                "AppDevPods/AppDevUIKit.h"
            ],
            "dependencies": {
                "AppDevKit/AppDevCommonKit": []
            }
        },
        {
            "name": "AppDevAnimateKit",
            "source_files": [
                "AppDevPods/AppDevAnimateKit/**/*",
                "AppDevPods/AppDevAnimateKit.h"
            ],
            "public_header_files": [
                "AppDevPods/AppDevAnimateKit/**/*.h",
                "AppDevPods/AppDevAnimateKit.h"
            ]
        },
        {
            "name": "AppDevImageKit",
            "source_files": [
                "AppDevPods/AppDevImageKit/**/*",
                "AppDevPods/AppDevImageKit.h"
            ],
            "public_header_files": [
                "AppDevPods/AppDevImageKit/**/*.h",
                "AppDevPods/AppDevImageKit.h"
            ],
            "dependencies": {
                "AppDevKit/AppDevCommonKit": []
            }
        },
        {
            "name": "AppDevListViewKit",
            "source_files": [
                "AppDevPods/AppDevListViewKit/**/*",
                "AppDevPods/AppDevListViewKit.h"
            ],
            "public_header_files": [
                "AppDevPods/AppDevListViewKit/**/*.h",
                "AppDevPods/AppDevListViewKit.h"
            ],
            "dependencies": {
                "AppDevKit/AppDevCommonKit": [],
                "AppDevKit/AppDevUIKit": []
            }
        },
        {
            "name": "AppDevCameraKit",
            "source_files": [
                "AppDevPods/AppDevCameraKit/**/*",
                "AppDevPods/AppDevCameraKit.h"
            ],
            "public_header_files": [
                "AppDevPods/AppDevCameraKit/**/*.h",
                "AppDevPods/AppDevCameraKit.h"
            ]
        }
    ]
}

Pin It on Pinterest

Share This