• Stars
    star
    137
  • Rank 266,121 (Top 6 %)
  • Language
    Objective-C
  • License
    Other
  • Created almost 14 years ago
  • Updated about 12 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An alternative for UIPageControl

SliderPageControl for iOS

This is an alternative for UIPageControl. See video here

Required Files

  1. SliderPageControl.h
  2. SliderPageControl.m
  3. SliderPageControl.bundle/images/sliderPageControl.png
  4. SliderPageControl.bundle/images/sliderPageControlBg.png

Usage

  1. To integrate SliderPageControl, drag the files above to your XCode Project, and add to your view.

    #import SliderPageControl.h

  2. set number of pages

    • (void)setNumberOfPages:(int)page
  3. returns the current page

    • (int)currentPage
  4. set the current page. set animated=YES to animate the control

    • (void)setCurrentPage:(int)_currentPage animated:(BOOL)animated
  5. set page title that is visible when the control is dragged

    • (NSString *)sliderPageController:(id)controller hintTitleForPage:(NSInteger)page
  6. Skinning SliderPageControl To skin SliderPageControl, use the provided PSD file to change the control image (sliderPageControl.png) and the background (sliderPageControlBg.png)

You can find more information about SliderPageControl at the link below

Requirements

  • ARC
  • XCode 4.4 (auto-synthesis)

Contact

@honcheng
honcheng.com

More Repositories

1

PaperFold-for-iOS

Paper folding animation for iOS
Objective-C
2,700
star
2

RTLabel

simple rich text display for iOS using html-like markups
Objective-C
1,462
star
3

iOSPlot

Chart library for iOS
Objective-C
1,371
star
4

iOS-StyledPageControl

Customizable PageControl for iOS
Objective-C
526
star
5

PaperFoldMenuController

A navigation menu on the left of the screen using on PaperFold
Objective-C
436
star
6

PaperFoldGallery

PaperFoldGallery for iOS
Objective-C
359
star
7

CATransform3D-Test

A test app to visualize view transformation when value in CATransform3D matrices change
Objective-C
349
star
8

PanelTableView

Multiple UITableViews in a UIScrollView
Objective-C
202
star
9

StyledTableViewCell-for-iOS

Customize table view cell border and highlights
Objective-C
195
star
10

AcornCharts-for-iOS

Fun way to display charts using balls that responds to device tilting
Objective-C
113
star
11

ScrollableTabHost-for-Android

Java
90
star
12

iOS-nodechat

iOS chat client for socket.io & node.js backend
Objective-C
70
star
13

GAE-APIMonitor

Google AppEngine application that monitors server API
Python
25
star
14

GAEMobileAnalytics

Google AppEngine Analytics for Mobile Applications
Objective-C
17
star
15

CAMediaTimingFunctionVisualizer

iPad app to preview animation based on custom animation curve created
Objective-C
17
star
16

Singapore-Bus-Services

Singapore Bus Services
6
star
17

rfremote-fan-api

API to control RF fan using pilight in Raspberry Pi
Python
5
star
18

SubRip-Parser-for-iOS

Objective-C
5
star
19

homebridge-rfremote-fan

HomeBridge plugin to replace RF remote control for fans
JavaScript
3
star