Latest 0.0.4
Homepage https://github.com/Valensas/VLDataBinding
License Apache License, Version 2.0
Platforms ios 7.0, requires ARC
Dependencies DejalActivityView
Authors

VLDataBinding
=============

iOS storyboard data binding library.

  • Manage segue life cycle.
//Segue identifier is 'WithOpertionSegue'
//After the segue performs; prepare destination view controller
-(void)didPerformWithOpertionSegue:(UIStoryboardSegue *)segue sender:(id)sender{
    UIViewController *destination=(UIViewController *)segue.destinationViewController;

}

//Segue identifier is 'AfterOperationSegue'
//Before the segue performs
-(void)willPerformAfterOperationSegue:(id)sender{
    if(...)
      [self performSegueWithIdentifier:@"AfterOperationSegue" sender:sender];
}
  • Easy table view implementation (VLTableViewController) both static and dynamic UITableViewCells.
  • VLTableViewController implementation generates all table view without write any line of code via the tableData property.
  • Bind data on the specified keyPath to defined property of the UIView inherited objects. (via undefined key)

if you want to bind the string on the ‘name’ keypath to text property of the target object

bindText  String  name
  • UITableViewCell carry data through segue to the destination view controller.
  • Synchronous operation is observed to manage the segue which is related to this operation.

How to integrate

  • Add ‘pod ‘VLDataBinding” on podfile
    pod 'VLDataBinding'
  • Add ‘#import VLDataBinding.h’ on *.pch file
    #import VLDataBinding.h

Latest podspec

{
    "name": "VLDataBinding",
    "version": "0.0.4",
    "summary": "A kind of iOS data binding and UIStoryboard data flow library",
    "description": "                   A longer description of VLDataBinding in Markdown format.nn                   * Think: Why did you write this? What is the focus? What does it do?n                   * CocoaPods will be using this to generate tags, and improve search results.n                   * Try to keep it short, snappy and to the point.n                   * Finally, don't worry about the indent, CocoaPods strips it!n",
    "homepage": "https://github.com/Valensas/VLDataBinding",
    "license": {
        "type": "Apache License, Version 2.0",
        "file": "LICENSE"
    },
    "authors": {
        "Can YAMAN": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/Valensas/VLDataBinding.git",
        "tag": "0.0.4"
    },
    "source_files": [
        "VLDataBinding",
        "VLDataBinding/*.{h,m}"
    ],
    "exclude_files": "VLDataBinding/Sample",
    "requires_arc": true,
    "dependencies": {
        "DejalActivityView": []
    }
}

Pin It on Pinterest

Share This