• Stars
    star
    216
  • Rank 177,353 (Top 4 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 8 years ago

Reviews

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

Repository Details

📱📝 RRMessageController is a UIViewController, allows you to write a message with photos as attachment.

RRMessageController


Version License Platform

RRMessageController is a UIViewController, allows you to write a message with photos as attachment. A messages UI for iPhone. Support text && image. Works with all custom Keyboard for iOS 8.



Installation

RRMessageController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "RRMessageController"

RRMessageController needs AVFoundation Framework

Usage


With block :

```Objective-C - (void) newMessage { RRSendMessageViewController *controller = [[RRSendMessageViewController alloc] init];
[controller presentController:self blockCompletion:^(RRMessageModel *model, BOOL isCancel) {
    if (isCancel == true) {
        self.message.text = @"";
    }
    else {
        self.message.text = model.text;
    }
    [controller dismissViewControllerAnimated:YES completion:nil];
}];

}

<hr>
<p align="center">With delegate :</p>

```Objective-C
#pragma mark RRSendMessageController Delegate

- (void) messageCancel {
    [self.controllerMessage dismissViewControllerAnimated:YES completion:nil];
}

- (void) getMessage:(RRMessageModel *)message {
    self.message.text = message.text;
    [self.controllerMessage dismissViewControllerAnimated:YES completion:nil];
}

- (void) newMessage {
    [self presentViewController:self.controllerMessage animated:YES completion:nil];
}

- (void) initMessageController {
    self.controllerMessage = [[RRSendMessageViewController alloc] init];
    self.controllerMessage.delegate = self;
}

You can launch a RRSendMessgeController with a existant message:

RRMessageModel *defaultMessage = [[RRMessageModel alloc] init];
defaultMessage.text = @"salut !";
defaultMessage.photos = [self getRandomPhotos];
    
RRSendMessageViewController *controller = [[RRSendMessageViewController alloc] initWithMessage:defaultMessage];

More Repositories

1

Dotzu

📱👀 In-App iOS Debugging Tool With Enhanced Logging, Networking Info, Crash reporting And More.
Swift
1,797
star
2

CameraEngine

🐒📷 Camera engine for iOS, written in Swift, above AVFoundation. 🐒
Swift
581
star
3

RRTagController

🔦 RRTagController allows user to select tag and create new one.
Swift
226
star
4

Facemotion

👀 Face detection and recognition iOS app with OpenCV
Objective-C++
173
star
5

Kinder

👫 🔥 The basics of a Tinder-like swipeable cards interface controller
Swift
171
star
6

Tempo

⌚ Date and time manager for iOS/OSX written in Swift
Swift
151
star
7

TextDrawer

TextDrawer, is a UIView allows you to add text, with gesture, on UIView, or UIImage
Swift
106
star
8

Anim

👀 Animation library, using Core Animation. Designed for iOS.
Swift
83
star
9

RRMaterialNavigationBar

Custom UINavigationBar with Google Material style, for iOS written on Swift.
Swift
75
star
10

Github-contributions

🐱 GitHub contributions app, for iOS, WatchOS, and OSX
Swift
73
star
11

ProducthuntOSX

Product hunt application for OS X
Swift
61
star
12

Camembert

Use sqlite3 for iOS and OS X simply.
Swift
51
star
13

gif-creator-ios

iOS Application for create animated gif with the library photos
Objective-C
36
star
14

MVVMBaseProject

Base project to start new app (extremely) quickly, with MVVM architecture. 项目(使用MVVM结构)基于App极速启动
Swift
33
star
15

Crackers

Simple network library in Swift, for iOS and OSX
Swift
31
star
16

Suitchi

Custom Switch for iOS.
Swift
31
star
17

Dotzu-Objective-c

Dotzu Objective-c example project
Objective-C
30
star
18

RRCamera

RRCamera is a camera handler for iOS with crop feature.
Objective-C
26
star
19

RRFreeShadowsocks

iOS application to grab free configuration from free shadowsocks. And generate configuration line for the Surge iOS app.
Swift
22
star
20

foursquare-kit-ios

Foursquare Kit is a native SDK to include Foursquare API inside mobile apps.
Swift
19
star
21

rocko

🐶 Small, and basic http server, written in full C 🐸
C
19
star
22

EchoBLE

BLE sniffer iOS app using CoreBluetooth.
Swift
17
star
23

RRCustomPageController

Custom PageViewController for iOS
Objective-C
14
star
24

Splime

Splime, is a tool, lets you to split a video into frames.
Swift
11
star
25

AppCoordinator-Segue

AppCoordinator architecture with support of segue.
Swift
11
star
26

BaoMonkey

iOS game.
Objective-C
10
star
27

digital-ocean-messenger-bot

🐬💦 Digital Ocean bot for Facebook Messenger platform :octocat:
JavaScript
10
star
28

giphy-OSX-client

OSX native application to search and visualise animated GIFs from http://giphy.com 🐶
Swift
7
star
29

LoginProvider

LoginProvider abstraction to login with services. RxSwift
Swift
7
star
30

RRDownloadFile

Download file from URL for iOS 7.X
Swift
6
star
31

RRColorAverageBanner

Banner with color average of a UIImage, inside a UIImageView for display a title or something else.
Objective-C
6
star
32

CoffeeShopFinder

My very first React Native application iOS / Android
JavaScript
6
star
33

RROLoadSwizzle

Method swizzling, change the implementation of an existing selector.
Objective-C
6
star
34

Naruto-shippuden-iOS

Application iOS, for download and watch Naruto shippuden anime
Objective-C
6
star
35

CoreLocationProvider

CoreLocation subscription provider.
Swift
6
star
36

venuesGenerator

Generator of venues, for random data (restaurant, bar, etc), provided by the foursquare API.
JavaScript
6
star
37

RRSoundStatic

Library to manage communication with ultra sound on iOS
Objective-C
6
star
38

MNIST-machine-learning

Mydrive hackday machine learning MNIST with data set, iOS client for drawing prediction
Swift
5
star
39

SignalAnalyser

Signal analyser Android application.
Java
5
star
40

LocationKit

Location wrapper around CoreLocation in swift.
Swift
5
star
41

Loop

Handle repetitive loop on iOS easily.
Swift
4
star
42

DigitalOcean

DigitalOcean for python3.4
Python
4
star
43

BlinkiOS

blink iOS app
Swift
4
star
44

SpeedBox

Dropbox, but faster. Written in Node.js
JavaScript
4
star
45

RRGIFAlertPanel

:shipit: Xcode plugin for replace the AlertPanel build succeeded and failed by an animated GIF of your choice !
Objective-C
4
star
46

ObjExporter

Export obj file from a SCNScene in SceneKit
Objective-C
3
star
47

emacs-config

Emacs 24 configuration
Emacs Lisp
3
star
48

Anime-scrapping

Node.js app to scrap anime download links.
JavaScript
3
star
49

RRVideoKit

Librairy, to create a video from UIImage list. With options like repeat frames, and mirroring
Objective-C
3
star
50

WaitBlock

Simple utility for only executing code when you want.
Swift
3
star
51

list

Static library list in C
C
3
star
52

MyMakefile

Makefile for Objective-C, C, C++
2
star
53

ImageDownloader

UIImage downloader from url with cache.
Swift
2
star
54

corewar

Core War personal implementation
C
2
star
55

Color

Swift package to manage AINSI color on terminal
Swift
2
star
56

NotificationObserver

NotificationObserver
Swift
2
star
57

RRLocationManager

Helper Core location with geocoder Swift
Swift
1
star
58

FrogGame

frogGame iOS
Objective-C
1
star
59

MyCurrency

Currency app test
Swift
1
star
60

adok-iOS

iOS application for Adok.
Swift
1
star
61

remirobert.github.io

Personal web site
JavaScript
1
star
62

42sh

unix shell
C
1
star
63

TransitionViewController

TransitionViewController is the portage of RRCustomPageController for Swift.
Swift
1
star
64

Fruity

Fruity, custom Xcode template theme.
1
star
65

metasearch-engine

metasearch engine
Python
1
star
66

AndroidApp

First android app
Java
1
star
67

Gifzat

media creation app
Objective-C
1
star
68

list-ocaml

Recode of the list in Ocaml
OCaml
1
star
69

WechatExample

Wechat SDK
Objective-C
1
star
70

randAlpha

My first iOS application.
Objective-C
1
star
71

go-mobile-twitter-stream

Golang mobile experimentation on iOS. Simple twitter stream client
Swift
1
star
72

EpiDroid

Android app
Java
1
star
73

test-restaurant

Swift
1
star
74

Rentster

iOS app
Objective-C
1
star
75

CriminalIntent

:🤖: Android application.
Java
1
star
76

wegif

iOS app 🐸
Swift
1
star
77

Guess-who

Web application for an educational HACKATON 2014.
JavaScript
1
star