Merge pull request #17 from weichnn/master

fix a little bug.

Merged
Merge pull request #18 from weichnn/master

fix the view can’t removeFromSuperview when receiver don’t  implements o...
refactored: apply some principles like DRY or separation of concerns