Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cocopon/CQMFloatingController
Floating UI component with navigation bar for iPhone
https://github.com/cocopon/CQMFloatingController
Last synced: about 1 month ago
JSON representation
Floating UI component with navigation bar for iPhone
- Host: GitHub
- URL: https://github.com/cocopon/CQMFloatingController
- Owner: cocopon
- License: mit
- Archived: true
- Created: 2012-05-16T22:40:56.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-07-13T04:34:35.000Z (over 11 years ago)
- Last Synced: 2024-05-02T00:19:00.978Z (7 months ago)
- Language: Objective-C
- Homepage:
- Size: 382 KB
- Stars: 232
- Watchers: 10
- Forks: 40
- Open Issues: 1
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.txt
Awesome Lists containing this project
- awesome - CQMFloatingController - Floating UI component with navigation bar for iPhone (etc)
- awesome - CQMFloatingController - Floating UI component with navigation bar for iPhone (etc)
README
CQMFloatingController
=====================Overview
--------
CQMFloatingController is a floating UI component with navigation bar.
You can push/pop a content view controller on it.This component is ported from [Calqum](http://www.dotapon.sakura.ne.jp/apps/calqum2/index_en.html), customizable calculator for iPhone.
Features
--------
- The appearance looks good in UIKit standard
- Customizable frame colorScreenshots
-----------
![Screenshot0](http://dotapon.sakura.ne.jp/github/CQMFloatingController/screenshots/0.png)
![Screenshot1](http://dotapon.sakura.ne.jp/github/CQMFloatingController/screenshots/1.png)How to Use
----------
1. Add all files in `CQMFloatingController/Classes` to your project
2. Write code as below:```Objective-C
// Import a required class
#import "CQMFloatingController.h"- (void)show {
// Prepare content view controller
SomeViewController *viewController = [[[SomeViewController alloc] init] autorelease];// Get shared floating controller, and customize if needed
CQMFloatingController *floatingController = [CQMFloatingController sharedFloatingController];
[floatingController setFrameColor:[UIColor orangeColor]];
// Show floating controller with content
UIWindow *window = [[UIApplication sharedApplication] keyWindow];
UIView *rootView = [window.rootViewController view];
[floatingController showInView:rootView
withContentViewController:viewController
animated:YES];
}
```License
-------
MIT License.
See LICENSE.txt for more information.