Earlier i had posted this: What should be the better way for localizing iOS project?

Now I have done projects for both the ways and I am satisfied with the answers given over there.

In .strings file localization, if there is a username UILabel then instead of assign values in .nib itself, we do create an IBOutlet for that and in .m file we are assigning values. So is there any extra memory consumed by that IBOutlet?

有帮助吗?

解决方案

It's perfectly fine to have IBOutlet for accessing it .m file for the purpose of modifying the appearance. It will not give you any extra memory overheard, Even if you declare it with retain it will just increase the retainCount BUT don't forget to release it in dealloc if you retain the UILabel.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top