mirror of
https://github.com/VKCOM/vk-ios-sdk.git
synced 2024-09-11 06:45:37 +03:00
Merge pull request #482 from teanet/feature/#-fix-no-newlines
fix no newline warnings
This commit is contained in:
commit
80d79e4f91
@ -1343,6 +1343,7 @@
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
@ -1374,6 +1375,7 @@
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
|
@ -427,6 +427,7 @@
|
||||
"DEBUG=1",
|
||||
"VKDEBUG=1",
|
||||
);
|
||||
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
|
||||
INFOPLIST_FILE = "VKSDKTestApplication/VKSDKTestApplication-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||
@ -454,6 +455,7 @@
|
||||
);
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "VKSDKTestApplication/VKSDKTestApplication-Prefix.pch";
|
||||
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
|
||||
INFOPLIST_FILE = "VKSDKTestApplication/VKSDKTestApplication-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||
|
@ -100,4 +100,4 @@ NSString *const VK_API_PHOTO = @"photo";
|
||||
NSString *const VK_API_ALBUM_ID = @"album_id";
|
||||
|
||||
//Events
|
||||
NSString *const VKCaptchaAnsweredEvent = @"VKCaptchaAnsweredEvent";
|
||||
NSString *const VKCaptchaAnsweredEvent = @"VKCaptchaAnsweredEvent";
|
||||
|
@ -31,4 +31,4 @@
|
||||
#import "VKSchool.h"
|
||||
#import "VKUniversity.h"
|
||||
#import "VKGroup.h"
|
||||
#import "VKDocs.h"
|
||||
#import "VKDocs.h"
|
||||
|
@ -49,4 +49,4 @@
|
||||
}
|
||||
return listOfParsedObjects;
|
||||
}
|
||||
@end
|
||||
@end
|
||||
|
@ -32,4 +32,4 @@
|
||||
- (instancetype)initWithDictionary:(NSDictionary *)dict {
|
||||
return [super initWithDictionary:dict objectClass:[VKPhoto class]];
|
||||
}
|
||||
@end
|
||||
@end
|
||||
|
@ -49,4 +49,4 @@ Special operation for execute upload
|
||||
@interface VKUploadImageOperation : VKOperation
|
||||
|
||||
+ (instancetype)operationWithUploadRequest:(VKUploadPhotoBase *)request;
|
||||
@end
|
||||
@end
|
||||
|
@ -49,4 +49,4 @@ Create new image representation used for upload
|
||||
@return Prepared object for using in upload
|
||||
*/
|
||||
+ (instancetype)uploadImageWithImage:(UIImage *)image andParams:(VKImageParameters *)params;
|
||||
@end
|
||||
@end
|
||||
|
@ -37,4 +37,4 @@
|
||||
upload.parameters = params ?: [VKImageParameters jpegImageWithQuality:0.9];
|
||||
return upload;
|
||||
}
|
||||
@end
|
||||
@end
|
||||
|
@ -195,4 +195,4 @@ typedef enum CornerFlag {
|
||||
CGImageRelease(decompressedImageRef);
|
||||
return decompressedImage;
|
||||
}
|
||||
@end
|
||||
@end
|
||||
|
@ -111,4 +111,4 @@ Save token into user defaults by specified key
|
||||
@property(nonatomic, readwrite, assign) BOOL httpsRequired;
|
||||
@property(nonatomic, readwrite, assign) NSInteger expiresIn;
|
||||
@property(nonatomic, readwrite, strong) VKUser *localUser;
|
||||
@end
|
||||
@end
|
||||
|
@ -294,4 +294,4 @@ static NSString *const PERMISSIONS = @"permissions";
|
||||
_localUser = localUser;
|
||||
}
|
||||
|
||||
@end
|
||||
@end
|
||||
|
@ -74,4 +74,4 @@ typedef NS_ENUM(NSUInteger, VKAuthorizationState) {
|
||||
|
||||
@property(nonatomic, readwrite, assign) VKAuthorizationState state;
|
||||
|
||||
@end
|
||||
@end
|
||||
|
@ -36,4 +36,4 @@
|
||||
@implementation VKMutableAuthorizationResult
|
||||
@dynamic token, user, error, state;
|
||||
|
||||
@end
|
||||
@end
|
||||
|
@ -345,4 +345,4 @@ Enables or disables scheduling for requests
|
||||
|
||||
- (void)notifyTokenExpired;
|
||||
|
||||
@end
|
||||
@end
|
||||
|
@ -8,4 +8,4 @@
|
||||
|
||||
|
||||
@interface VKSharedTransitioningObject : NSObject <UIViewControllerTransitioningDelegate>
|
||||
@end
|
||||
@end
|
||||
|
@ -81,4 +81,4 @@
|
||||
}];
|
||||
}
|
||||
|
||||
@end
|
||||
@end
|
||||
|
Loading…
Reference in New Issue
Block a user