Skip to content

Commit

Permalink
Updated Readme
Browse files Browse the repository at this point in the history
fixes #497. Thanks @funnel20!
  • Loading branch information
futuretap committed Sep 27, 2024
1 parent 4f9726f commit 2008004
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3.2
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ IASK not only replicates the feature set of system settings but supports a large
- [Support](#support)
- [License](#license)
- [Author](#author)


# How does it work?

Expand Down Expand Up @@ -230,7 +230,7 @@ There are 3 optional delegate methods to customize how to store and display date
Implement this if you store the date/time in a custom format other than as `NSDate` object. Called when the user starts editing a date/time by selecting the title cell above the date/time picker.
- (NSString*)settingsViewController:(IASKAppSettingsViewController*)sender datePickerTitleForSpecifier:(IASKSpecifier*)specifier;
Implement this to customize the displayed value in the title cell above the date/time picker.
- (void)settingsViewController:(IASKAppSettingsViewController*)sender setDate:(NSDate*)date forSpecifier:(IASKSpecifier*)specifier;
Expand Down Expand Up @@ -261,20 +261,19 @@ Both methods are called for all your `IASKCustomViewSpecifier` entries. To diffe
Optionally you can implement
- (void)settingsViewController:(IASKAppSettingsViewController*)settingsViewController
didSelectCustomViewSpecifier:(IASKSpecifier*)specifier;
- (void)settingsViewController:(IASKAppSettingsViewController*)settingsViewController didSelectCustomViewSpecifier:(IASKSpecifier*)specifier;
to catch tap events for your custom view.
If you specify `File`, `IASKViewControllerClass`, `IASKViewControllerStoryBoardId`, or `IASKSegueIdentifier` (see below), the selection behavior of a custom view is identical to a child pane and the delegate is not called on selection.
If you specify `File`, `IASKViewControllerClass`, `IASKViewControllerStoryBoardId`, or `IASKSegueIdentifier` (see below), the selection behavior of a custom view is identical to a child pane and the delegate is not called on selection.
## Section Headers and Footers
The FooterText key for Group elements is available in system settings. It is supported in InAppSettingsKit as well. On top of that, we support this key for Multi Value elements as well. The footer text is displayed below the table of multi value options.
You can define a custom header view for `PSGroupSpecifier` segments by adding a `Key` attribute and implementing the following method in your `IASKSettingsDelegate`:
- (UIView *)settingsViewController:(id<IASKViewController>)settingsViewController tableView:(UITableView *)tableView viewForHeaderForSection:(NSInteger)section;
You can adjust the height of the header by implementing the following method:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
<key>IASKViewControllerClass</key>
<string>IASKAppSettingsWebViewController</string>
<key>IASKViewControllerSelector</key>
<string>initWithFile:key:</string>
<string>initWithFile:specifier:</string>
<key>Title</key>
<string>WebView</string>
<key>Type</key>
Expand Down

0 comments on commit 2008004

Please sign in to comment.