objective-c-runtime
Objective-C: Associative Object Behaviors
Does OBJC_ASSOCIATION_RETAIN_NONATOMIC of the Associative Object Behaviors in t开发者_JAVA百科he Objective-C Runtime Reference, call release on the old value referenced by the associated object before[详细]
2023-03-18 20:31 分类:问答Cocoa/Objective-C Plugins Collisions
My application has a 开发者_如何学Goplugin system that allows my users to write their own plugins that get loaded at runtime. Usually this is fine but in some cases two plugins use the same libraries[详细]
2023-03-12 15:19 分类:问答How to enumerate methods of a class
Is there any way to enumerate methods of one class, for example, I have one class defined like below:[详细]
2023-03-11 21:08 分类:问答Sending unrecognized selector to object, why terminate application?
When studying objective-C one of the consequences of it\'s high degree of dynamism is that one can send any message to an object even when it will not respond to it at runtime.[详细]
2023-03-10 07:07 分类:问答Get the object which called a method
If I have a call from within a random class like this: @implementation Some开发者_如何学JAVAClass[详细]
2023-03-08 01:08 分类:问答Can class_addMethod in Objective-C work only on a specific instance?
I am trying to write some dynamic code where a user can try calling a method from a specific instance of a class and have it 开发者_开发知识库be resolved at runtime. The implementation to retrieve the[详细]
2023-03-03 17:20 分类:问答Why do Objective-C objects have to be dynamically allocated?
Why do Objective-c objects have to be dynamically allocated? Why do I have to make it a pointer to an object, unlike in C++ I can create开发者_开发百科 them on stack?[详细]
2023-03-02 13:28 分类:问答How to scale axes independently at runtime on an NSButton
In Interface Builder, you can select how you want a button\'s image to be scaled, choosing either Axes Independent, Proportionally开发者_如何学Python Down, etc. for the \"Scaling\" drop-down. How can[详细]
2023-03-01 18:22 分类:问答Objective C: Request for member XXX in something not a structure or union
I hit the error (stated in the subject) when trying to run the following code (snippet). The error is pointing to my 3rd and 4th lines of the code below.[详细]
2023-02-21 16:30 分类:问答How to implement an IMP function that returns a large struct type determined at run-time?
Background: CamelBones registers Perl classes with the Objective-C runtime. To do this, every Perl method is registered with the same IMP[详细]
2023-02-21 02:51 分类:问答