Sujeev's Tech Blog
Monday, October 25, 2010
Typecasting in iOS
example:
@interface mytype : XYZtype {
}
.
.
.
mytype *abc = [some_function];
in the above syntax if
some_function
returns a type of XYZtype then the following is correct.
mytype *abc = (mytype *)[some_function];
posted by Sujeev @
3:57 AM
0 Comments:
Post a Comment
<< Home
Sujeev's Tech Blog
About Me
Name:
Sujeev
Location:
Sri Lanka
View my complete profile
Previous Posts
Apple iPhone development
Back to PostgreSQL
0 Comments:
Post a Comment
<< Home