I have a problem I would like to custom button in your main view, therefore, the controller of the scene viewdidoad code:
[self.buttonGenerate setBackgroundImage: [[UIImage imageNamed: @ "BlueButton.png"] stretchableImageWithLeftCapWidth: 10 Topakaphait: 10] forState: UIControlStateNormal]; [Swynkbtn generated Setbakground image: [[UIImage imageNamed: @ "blueButtonHighlight.png"] Lmbaijh Image with Leftkapvidth: Top 10 Kaphait: 10] Forest: Uaisintolstet highlighted]; But, I'm not sure that there is good relation to the MVC pattern, this code is in my controller, while it should be in the view code. Your Opinion ? What is good practice? (sorry for my english)
thx you
Ideally this will be in your visual code.
Here's the MVC design pattern in Apple's docs.
Comments
Post a Comment