Coder Social home page Coder Social logo

sliderpagecontrol-for-ios's Introduction

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

sliderpagecontrol-for-ios's People

Contributors

honcheng avatar 3-n avatar kwojtaszek avatar

Watchers

Paweł Smoczyk avatar Jacek Marchwicki avatar CreativeLabs.pl avatar Emil avatar  avatar James Cloos avatar Piotr Adamczak avatar  avatar  avatar Maciej Królikowski avatar Hubert Drag avatar  avatar Paweł Rąbel avatar  avatar  avatar Maciej Kaszubowski avatar Bartłomiej Różański avatar Eugeny avatar  avatar Kamil avatar  avatar Przemysław Cholewa avatar Jakub Kasprowicz avatar piotrknop avatar  avatar Lukasz Matuszczak avatar Szymon Mrozek avatar Kacper avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.