Skip to content

Commit

Permalink
Add ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
iDevOrz committed Aug 7, 2019
1 parent 790be2d commit 568acfa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LazyLoad/Runtime.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fileprivate let languageUTIs: [CFString: Language] = [
class Runtime {
private init() {
if let path = Bundle.main.path(forResource: "LazyLoadTemp", ofType: "plist"), let dict = NSDictionary(contentsOfFile: path) as? [String: String] {
lazyLoadStringTemp = dict
lazyLoadStringTemp = dict
}else{
lazyLoadStringTemp = [String:String]()
}
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# JYLazyLoader



效果:

![lazyload](https://s2.ax1x.com/2019/08/07/eILMOU.gif)



源起:[Xcode 懒加载生成插件](https://blog.devorz.com/2019/08/07/Xcode-Extension-Lazy-Load/)

0 comments on commit 568acfa

Please sign in to comment.