Skip to content

Commit

Permalink
- New version 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenVot committed Aug 6, 2019
1 parent d9be3af commit 13a8999
Show file tree
Hide file tree
Showing 9 changed files with 122 additions and 43 deletions.
1 change: 0 additions & 1 deletion .swift-version

This file was deleted.

5 changes: 4 additions & 1 deletion BFUserFeedbackNavigationController.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@

NS_ASSUME_NONNULL_BEGIN

/**
* Navigation View Controller containing a BFUserFeedbackNavigationController as rootViewController
*/
@interface BFUserFeedbackNavigationController : UINavigationController



/**
Root View Controller containing a table with the textfields used to gather feedback
* Root View Controller containing a table with the textfields used to gather feedback
*/
@property (nonatomic, strong) BFUserFeedbackViewController *feedbackViewController;

Expand Down
33 changes: 33 additions & 0 deletions BFUserFeedbackViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

NS_ASSUME_NONNULL_BEGIN

/**
* BFUserFeedbackViewController provides a basic and configurable view controller to gather feedback from the users
*/
@interface BFUserFeedbackViewController : UITableViewController {

}
Expand All @@ -34,8 +37,14 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic, strong) NSString *hint;

/**
* Font from the hint
*/
@property (nonatomic, strong) UIFont *hintFont;

/**
* Font color from the hint
*/
@property (nonatomic, strong) UIColor *hintFontColor;

#pragma mark - Subject
Expand All @@ -46,10 +55,19 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic, strong) UIFont *subjectFont;

/**
* Font color from the subject textfield
*/
@property (nonatomic, strong) UIColor *subjectFontColor;

/**
* Font color for the placeholder of the subject textfield
*/
@property (nonatomic, strong) UIColor *subjectPlaceholderFontColor;

/**
* Subject placeholder
*/
@property (nonatomic, strong) NSString *subjectPlaceholder;

#pragma mark - Message
Expand All @@ -59,16 +77,31 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic, strong) UIFont *messageFont;

/**
* Message font color
*/
@property (nonatomic, strong) UIColor *messageFontColor;

/**
* Message placeholder font color
*/
@property (nonatomic, strong) UIColor *messagePlaceholderFontColor;

/**
* Message placeholder
*/
@property (nonatomic, strong) NSString *messagePlaceholder;

#pragma mark - Actions

/**
* Hide view controller
*/
- (void)dismiss;

/**
* Send feedback to Bugfender
*/
- (void)sendFeedback;

/**
Expand Down
Binary file modified BugfenderSDK.framework/BugfenderSDK
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@

NS_ASSUME_NONNULL_BEGIN

/**
* Navigation View Controller containing a BFUserFeedbackNavigationController as rootViewController
*/
@interface BFUserFeedbackNavigationController : UINavigationController



/**
Root View Controller containing a table with the textfields used to gather feedback
* Root View Controller containing a table with the textfields used to gather feedback
*/
@property (nonatomic, strong) BFUserFeedbackViewController *feedbackViewController;

Expand Down
33 changes: 33 additions & 0 deletions BugfenderSDK.framework/Headers/BFUserFeedbackViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

NS_ASSUME_NONNULL_BEGIN

/**
* BFUserFeedbackViewController provides a basic and configurable view controller to gather feedback from the users
*/
@interface BFUserFeedbackViewController : UITableViewController {

}
Expand All @@ -34,8 +37,14 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic, strong) NSString *hint;

/**
* Font from the hint
*/
@property (nonatomic, strong) UIFont *hintFont;

/**
* Font color from the hint
*/
@property (nonatomic, strong) UIColor *hintFontColor;

#pragma mark - Subject
Expand All @@ -46,10 +55,19 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic, strong) UIFont *subjectFont;

/**
* Font color from the subject textfield
*/
@property (nonatomic, strong) UIColor *subjectFontColor;

/**
* Font color for the placeholder of the subject textfield
*/
@property (nonatomic, strong) UIColor *subjectPlaceholderFontColor;

/**
* Subject placeholder
*/
@property (nonatomic, strong) NSString *subjectPlaceholder;

#pragma mark - Message
Expand All @@ -59,16 +77,31 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic, strong) UIFont *messageFont;

/**
* Message font color
*/
@property (nonatomic, strong) UIColor *messageFontColor;

/**
* Message placeholder font color
*/
@property (nonatomic, strong) UIColor *messagePlaceholderFontColor;

/**
* Message placeholder
*/
@property (nonatomic, strong) NSString *messagePlaceholder;

#pragma mark - Actions

/**
* Hide view controller
*/
- (void)dismiss;

/**
* Send feedback to Bugfender
*/
- (void)sendFeedback;

/**
Expand Down
Loading

0 comments on commit 13a8999

Please sign in to comment.