开发者

how to use variable that declared in classname.m to that particular classnameviewcontroller.m

hi i am new to iphone development. what i did is i am creating a class named imagepicker.h along with imagepicker.m,for that classes i am creating imagepickerviewcontroller.h and imagepickervie开发者_如何学Gowcontroller.m.... in the imagepicker.m i am declring a button for that button assing a image tag value. "now what i need is how to get that buttion.tag value to imagepickerviewcontroller.m" please help me thanku


Declare the button in your imagepicker.h, make it a property and access it in you view controller by creating an object ob imagepicker class. imagepickerobject.button.tag

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜