23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# else
# import <ObjFW/macros.h>
# endif
#endif
OF_ASSUME_NONNULL_BEGIN
/*!
* @protocol NSBridging NSBridging.h ObjFWBridge/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
|
|
|
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# else
# import <ObjFW/macros.h>
# endif
#endif
OF_ASSUME_NONNULL_BEGIN
/**
* @protocol NSBridging NSBridging.h ObjFWBridge/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
|