Hi, thanks, now I read those docs, but there is still something I don't understand. There they recommend I should use something like:
[aControl setAction:@selector(deleteRecord:)]; But setAction expectes just a selector as parameter, so it seams to me that a lot of information about the method to be called is missing. AFAIK a selector just identifies the name of the method, but the class to which it bellongs to is missing and also the pointer to it's instance and the pointer to the method code. I'm using Cocoa from Pascal using PasCocoa ( http://wiki.lazarus.freepascal.org/PasCocoa ), so I can't use objective-c language constructions and need to get this working with just objective-c runtime headers. I tryed to see the assembly for @selector(something:); but it isn't promissing. It calls a objc_meth_ something that I can't find anywhere. thanks, -- Felipe Monteiro de Carvalho _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
