Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 09-09-2009, 01:42 PM   #11 (permalink)
RLScott
Registered Member
 
Join Date: Jun 2009
Location: Ypsilanti, Michigan
Age: 63
Posts: 1,549
RLScott is on a distinguished road
Default

Quote:
Originally Posted by freshking View Post
...Could you explain in more detail how to create the object classes?

@interface MyReceivedObject;
@interface MyInputtedObject;
Wouldn't it be something like:

Code:
@interface MyReceivedObject : NSString {}
@end
@interface MyInputtedObject : NSString {}
@end
@implementation MyReceivedObject
@end
@implementation MyInputtedObject
@end
This creates two subclasses of NSString that differ only in their class name. You may even be able to leave off the implementation blocks, since they are null. I haven't tried it. But it can't hurt to put them in.

Robert Scott
Ypsilanti, Michigan
RLScott is offline   Reply With Quote
 

» Advertisements
» Online Users: 720
23 members and 697 guests
Absentia, ADY, Ammad, ayesha25, baja_yu, Bertrand21, BrianSlick, coreyb, dacapo, Gaz, GHuebner, givensur, jeewan, kapps11, kosicki123, msovani, mutantskin, nobre84, pipposanta, rivers123, sacha1996, trunglee, wynonarr69
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,181
Threads: 93,920
Posts: 402,154
Top Poster: BrianSlick (7,968)
Welcome to our newest member, ayesha25
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:25 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.