• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

yahoo/AppDevKit: AppDevKit is an iOS development library that provides developer ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

yahoo/AppDevKit

开源软件地址(OpenSource Url):

https://github.com/yahoo/AppDevKit

开源编程语言(OpenSource Language):

Objective-C 98.8%

开源软件介绍(OpenSource 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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap