This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (CGSize)adjustedSizeWithFont:(UIFont *)font fromDefaultSize:(CGSize)defaultSize { | |
CGFloat additionalHeight = 0.0f; | |
NSDictionary *attributes = @{NSFontAttributeName : font}; | |
CGRect rect = [self boundingRectWithSize:CGSizeMake(defaultSize.width, MAXFLOAT) | |
options:NSStringDrawingUsesLineFragmentOrigin | |
attributes:attributes | |
context:nil]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIImage+NoNilImageNamed.m | |
// UARecord | |
// | |
// Created by DX131 on 2/26/15. | |
// Copyright (c) 2015 Under Armour. All rights reserved. | |
// | |
#import "UIImage+NoNilImageNamed.h" | |
#import <objc/runtime.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-05-19 17:21:22.118 Record[2816:791519] <Debug:0x174297c00 -[SensorConnectViewController addRecorderDataSource] (line 310)> Added workout sensor data source with device UUID: 3FF231D1-AA2F-C4CF-B429-B94F73711A56 | |
2015-05-19 17:21:22.118 Record[2816:791581] <Debug:0x171875680 -[UARecorderCalculator addDataSource:] (line 154)> Primary data sources: { | |
"energy_expended" = "<UABluetoothDataSource: 0x174297a70>"; | |
"heart_rate" = "<UABluetoothDataSource: 0x174297a70>"; | |
steps = "<UABluetoothDataSource: 0x174297a70>"; | |
willpower = "<UABluetoothDataSource: 0x174297a70>"; | |
} | |
2015-05-19 17:21:22.118 Record[2816:791519] <Debug:0x17465b270 -[UARecorder addSensorDataSourceObserver:withName:] (line 543)> Observing data source with name 3FF231D1-AA2F-C4CF-B429-B94F73711A56. | |
2015-05-19 17:21:22.118 Record[2816:791581] <Debug:0x17187c380 -[UARecorderCalculator addDataSource:] (line 155)> Current triggers: { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-05-19 17:18:19.531 Record[2816:791519] <Debug:0x17069f680 -[SensorConnectViewController addRecorderDataSource] (line 310)> Added workout sensor data source with device UUID: 3FF231D1-AA2F-C4CF-B429-B94F73711A56 | |
2015-05-19 17:18:19.532 Record[2816:791581] <Debug:0x171879140 -[UARecorderCalculator addDataSource:] (line 154)> Primary data sources: { | |
"energy_expended" = "<UABluetoothDataSource: 0x1706984c0>"; | |
"heart_rate" = "<UABluetoothDataSource: 0x1706984c0>"; | |
steps = "<UABluetoothDataSource: 0x1706984c0>"; | |
willpower = "<UABluetoothDataSource: 0x1706984c0>"; | |
} | |
2015-05-19 17:18:19.532 Record[2816:791581] <Debug:0x171879200 -[UARecorderCalculator addDataSource:] (line 155)> Current triggers: { | |
} | |
2015-05-19 17:18:19.533 Record[2816:791581] <Debug:0x1718793c0 __33-[UARecordProcessor beginPolling]_block_invoke (line 73)> Processed UABlockMessage. |