Home > Mobile >  New ask a question... IOS pure written UI code on the interface of the code is written in what place
New ask a question... IOS pure written UI code on the interface of the code is written in what place

Time:10-16

A lump all write in viewDidLoad? Writing in one way or separate? (OC)

CodePudding user response:

Separate written in a way, the name can take [self setupViews]

CodePudding user response:

You can write the interface map layout code alone in one way and then call in viewdidload, such reading would have been better

CodePudding user response:

See the interface complexity can make appropriate UI encapsulation
  •  Tags:  
  • iOS
  • Related