2014年6月8日 星期日

Swift Class VS Structure

Class VS Structure

Class can be subclassed
Class modifies by reference

Structure
No subclassing
Make a copy of the passing values and modifying the copy

沒有留言:

張貼留言