Merge pull request #487 from wangyaqing/master

remove unnecessary newlines
This commit is contained in:
Brandon Withrow
2017-11-30 10:09:56 -08:00
committed by GitHub
12 changed files with 2 additions and 17 deletions

View File

@@ -90,7 +90,6 @@
}
if (ENABLE_DEBUG_LOGGING) NSLog(@"-------------------- ------------------------------- --------------------");
if (ENABLE_DEBUG_LOGGING) NSLog(@"-------------------- ------------------------------- --------------------");
}
- (BOOL)setValue:(nonnull id)value

View File

@@ -299,8 +299,7 @@
}
- (void)logHierarchyKeypathsWithParent:(NSString * _Nullable)parent {
[_contentsGroup logHierarchyKeypathsWithParent:parent
];
[_contentsGroup logHierarchyKeypathsWithParent:parent];
}
@end

View File

@@ -233,7 +233,6 @@ struct LOT_Subpath {
nextSubpath = nextSubpath->nextSubpath;
}
}
- (void)trimPathFromT:(CGFloat)fromT toT:(CGFloat)toT offset:(CGFloat)offset {

View File

@@ -25,7 +25,6 @@
return self;
}
- (void)_mapFromJSON:(NSDictionary *)jsonDictionary
withAssetGroup:(LOTAssetGroup * _Nullable)assetGroup {
_referenceID = [jsonDictionary[@"id"] copy];
@@ -51,7 +50,6 @@
_layerGroup = [[LOTLayerGroup alloc] initWithLayerJSON:layersJSON
withAssetGroup:assetGroup];
}
}
@end

View File

@@ -69,7 +69,6 @@
if (hasSkew || hasSkewAxis) {
NSLog(@"%s: Warning: skew is not supported: %@", __PRETTY_FUNCTION__, name);
}
}
- (NSString *)description {

View File

@@ -103,7 +103,6 @@
} else {
self.animationView.animationProgress = endProgress;
}
}
- (NSString *)accessibilityValue {

View File

@@ -382,7 +382,6 @@ static NSString * const kCompContainerAnimationKey = @"play";
}
}
- (void)setLoopAnimation:(BOOL)loopAnimation {
_loopAnimation = loopAnimation;
if (_isAnimationPlaying && _sceneModel) {
@@ -457,7 +456,6 @@ static NSString * const kCompContainerAnimationKey = @"play";
return [_compContainer convertRect:rect fromLayer:self.layer toLayerNamed:layerName];
}
- (void)setValue:(nonnull id)value
forKeypath:(nonnull NSString *)keypath
atFrame:(nullable NSNumber *)frame{

View File

@@ -122,7 +122,6 @@
}
[_assetGroup finalizeInitialization];
}
- (void)setRootDirectory:(NSString *)rootDirectory {

View File

@@ -32,7 +32,6 @@
+ (nonnull instancetype)animationFromJSON:(nullable NSDictionary *)animationJSON
inBundle:(nullable NSBundle *)bundle NS_SWIFT_NAME(init(json:bundle:));
- (instancetype _Nonnull)initWithJSON:(NSDictionary * _Nullable)jsonDictionary
withAssetBundle:(NSBundle * _Nullable)bundle;

View File

@@ -30,7 +30,6 @@
- (BOOL)needsUpdateForFrame:(NSNumber *)frame {
return [_interpolator hasUpdateForFrame:frame];
}
- (void)performLocalUpdate {

View File

@@ -144,6 +144,4 @@
self.localPath = path1;
}
@end

View File

@@ -15,8 +15,7 @@
@end
@implementation LOTValueInterpolator {
}
@implementation LOTValueInterpolator
- (instancetype)initWithKeyframes:(NSArray <LOTKeyframe *> *)keyframes {
self = [super init];