Latest 1.2.0
License MIT
Platforms ios 8.0, requires ARC


Stories in Ready
codecov Build Status cocoapods



The aim of the project provides base foundation functions for IOS developer to make developer build iOS app easier. I am trying hard to make it can be used for Objective-C and Swift projects.

All functions are having the ‘A_’ prefix, so we can get advantage from code intellisense.

More information:


  • Animation – Animation helper provides easy way to set CALayer value animatingly and animation effects.
  • Event – It provides a easy way to add and remove a blocking to UIControl event.
  • KVO Binding – provides changed notification and objects binding method with blocks.
  • Task – Tasks helper provides simple implement of tasks chain with async and sync.
  • Sqlite Manager – Sqlite Manager not only provides the base CRUD Sqlite operations but also provides data model searching and storing functions.
  • Data Model – When an object inherited DataModel, then it able to save the instance to plist file or sqlite database directly.
  • Network – It provides easy RESTful API operation with JSON auto-serializing function.
  • Collection – It imitates the Linq in .Net to provide such Where, Any, Skip, and other assisting functions for NSArray and NSDictionary.

Brief Example

The Obecrive-C example:

#import <A_IOSHelper/A_IOSHelper.h> // Import A_IOSHelper.h is only needed.

Wait 0.6 seconds and do the zoom in with changing position and size animation.

[A_TaskHelper A_Delay:.6f RunInMain:^{
    [demo A_AnimationEffect:A_AnimationEffectType_zoomIn CompletionBlock:^{
        [demo.layer A_AnimationSetPositionX:200.0f 
        [demo.layer A_AnimationSetSize:CGSizeMake(100, 100) 


The Swfit example:

Add <A_IOSHelper/A_IOSHelper.h> to Objective-C Bridging Header in Swift Compiler – Code Generation section.

Download image and cache it, and it can get same image next time from cache instead of download again.




Add the following line in your Podfile.

    pod "A_IOSHelper"

If using A_IOSHelper in Swift project, don’t forget add this framework in Project page -> General -> Target -> Linked Frameworks and Libraries section. Otherwise, it will cause unrecognized selector sent to class error when you call any method in A_IOSHelper.

Embedded framework file

Download compiled framework file and put it
into your project in Project page -> General -> Target -> Embedded Binaries section.

Compile by yourself

Please use file to build this project.

sh ./


sudo sh ./

and you may use following code to check the building result

cd Product/A_IOSHelper.framework

lipo -info A_IOSHelper

It should shows Architectures in the fat file: A_IOSHelper are: i386 x86_64 armv7 arm64


All source code is licensed under the MIT License.

Latest podspec

    "name": "A_IOSHelper",
    "version": "1.2.0",
    "summary": "IOSHelper provides various helping functions included: animation, controls event, task chain, KVO binding, data model, network, and so on.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Animax Deng": "[email protected]"
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "1.2.0"
    "libraries": "sqlite3",
    "source_files": "A_IOSHelper/**/*.{h,m}",
    "requires_arc": true

Pin It on Pinterest

Share This