Up
Authors
Richard Frith-Macdonald (rfm@gnu.org )
Date: Generated at 2026-11-29 UTC
Copyright: (C) 2026 Free Software Foundation, Inc.
class_GSBoxWeak
NSObject
NSObject
GSBoxWeak
GSBoxWeak
NSObject->GSBoxWeak
Declared in:
GNUstepBase/GSBoxWeak.h
Availability: OpenStep
GSBoxWeak is a trivial class to provide an object
which holds a weak reference to another object value.
This allows easy use of weak references in non-ARC code,
so that you can write code which is portable to compilers
and systems other than Clang/Apple.
GSBoxWeak declares 1 Instance Variables
+ (instancetype)
boxWeak: (id)v;
Availability: OpenStep
Creates and returns an autorelease weak reference
to the supplied value.
- (instancetype)
initWithValue: (id)v;
Availability: OpenStep
Initialises an instance as a weak reference to
the supplied value.
- (void)
setValue: (id)v;
Availability: OpenStep
Sets the receiver as a weak reference to the supplied
value.
- (id)
value ;
Availability: OpenStep
Returns the weakly referenced value or
nil if the referenced object has been
deallocated.
Instance Variables for GSBoxWeak Class
@protected id
value ;
Availability: OpenStep
Description forthcoming.
Up