What's the easiest way to create an array of structs?

前端 未结 5 1861
执念已碎
执念已碎 2021-01-30 18:06

What\'s the easiest way to create an array of structs in Cocoa?

5条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-30 19:06

    Does it need to be a struct? It's generally better to make it an object if you can. Then you can use things like KVC and Bindings with it.

提交回复
热议问题