• Stars
    star
    422
  • Rank 102,753 (Top 3 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created almost 11 years ago
  • Updated about 7 years ago

Reviews

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

Repository Details

[iOS] Add customized buttons and toolbars to your UITextInputs.

RFKeyboardToolbar
RFGravatarImageView Version License MIT reposs

This is a flexible UIView and UIButton subclass to add customized buttons and toolbars to your UITextFields/UITextViews. This project was inspired by the toolbar seen in iOctocat.

Installation

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like RFKeyboardToolbar in your projects.

Podfile

platform :ios, '7.0'
pod "RFKeyboardToolbar", "~> 1.3"

Installation without CocoaPods

Just drag the RFKeyboardToolbar folder into your project and import it.

#import 'RFKeyboardToolbar.h'

Use

RFKeyboardToolbar is pretty easy to use with your UITextFields or UITextViews. After you've imported RFKeyboardToolbar, you can add a toolbar to anything that has an inputAccessoryView.

I've commented on the initialization below, to help you get a better understanding of it.

// Create a new RFToolbarButton
RFToolbarButton *exampleButton = [RFToolbarButton buttonWithTitle:@"Example"];

// Add a button target to the exampleButton
[exampleButton addEventHandler:^{
    // Do anything in this block here
    [_textView insertText:@"You pressed a button!"];
} forControlEvents:UIControlEventTouchUpInside];

// Create an RFKeyboardToolbar, adding all of your buttons, and set it as your inputAcessoryView
_textView.inputAccessoryView = [RFKeyboardToolbar toolbarWithButtons:@[exampleButton]];

// Add the UITextView/UITextField
[self.view addSubview:_textView];

Hope you enjoy it! Please Fork and send Pull Requests!

Screenshots

RFMarkdownTextView

Contributors

License

RFKeyboardToolbar is available under the MIT license. See the LICENSE file for more info.

More Repositories

1

Notepad

[iOS] A fully themeable markdown editor with live syntax highlighting.
Swift
875
star
2

RFMarkdownTextView

[Deprecated, iOS] Use Notepad instead: https://github.com/ruddfawcett/Notepad.
384
star
3

Push4Parse

[Deprecated, iOS] Push4Parse application previously available on the App Store.
Objective-C
65
star
4

RFGravatarImageView

[Deprecated] Simple UIImageView subclass to load Gravatars.
Objective-C
63
star
5

RFRotate

Drop in rotations for your iOS project. Support for blocks.
Objective-C
52
star
6

RFTapEditLabel

UILabel subclass with UIAlertView editing. Support for masked passwords and placeholders.
Objective-C
33
star
7

reposs

Clean and simple repository size badge, courtesy of shields.io.
PHP
26
star
8

hanziDB.csv

List of Chinese characters ordered by frequency rank (from most common to least common). Based on Jun Da's Modern Chinese Character Frequency List. Using simplified characters.
Python
25
star
9

EasyDefaultImages

A simple project to quickly generate Default launch images for your iOS applications. Super simple and easy to use.
Objective-C
24
star
10

Habitica.php

A PHP class for the Habitica API.
PHP
17
star
11

RFMathTextField

A simple validator/equation answerer.
Objective-C
17
star
12

Beamy

[iOS] Send messages from one device to another using Bluetooth LE technology.
Swift
13
star
13

HabitRPG-GitHub

Connect and sync your HabitRPG and GitHub accounts.
PHP
10
star
14

Screentaker-Plugins

A collection of effects (plugins) for the Screentaker app on the Mac App Store.
Objective-C
7
star
15

UIColor-FlatUIColors

Simple UIColor category from flat ui colors found here: http://flatuicolors.com/.
Objective-C
6
star
16

Scrollometer

Simple way to track how far users scroll.
Swift
4
star
17

charticons

A graph and chart themed icon set. Released under a Creative Commons Attribution 4.0 International License.
4
star
18

octodex-scraper

The backend for the unofficial OctodexAPI. This repo is a PHP scraper/api for GitHub's Octodex website, which can be found at http://octodex.github.com.
PHP
4
star
19

lunchr-ios

Suggests random lunch destinations based on Foursquare lists.
Swift
3
star
20

itunestopx

Simple site to show the top x songs from iTunes using the search API.
PHP
2
star
21

PHPush

PHPush: easily push from your project, with simple POSTs
PHP
2
star
22

hoot-ios

Hoot is a simple command line tool to alert you when a Terminal process has finished, with a push notification right to your device! This is the accompanying iOS app.
Objective-C
2
star
23

random-gravatar

Changes the OctodexAPI profile's Gravatar every day to a new Octocat using Gravatar's XML-RPC API.
PHP
1
star
24

SPTextFieldCell

Easily use UITextFields in UITableViewCells.
Objective-C
1
star
25

StatBars

Simple side bars for simple numbers.
PHP
1
star
26

octodex.py

A Python wrapper for the Octodex API.
Python
1
star
27

polideo

HTML
1
star
28

DownloadCompressor

Download file to server, compress it, and generate a unique download link.
PHP
1
star
29

UIColor-SocialColors

Simple UIColor category from social colors found here: http://www.flatui.net/social-colors/
Objective-C
1
star
30

MyPebbleFaces

Code from app I made in ninth grade. Reached #1 free app in Utilities at one point in App Store.
Objective-C
1
star
31

sandbox

Repository of code that I am learning and/or other snippets I am working on.
Java
1
star
32

peacenow-settlements

Data scraped for CSC630 classmate.
HTML
1
star
33

Swift-Shorthand

An almost ported Swift implementation of Objective-Shorthand.
Objective-C
1
star
34

euler

A collection of Project Euler solutions.
Java
1
star
35

paschedules-chrome

PASchedules Chrome extension
JavaScript
1
star
36

ios-openapi-gen

Generate iOS client API wrappers from Swagger's OpenAPI spec.
Python
1
star
37

Dictionary.java

A reimplementation of HashMap using ArrayLists.
Java
1
star
38

hoot

Hoot is a simple command line tool to alert you when a Terminal process has finished, with a push notification right to your device!
Ruby
1
star
39

octodex.php

A PHP wrapper for the Octodex API.
PHP
1
star
40

agenda

A simple todo-list app written in Swift. (Written for a tutorial.)
Swift
1
star
41

octodex.rb

A Ruby wrapper for the Octodex API.
Ruby
1
star
42

hedwig

Hedwig is middleware for Hoot, the command line tool that sends push notifications to your phone from the console.
JavaScript
1
star
43

swift

Random projects and experiments written in Swift.
Swift
1
star
44

UITabBarItem-Selected

Easy to use to init tab bar items, esp. helpful when using http://www.glyphish.com.
1
star
45

study-savior

Swift
1
star
46

StickerKit

Sticker share kit from 2020, may not be up to date
Swift
1
star
47

rolodex

Track attendees at meetups!
JavaScript
1
star
48

Gotham

Gotham is a text based console game written in Java. It is currently a WIP.
Java
1
star
49

EmojiKit

Use custom emoji in your app with ease. Currently WIP.
Objective-C
1
star
50

lazarus

For blackout poetry. An aggregate news source API, which pulls articles from various online news outlets.
JavaScript
1
star
51

ns-freshman-survey

Early this September, The Phillipian, vol. CXXXIX, and The Exonian, vol. CXXXVIII, collaborated to conduct the first-ever survey of all incoming freshmen at Andover and Exeter.
JavaScript
1
star
52

octodex.objc

An Objective-C wrapper for the Octodex API.
Objective-C
1
star
53

slashcmds

Some publicly available slash commands (e.g. /weather) for Slack. More to come.
JavaScript
1
star