31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
* @protocol NSBridging NSBridging.h ObjFW-Bridge/NSBridging.h
*
* @brief A protocol implemented by classes supporting bridging Foundation
* objects to ObjFW objects.
*/
@protocol NSBridging
/*!
* @brief Returns an instance of an ObjFW object corresponding to the receiver.
*
* If possible, the original object is wrapped. If this is not possible, an
* autoreleased copy is created.
*
* @return The receiver as an ObjFW object
*/
@property (readonly, nonatomic) id OFObject;
@end
OF_ASSUME_NONNULL_END
|
|
<
<
|
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
* @protocol NSBridging NSBridging.h ObjFW-Bridge/NSBridging.h
*
* @brief A protocol implemented by classes supporting bridging Foundation
* objects to ObjFW objects.
*/
@protocol NSBridging
/*!
* @brief An instance of an ObjFW object corresponding to the object.
*
* If possible, the original object is wrapped. If this is not possible, an
* autoreleased copy is created.
*/
@property (readonly, nonatomic) id OFObject;
@end
OF_ASSUME_NONNULL_END
|