开发者

Dynamic View Creation in Iphone?

can any one please tell me how to create Dynamic views in iphone. And I want to know like what is difference between custom views and dynamic views in iphone.

Acutally i went throught google but i didn't find any proper answer.

And I have one more question is like can we create all the views manually开发者_开发技巧 in the coding iteslf like the one we create using a Interface bulder and save it as a .nib. how can it be done?can any one please explain me this.

Thanks,


And I want to know like what is difference between custom views and dynamic views in iphone.

They are two different concepts. Apples and oranges.

A "custom view" generally refers to a subclass of UIView.

A "dynamic view" might imply a UIView that is loaded dynamically depending on control flow through your application.

And I have one more question is like can we create all the views manually in the coding iteslf like the one we create using a Interface bulder and save it as a .nib. how can it be done?can any one please explain me this.

UIView someView = [[UIView alloc] init];


You can't create a view manually with code and then make it a nib file.

For Dynamic view I'm not sure what you mean. Describe what you want to achieve in the end. Custom View are normally views that you have coded by extending UIView or whatever modifying it to fit your needs. Dynamic view's = view you've coded instead of using IB ??!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜