From 5ebbdce6bef9c3cebaf601412251833b75ecbc81 Mon Sep 17 00:00:00 2001 From: Kuba Ostrowski Date: Wed, 31 Oct 2018 15:02:19 +0100 Subject: [PATCH] - README.md updated --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index be229a7..031a66a 100755 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ KOPresentationQueuesService.shared.queueChangedEvent = { Text field supports showing and validating an error.

- +

You always have to set the error description before show it. To show an error manually you need to change the default ```validateMode``` to manual and just change the flag ```isShowingError``` to true. @@ -204,7 +204,7 @@ passwordField.errorInfoView.markerColor = UIColor.white ```

- +

You can replace ```errorInfoView``` completely by ```customErrorInfoView```, but new view need to implement ```KOTextFieldErrorInfoInterface```. @@ -236,7 +236,7 @@ userNameField.customErrorInfoView = userNameErrorInfoView ```

- +

Error view that is showing at the right corner of the field, can be customized by changing ```errorIconView``` or replacing it by ```customErrorView```. @@ -261,7 +261,7 @@ passwordField.errorWidth = 100 Controller that calculates progress from given range based on scroll view offset and selected calculating 'mode'.

- +

First declare variable. @@ -302,7 +302,7 @@ Depending on selected ```mode```, progress can be different: High customizable dialog view, that can be used to create you own dialog in simply way.

- +

@@ -385,7 +385,7 @@ dialogViewController.customTransition = KOVisualEffectDimmingTransition(effect: Simple way to get the date from the user.

- +

You can use predefined function to present date picker at the screen like below. Action viewLoaded lets you to set title of barView and left / right button to accept or cancel dialog's result. @@ -418,7 +418,7 @@ Please go to section about [KODialogViewController](#kodialogviewcontroller) to Simple way to get the selected option from the user.

- +

You can use predefined function to present option picker at the screen like below. Options is the arrays of categories / components, that user can select. Action viewLoaded lets you to set title of barView and left / right button to accept or cancel dialog's result. @@ -456,7 +456,7 @@ Please go to section about [KODialogViewController](#kodialogviewcontroller) to Simple way to get the selected option from the user from table.

- +

You can use predefined function to present items picker at the screen like below. Action viewLoaded lets you to set title of barView and left / right button to accept or cancel dialog's result. You need to remember to set ```contentHeight``` or ```contentWidth``` depending on alignments of main view, because UITableView can't define how much size need. In the default situation you have to set ```contentHeight``` because ```mainViewVerticalAlignment``` is different than ```.fill```. Setting and managing items through UITableDataSource need to be handle by the user. @@ -490,7 +490,7 @@ Please go to section about [KODialogViewController](#kodialogviewcontroller) to Simple way to get the selected option from the user from collection.

- +

You can use predefined function to present items picker at the screen like below. Action viewLoaded lets you to set title of barView and left / right button to accept or cancel dialog's result. You need to remember to set ```contentHeight``` or ```contentWidth``` depending on alignments of main view, because UICollectionView can't define how much size need. In the default situation you have to set ```contentHeight``` because ```mainViewVerticalAlignment``` is different than ```.fill```. Setting and managing items through UICollectionViewDataSource need to be handle by the user.