Skip to content

sumanthk2006/AFPickerView

This branch is up to date with gpambrozio/AFPickerView:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ab34b15 · Jan 21, 2012

History

7 Commits
Dec 14, 2011
Jan 21, 2012
Dec 14, 2011
Dec 17, 2011

Repository files navigation

Description

Custom UIPickerView controller reconstruction allows you to customize the graphics (background, shadow, selector) just replace those files with your own:

  • pickerBackground.png
  • pickerGlass.png
  • pickerShadows.png

Usage

  1. Create AFPickerView instance and customize it
pickerView = [[AFPickerView alloc] initWithFrame:CGRectMake(30.0, 250.0, 126.0, 197.0)];
pickerView.rowFont = [UIFont boldSystemFontOfSize:19.0];
pickerView.rowIndent = 10.0;
  1. Set dataSource, delegate and call - (void)reloadData
pickerView.dataSource = self;
pickerView.delegate = self;
[pickerView reloadData];
  1. Implement AFPickerViewDataSource and AFPickerViewDelegate

See demo in box

About

Custom UIPickerView controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published