swift的访问级别有public internal 还有private 具体可看这个大牛的博客
http://www.devtalking.com/articles/swift-access-control/