Latest 0.1.0
Homepage https://github.com/JTANISME/JTPushIn
License MIT
Platforms ios 9.0, requires ARC
Frameworks UIKit
Authors

JTPushIn is a Dynamic efficiency on UIView、UITableViewCell、UIButton

CI Status
Version
License
Platform

Example

JTPushIn

Usage

For UIView,

create sub class of JTPushInView, or change class on nib file.

@property (strong, nonatomic) IBOutlet JTPushInView *pushInView;

For UIButton,

create sub class of JTPushInButton, or change class on nib file.

@property (strong, nonatomic) IBOutlet JTPushInButton *pushInBtn;

- (IBAction)btnClicked:(JTPushInButton *)sender {
    [sender JTPushIn_animateWhenTouchUpInside:^{
        [self.navigationController pushViewController:[TableViewController new]
                                             animated:YES];
    }];
}

For UITableViewCell,

create sub class of JTPushInTableViewCell.

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    JTPushInTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"reuseIdentifier" forIndexPath:indexPath];
    cell.selectedBackgroundView = nil;
    cell.selectionStyle = UITableViewCellSelectionStyleNone;
    return cell;
}

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    JTPushInTableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
    [cell JTPushIn_animateWhenTouchUpInside:^{
        //Do some things
    }];
}

Installation

JTPushIn is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'JTPushIn'

Author

JTANISME, [email protected]

License

JTPushIn is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "JTPushIn",
    "version": "0.1.0",
    "summary": "JTPushIn:",
    "description": "JTPushIn is a Dynamic efficiency on UIViewu3001UITableViewCellu3001UIButton",
    "homepage": "https://github.com/JTANISME/JTPushIn",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "jtanisme": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/JTANISME/JTPushIn.git",
        "tag": "0.1.0"
    },
    "source_files": [
        "JTPushIn",
        "JTPushIn/**/*.{h,m}"
    ],
    "frameworks": "UIKit",
    "requires_arc": true
}

Pin It on Pinterest

Share This