Skip to content

Latest commit

 

History

History
37 lines (18 loc) · 708 Bytes

README.md

File metadata and controls

37 lines (18 loc) · 708 Bytes

CoderEngine

Demo

Usage

  1. Drop ImageEngine to project. (check "copy items if needed")
  2. Edit scheme -> Build -> pre-action -> click + -> New Run Script Action
  3. "$SRCROOT/Demo/Factory/ImageEngine" "$SRCROOT/${Asset.xcasset_path}" "$SRCROOT/${path_you_want _to_save}/ImageFactory.swift"
  4. Remember choice target.
  5. Build.
  6. Open finder and go to your project.
  7. Drop Image ImageFactory.swift to your project. (uncheck "copy items if needed")
  8. Enjoy it!

ImageEngine will creat a ImageFactory.switf in your project. like this 👇

Thanks

KuoChingHao


My website