Setup lint for iOS
Summary: uncrustify was not recommended to add in xplat thus I have added clangformat for xplat/sonar/iOS Reviewed By: zertosh Differential Revision: D19879977 fbshipit-source-id: 76f6dadf5d55a61a5342802cfde2821cbff38525
This commit is contained in:
committed by
Facebook Github Bot
parent
44f5e35675
commit
35ed3ce1a4
@@ -13,24 +13,25 @@
|
||||
typedef void (^SonarReceiver)(NSDictionary*, id<FlipperResponder>);
|
||||
|
||||
/**
|
||||
Represents a connection between the Desktop and mobile plugins with corresponding identifiers.
|
||||
Represents a connection between the Desktop and mobile plugins with
|
||||
corresponding identifiers.
|
||||
*/
|
||||
@protocol FlipperConnection
|
||||
|
||||
/**
|
||||
Invoke a method on the Sonar desktop plugin with with a matching identifier.
|
||||
*/
|
||||
- (void)send:(NSString *)method withParams:(NSDictionary *)params;
|
||||
- (void)send:(NSString*)method withParams:(NSDictionary*)params;
|
||||
|
||||
/**
|
||||
Register a receiver to be notified of incoming calls of the given method from the Sonar desktop
|
||||
plugin with a matching identifier.
|
||||
Register a receiver to be notified of incoming calls of the given method from
|
||||
the Sonar desktop plugin with a matching identifier.
|
||||
*/
|
||||
- (void)receive:(NSString *)method withBlock:(SonarReceiver)receiver;
|
||||
- (void)receive:(NSString*)method withBlock:(SonarReceiver)receiver;
|
||||
|
||||
/**
|
||||
Report an error to the Flipper desktop app
|
||||
*/
|
||||
- (void)errorWithMessage:(NSString *)message stackTrace:(NSString *)stacktrace;
|
||||
- (void)errorWithMessage:(NSString*)message stackTrace:(NSString*)stacktrace;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user