mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Add initialization and change comment to reflect name.
This commit is contained in:
parent
41f827fae1
commit
c7d01e0348
2 changed files with 54 additions and 6 deletions
|
@ -35,8 +35,14 @@ extern "C" {
|
|||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_0, GS_API_LATEST)
|
||||
|
||||
@class NSUnit;
|
||||
|
||||
@interface NSMeasurement : NSObject <NSCopying, NSCoding>
|
||||
|
||||
{
|
||||
NSUnit *_unit;
|
||||
double _doubleValue;
|
||||
}
|
||||
|
||||
// Creating Measurements
|
||||
- (instancetype)initWithDoubleValue: (double)doubleValue
|
||||
unit: (NSUnit *)unit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue