Skip to content

ame017/AMEPageContentView

Repository files navigation

AMEPageContentView

A page content view for iOS

996.icu LICENSE

cn Chinese (Simplified): 中文说明

What is this?

Just see the display image: display

Characteristics

  1. lazyLoad

  2. automic child viewcontroller life circle display

  3. xib or code init both OK

How To use?

Supported properties:

//The necessary
self.contentView.fatherViewController = self;
self.contentView.itemArray            = self.itemArray;

//optional
self.contentView.canScroll            = YES;
self.contentView.buttonWidth          = 100;
self.contentView.underLineLenth       = 100;
self.contentView.underLineHeight      = 2;
self.contentView.chooseViewHeight     = 60;
self.contentView.selectedColor        = [UIColor orangeColor];
self.contentView.notSelectedColor     = [UIColor greenColor];
self.contentView.underLineColor       = [UIColor orangeColor];
self.contentView.delegate             = self;

DO NOT FORGET

add this method to father viewcontroller

- (BOOL)shouldAutomaticallyForwardAppearanceMethods{
return NO;
}

Install

pod 'AMEPageContentView'
#import <AMEPageContentView.h>