Latest 0.1.1
Homepage https://github.com/oboupo/AANavigationItem
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

Version
License
Platform

  • Objective-C written Pod
  • !!! Uses some part of private API

Example

example

To run the example project, clone the repo, and run pod install from the Example directory

Requirements

  • iOS 8+;

Installation

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

pod 'AANavigationItem'

Usage

  1. Initialize UINavigationController with AANavigationBar and in your child controller
  2. Create AANavigationItem
    #import <AANnavigationItem/AANavigationItem.h>
    AANavigationItem *item = (AANavigationItem *)self.navigationItem;
    item.bottomView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 200, 44)];
    __weak typeof(self) welf = self;
    [item setOffsetChangeHandeler:^(CGFloat offset, BOOL animated) {
    [welf.tableView setScrollIndicatorInsets:UIEdgeInsetsMake(offset, 0.0f, 0.0f, 0.0f)];
    [welf.tableView setContentInset:UIEdgeInsetsMake(offset, 0.0f, 0.0f, 0.0f)];
    [welf.tableView setContentOffset:CGPointMake(-offset, 0.0f) animated:animated];
    }];
  3. Also, you can use Storyboards for item colors
  4. For more see example project

Author

Anton Spivak, [email protected]

License

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

Latest podspec

{
    "name": "AANavigationItem",
    "version": "0.1.1",
    "summary": "AANavigationItem - custom color, size and subviews per item in UINavigationController.",
    "description": "Simple changing color UINavigationBar! nJust select it in AANavigationItem and run. Additionaly you can increase size of bar and add subviews.nAll are animatable and support interaction transiotions.",
    "homepage": "https://github.com/oboupo/AANavigationItem",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Anton Spivak": "[email protected]"
    },
    "source": {
        "git": "https://github.com/oboupo/AANavigationItem.git",
        "tag": "0.1.1"
    },
    "social_media_url": "https://twitter.com/oboupo",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "AANavigationItem/Classes/**/*",
    "private_header_files": "AANavigationItem/Classes/Private/**/*.h",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This