Skip to content

ohlulu/CoderEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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