• Stars
    star
    261
  • Rank 156,630 (Top 4 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created about 11 years ago
  • Updated over 6 years ago

Reviews

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

Repository Details

Library to send feedback for iOS. Swift version https://github.com/rizumita/CTFeedbackSwift

CTFeedback

If your app supports over iOS9.0 and written in swift, you can use CTFeedbackSwift -

CTFeedback is a library to send feedback for iOS 6.0+.

Screenshot

Install

CTFeedback is on CocoaPods. Simply add:

pod 'CTFeedback'

to your Podfile.

Example

CTFeedbackViewController *feedbackViewController = [CTFeedbackViewController controllerWithTopics:CTFeedbackViewController.defaultTopics localizedTopics:CTFeedbackViewController.defaultLocalizedTopics];
feedbackViewController.toRecipients = @[@"[email protected]"];
feedbackViewController.useHTML = NO;
[self.navigationController pushViewController:feedbackViewController animated:YES];

Sample Output

###Plaintext Email:

Device: iPhone 5s (GSM)

iOS: 7.0.4

App: CTFeedbackDemo

Version: 1.0.1

Build: 1.0.1

###HTML Email:

<tr><td>Device:</td><td><b>iPhone 5s (GSM)</b></td></tr>
<tr><td>iOS:</td><td><b>7.0.4</b></td></tr>
<tr><td>App:</td><td><b>CTFeedbackDemo</b></td></tr>
<tr><td>Version:</td><td><b>1.0.1</b></td></tr>
<tr><td>Build:</td><td><b>1.0.1</b></td></tr>

Custom Feedback via your server API

You also can use your own server API to send feedback. It can be useful if user has no E-mail account on device or else.

To use custom callback set useCustomCallback to YES. If you want to let user input his E-mail, set showUserEmail to YES.

CTFeedbackViewController *feedbackViewController = [CTFeedbackViewController controllerWithTopics:CTFeedbackViewController.defaultTopics localizedTopics:CTFeedbackViewController.defaultLocalizedTopics];
feedbackViewController.showsUserEmail = YES;
feedbackViewController.useCustomCallback = YES;
feedbackViewController.delegate = self;
[self.navigationController pushViewController:feedbackViewController animated:YES];

Also implement delegate function:

- (void)feedbackViewController:(CTFeedbackViewController *)controller
   didFinishWithCustomCallback:(NSString *)email
                         topic:(NSString *)topic
                       content:(NSString *)content
                    attachment:(UIImage *)attachment

See demo for more details.

License

MIT license

More Repositories

1

CTCheckbox

CTCheckbox is a checkbox UI component library for iOS.
Objective-C
90
star
2

CTFeedbackSwift

Feedback mail composer for iOS re-written in Swift of CTFeedback
Swift
69
star
3

TransitionOperator

Transition operator class for iOS.
Swift
21
star
4

UIImage-Dummy

Objective-C
21
star
5

NSObject-Aspect

NSObject+Aspect is a category of aspect oriented programming for NSObject of Objective-C
Objective-C
17
star
6

Selm

Selm is the framework to realize Elm architecture in Swift
Swift
13
star
7

deepl_popclip_extension

DeepL Translator PopClip Extension
AppleScript
12
star
8

GetLanguages

Swift
11
star
9

CTTokenField

CTTokenField is a token filed component for iOS
Objective-C
11
star
10

ResourceInstantiatable

iOS resources management framework in Swift2
Swift
9
star
11

CTFluentLogger

Logger for Fluentd (iOS/OSX)
Objective-C
9
star
12

CombineAsync

Async/Await for Swift Combine
Swift
7
star
13

CTColorPicker

HSB ColorPicker for SwiftUI
Swift
5
star
14

Tasks

Swift
2
star
15

CTMessageCenter

Objective-C
2
star
16

Sede

Sede is a library for SwiftUI to bind a view and a model and to provide routing.
Swift
2
star
17

Reactive-Evernote-SDK-iOS

Evernote SDK iOS with ReactiveCocoa
C
2
star
18

fuel-evernote

PHP
2
star
19

Safari2Tweetbot

Safari extension to send current page to Tweetbot
2
star
20

CTKeychain

Keychain access library with Swift
Swift
2
star
21

XCAdditions

Xcode extension providing additional commands
Swift
2
star
22

robot_example

Dart
2
star
23

CoreData-Typhoon-iOS

Typhoon assembly of CoreData components for iOS
2
star
24

TestExtSwift

Test+Extended for Swift
Swift
2
star
25

cookbooks

1
star
26

SelmSample

Selm https://github.com/rizumita/Selm sample app.
Swift
1
star
27

PassCurrent

PHP
1
star
28

Seda

Seda is Redux+Command framework for SwiftUI and UIKit.
Swift
1
star