Sha256: 34d85d5eadd63ac360807c22ecddf47b26e7efaf36ffc75c73a88f10e407e9ff
Contents?: true
Size: 341 Bytes
Versions: 14
Compression:
Stored size: 341 Bytes
Contents
#import "IBattery.h" #import "BatteryFactoryBase.h" static BatteryFactoryBase* ourBatteryFactory = nil; @implementation BatteryFactorySingleton +(id<IBatteryFactory>) getBatteryFactoryInstance { if (ourBatteryFactory == nil) { ourBatteryFactory = [[BatteryFactoryBase alloc] init]; } return ourBatteryFactory; } @end
Version data entries
14 entries across 14 versions & 1 rubygems