Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.46 KB

README.md

File metadata and controls

58 lines (43 loc) · 1.46 KB

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>