Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions TWSReleaseNotesView/TWSReleaseNotesView.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,11 @@
*/
- (void)showInView:(UIView *)containerView;

/**
Shows the release notes view in the specified container view.
@param containerView The container view in which the release notes view must be shown.
@param releaseNotesText The release notes text.
*/
- (void)showInView:(UIView *)containerView releaseNotesText:(NSString *)releaseNotesText;

@end
7 changes: 7 additions & 0 deletions TWSReleaseNotesView/TWSReleaseNotesView.m
Original file line number Diff line number Diff line change
Expand Up @@ -509,4 +509,11 @@ - (void)showInView:(UIView *)containerView
}];
}

- (void)showInView:(UIView *)containerView releaseNotesText:(NSString *)releaseNotesText
{
_releaseNotesText = [releaseNotesText copy];
[_textView setText:_releaseNotesText];
[self showInView:containerView];
}

@end