How do I create an importable module in Swift?

前端 未结 5 1410
遇见更好的自我
遇见更好的自我 2020-12-08 06:08

I have read through Apple\'s documentation for Swift and can find nothing about how to create modules or how to define class or stucture members as private or public.

5条回答
  •  春和景丽
    2020-12-08 06:43

    Apple mentioned that private methods don't exist yet but they are in the process of being implemented. Remember that this is a newborn language and it is still being build up.

提交回复
热议问题