简体   繁体   中英

Cocoa Bindings or code?

I was wondering which way would be better if I were making a simple application with a table view in it. Cocoa bindings seem much simpler but it meet take up more CPU or RAM, which is why I'm asking the experts for some opinions about the 2 ways. Thanks.

Bindings.

Why manage it all yourself and worry about performance without profiling?

Machines are pretty fast these days, and worrying about whether there is an unacceptable overhead with using Bindings in a simple application (as you call it) is just being silly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM