Replace appearance with a block, improve and make more standard sample code
Update podspec
Merge branch 'refs/heads/dev'