Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Animaxx committed May 17, 2020
1 parent 404cc3d commit 96ab82d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -82,6 +82,7 @@ Cocoa Pod install:
```
## Format of Style value
| Type | Format | Example | Desc |
Expand All @@ -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` |
20 changes: 20 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -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 [?]



0 comments on commit 96ab82d

Please sign in to comment.