Working with many interface elements in Cocoa

My application requires an interface that contains many buttons, text fields and matrices. And they must change from time to time. Now I am doing this, having all the elements in IB already and hiding / showing / moving them when necessary. What do others recommend? Should I do this? Should I use NSTabView? NSView? Should I create items programmatically? If yes, then what if I have an element that has already been created, what do I need again without changes? It would be a waste of liberation and creating it again.

Any help would be greatly appreciated.

+3
source share
2 answers

, , . /, IB , , nib.

:

  • ( UIView UIControl ) , . UIViewController, .

  • Cocoa API: s .

  • ( ..) plist, , .

, . , . : .

+2

. / , , , XIB " " , ?

, /// (, NSBox NSView). , , XIB , , .

NSViewController, , . , / " " xib.

+1

Source: https://habr.com/ru/post/1734092/


All Articles