Pre Exam Test Practice
Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
how do i create a custom ios view class and instantiate multiple copies of it i
how do i create a custom ios view class and instantiate multiple copies of it i ¬†using -'ios,xcode,class,uiview,uiviewcontroller'
I am currently making an app that will have multiple timers, which are basically all the same.
I want to create a custom class that uses all of the code for the timers as well as the layout/animations, so I can have 5 identical timers that operate independently of each other.
I created the layout using IB (xcode 4.2) and all the code for the timers is currently just in the viewcontroller class.
I am having difficulty wrapping my brain around how to encapsulate everything into a custom class and then add it to the viewcontroller, any help would be much appreciated.
Oct 6, 2015
to add a comment.
Related Hot Questions
Government Jobs Opening