mirror of
https://github.com/zhigang1992/NoticeView.git
synced 2026-01-12 22:49:15 +08:00
minor changes to correct text formatting
This commit is contained in:
10
README.md
10
README.md
@@ -4,8 +4,8 @@ A TweetBot-like notice component for iOS.
|
||||
|
||||
<br/>
|
||||

|
||||
<br />
|
||||
<br />
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -14,17 +14,17 @@ A TweetBot-like notice component for iOS.
|
||||
|
||||
### Examples
|
||||
|
||||
- To display a small error notice:
|
||||
To display a small error notice:
|
||||
|
||||
WBNoticeView *nm = [WBNoticeView defaultManager];<br/>
|
||||
[nm showErrorNoticeInView:self.view title:@"Network Error" message:@"Check your network connection."];
|
||||
|
||||
- To display a large error notice, make the text long enough to wrap to another line. Only two lines are supported. If the text doesn't fit in two lines, an ellipsis will be appended at the end of the second line:
|
||||
To display a large error notice, make the text long enough to wrap to another line. Only two lines are supported. If the text doesn't fit in two lines, an ellipsis will be appended at the end of the second line:
|
||||
|
||||
WBNoticeView *nm = [WBNoticeView defaultManager];
|
||||
[nm showErrorNoticeInView:self.view title:@"Network Error" message:@"Check your network connection. Twitter could also be down."];
|
||||
|
||||
- To display a small success notice:
|
||||
To display a small success notice:
|
||||
|
||||
WBNoticeView *nm = [WBNoticeView defaultManager];
|
||||
[nm showSuccessNoticeInView:self.view message:@"Link Saved Successfully"];
|
||||
|
||||
Reference in New Issue
Block a user