I have created ABViewController
(inherited from UIViewController
). It has default methods when created (initWithNibName , viewDidLoad , didReceiveMemoryWarning).
So, I wanna set more default method in my custom class such as "setInterface,setData".
Asked
Active
Viewed 70 times
0

NANNAV
- 4,875
- 4
- 32
- 50

ItsaraChai
- 1
- 1
-
you mean you want new template for create new class? – Bryan Chen Jun 04 '13 at 04:33
-
Yes, Have any suggest? > – ItsaraChai Jun 04 '13 at 05:27
-
you can either google for xcode template or use code snippet manager tool – Bryan Chen Jun 04 '13 at 05:32
-
Thank you very much. I found the solution, but it's be config IDE level, i just need custom class file template only one project. It's not the good solution. Thank you again. – ItsaraChai Jun 04 '13 at 07:44
1 Answers
0
You can use one trick:
Write required method definition and call it inside viewDidLoad
.
It's just a trick.

Sanjay Joshi
- 2,036
- 6
- 33
- 48