From 96ab82d75e6b207478b53562ebca8295d549f61a Mon Sep 17 00:00:00 2001 From: Animax Deng Date: Sun, 17 May 2020 02:04:29 -0500 Subject: [PATCH] Update Readme --- README.md | 20 +++++++++++++++++++- TODO.md | 20 ++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 TODO.md diff --git a/README.md b/README.md index 0d446d6..cbf40f8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# A-StyleInjection +# A Style Injection Framework **A Style Injection** provide the injection way to customize whole iOS application base on the single configuration file without extra coding. @@ -82,6 +82,7 @@ Cocoa Pod install: ``` + ## Format of Style value | Type | Format | Example | Desc | @@ -91,3 +92,20 @@ Cocoa Pod install: | **Font** | $" Font name ":Font Size | `$"Helvetica Neue":17` | Create Font | + + +## UIKit Extension Property + +#### UIButton +| Property | Mapped Original Function | +| ------------------------ | ---------------------- | +| **normalTitle** | `titleForState:Normal` | +| **highlightedTitle** | `titleForState:Highlighted` | +| **disabledTitle** | `titleForState:Disabled` | +| **selectedTitle** | `titleForState:Selected` | +| **normalTitleColor** | `titleColorForState:Normal` | +| **highlightedTitleColor** | `titleColorForState:Highlighted` | +| **disabledTitleColor** | `titleColorForState:Disabled` | +| **selectedTitleColor** | `titleColorForState:Selected` | + + diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..05c7ac6 --- /dev/null +++ b/TODO.md @@ -0,0 +1,20 @@ +# A Style Injection Framework Functions + +- [x] [Style source] Load style setting in plist +- [x] [Style source] Load style setting in customzie dictionary +- [x] [Style Value] Add UI color format +- [x] [Style Value] Add CG color format +- [x] [Style Value] Add Font format +- [x] [Verify] style injection in table view +- [x] [UIKit extension] Add assist property for UIButton +- [ ] [Function] Add force style refresh function +- [ ] [Function ]Public interface for customize normalize style +- [ ] [Verify] style injection in collection view +- [ ] [Compatibility] Fit for React Native +- [ ] [Compatibility] Fit for Flutter +- [ ] [Style Value] load image format +- [ ] [Function] Set style to specific layer +- [ ] [Function] Set style to specific number of the item [?] + + +