mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-21 11:39:43 +00:00
Merge pull request #487 from wangyaqing/master
remove unnecessary newlines
This commit is contained in:
@@ -90,7 +90,6 @@
|
||||
}
|
||||
if (ENABLE_DEBUG_LOGGING) NSLog(@"-------------------- ------------------------------- --------------------");
|
||||
if (ENABLE_DEBUG_LOGGING) NSLog(@"-------------------- ------------------------------- --------------------");
|
||||
|
||||
}
|
||||
|
||||
- (BOOL)setValue:(nonnull id)value
|
||||
|
||||
@@ -299,8 +299,7 @@
|
||||
}
|
||||
|
||||
- (void)logHierarchyKeypathsWithParent:(NSString * _Nullable)parent {
|
||||
[_contentsGroup logHierarchyKeypathsWithParent:parent
|
||||
];
|
||||
[_contentsGroup logHierarchyKeypathsWithParent:parent];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -233,7 +233,6 @@ struct LOT_Subpath {
|
||||
|
||||
nextSubpath = nextSubpath->nextSubpath;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
- (void)trimPathFromT:(CGFloat)fromT toT:(CGFloat)toT offset:(CGFloat)offset {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -69,7 +69,6 @@
|
||||
if (hasSkew || hasSkewAxis) {
|
||||
NSLog(@"%s: Warning: skew is not supported: %@", __PRETTY_FUNCTION__, name);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
- (NSString *)description {
|
||||
|
||||
@@ -103,7 +103,6 @@
|
||||
} else {
|
||||
self.animationView.animationProgress = endProgress;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
- (NSString *)accessibilityValue {
|
||||
|
||||
@@ -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{
|
||||
|
||||
@@ -122,7 +122,6 @@
|
||||
}
|
||||
|
||||
[_assetGroup finalizeInitialization];
|
||||
|
||||
}
|
||||
|
||||
- (void)setRootDirectory:(NSString *)rootDirectory {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
|
||||
- (BOOL)needsUpdateForFrame:(NSNumber *)frame {
|
||||
return [_interpolator hasUpdateForFrame:frame];
|
||||
|
||||
}
|
||||
|
||||
- (void)performLocalUpdate {
|
||||
|
||||
@@ -144,6 +144,4 @@
|
||||
self.localPath = path1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@end
|
||||
|
||||
@@ -15,8 +15,7 @@
|
||||
|
||||
@end
|
||||
|
||||
@implementation LOTValueInterpolator {
|
||||
}
|
||||
@implementation LOTValueInterpolator
|
||||
|
||||
- (instancetype)initWithKeyframes:(NSArray <LOTKeyframe *> *)keyframes {
|
||||
self = [super init];
|
||||
|
||||
Reference in New Issue
Block a user