Skip to content

Commit 2008004

Browse files
committed
Updated Readme
fixes #497. Thanks @funnel20!
1 parent 4f9726f commit 2008004

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.3.2

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ IASK not only replicates the feature set of system settings but supports a large
4444
- [Support](#support)
4545
- [License](#license)
4646
- [Author](#author)
47-
47+
4848

4949
# How does it work?
5050

@@ -230,7 +230,7 @@ There are 3 optional delegate methods to customize how to store and display date
230230
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.
231231
232232
- (NSString*)settingsViewController:(IASKAppSettingsViewController*)sender datePickerTitleForSpecifier:(IASKSpecifier*)specifier;
233-
233+
234234
Implement this to customize the displayed value in the title cell above the date/time picker.
235235
236236
- (void)settingsViewController:(IASKAppSettingsViewController*)sender setDate:(NSDate*)date forSpecifier:(IASKSpecifier*)specifier;
@@ -261,20 +261,19 @@ Both methods are called for all your `IASKCustomViewSpecifier` entries. To diffe
261261
262262
Optionally you can implement
263263
264-
- (void)settingsViewController:(IASKAppSettingsViewController*)settingsViewController
265-
didSelectCustomViewSpecifier:(IASKSpecifier*)specifier;
264+
- (void)settingsViewController:(IASKAppSettingsViewController*)settingsViewController didSelectCustomViewSpecifier:(IASKSpecifier*)specifier;
266265
267266
to catch tap events for your custom view.
268267
269-
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.
268+
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.
270269
271270
272271
273272
## Section Headers and Footers
274273
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.
275274
276275
You can define a custom header view for `PSGroupSpecifier` segments by adding a `Key` attribute and implementing the following method in your `IASKSettingsDelegate`:
277-
276+
278277
- (UIView *)settingsViewController:(id<IASKViewController>)settingsViewController tableView:(UITableView *)tableView viewForHeaderForSection:(NSInteger)section;
279278
280279
You can adjust the height of the header by implementing the following method:

Tests/InAppSettingsKitTests/Settings.bundle/Root.inApp.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286
<key>IASKViewControllerClass</key>
287287
<string>IASKAppSettingsWebViewController</string>
288288
<key>IASKViewControllerSelector</key>
289-
<string>initWithFile:key:</string>
289+
<string>initWithFile:specifier:</string>
290290
<key>Title</key>
291291
<string>WebView</string>
292292
<key>Type</key>

0 commit comments

Comments
 (0)