c++ - How to use Initializer list in objective C -


i have worked on c++, there used initializer list below initialize constructor of base class.

derived::derived(int x):base(x) {      cout << "b's constructor called"; }  

how acheive same action in objective c. how pass value base (super) class while initlizing. possible?

thanx.

we use [super init]; initialize super classes. require.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -