Hi,
I'm building my first iPhone app, and for learning (& because I don't find a good ORM layer) I'm building the ORM part.
I have 10+ years of experience coding in FoxPro, Delphi, .NET, Python, but this Obj-C is the most confusing of all
In Delphi or .NET I can do this:
Is important to note that I pass the class, nor a instantiated object. Now, inside select, I do TClass.Create(..) & get a new object...
How mimic this in Obj-c?
This not work...
I'm building my first iPhone app, and for learning (& because I don't find a good ORM layer) I'm building the ORM part.
I have 10+ years of experience coding in FoxPro, Delphi, .NET, Python, but this Obj-C is the most confusing of all
In Delphi or .NET I can do this:
Code:
function Select(sql:String,TClass):TArray;
How mimic this in Obj-c?
Code:
-(NSArray *) load: (NSString *)sql :(DbObject)obj;
This not work...