At run-time, in objective-c, how to place a UIObject into a UIView?
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can place a UIObject in a UIView whenever you like so long as the view and object both exist (and you can create them if they don’t). If the object is a subclass of UIView (which I assume it is), then just do:
Place this code wherever you like, so long as both
myViewandmyObjecthave already been created (withallocandinit, for example).