Skip to content

Commit e739bcd

Browse files
committed
change README
1 parent fa7ecc4 commit e739bcd

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,21 @@ If you want to use system font, you should ignore the first value, like this:
9494
bold,14 //boldSystemFontOfSize
9595
italic,14 //italicSystemFontOfSize
9696

97-
**Support reference** Same with the color.
97+
**Support reference**. Same with the color.
9898

99+
### Define image
100+
There are two way for adding img to theme bundle:
101+
102+
1. Put the image file in the bundle;
103+
2. Add a xcassets file , then put image files in the xcassets.
104+
105+
**Support reference**. Same with the color. If image name isn't found in defaults.plist, we use key as image name.
106+
107+
#### Other
99108
You can add whatever you want to the defaults.plist. Just use `objectForKey:` to get the value.
100109

110+
111+
101112
### How to use in your project
102113

103114
Add the absolute path of bundle to AWLThemeManager object, then set the current theme that you want.

0 commit comments

Comments
 (0)