Skip to content

UIView subclass that implements pullable behaviour similar to the Notification Center in iOS 5. (RubyMotion edition)

Notifications You must be signed in to change notification settings

otagi/PullableView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PullableView

UIView subclass that implements pullable behaviour similar to the Notification Center in iOS 5.

Original Objective-C code by Fabio Rodella / Crocodella.

This is a direct translation for RubyMotion. All credit for the code goes to Crocodella.

Requirements

A valid RubyMotion license, of course.

Installation

git clone https://github.com/otagi/PullableView.git

Setup

  1. Build and run the sample app with the usual rake command.
  2. Play with it.
  3. Copy the PullableView class into your project.

Changes

There are a few cosmetic changes in this Ruby version:

  • The PullableView's delegate pattern has been replaced by block-based callbacks.
  • The start/stop button in the sample app has been removed. The views are pullable by default.

About

UIView subclass that implements pullable behaviour similar to the Notification Center in iOS 5. (RubyMotion edition)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages