iOS Binding Failure with ECSlidingViewController 2

Hey,

Am trying to create a binding library for https://github.com/ECSlidingViewController/ECSlidingViewController project.

However when running objective sharpie, I get the following errors and it thus fails to update the AppDelegate.cs file.

Would be great if anyone could point out whats needed to be done to get this to compile

/Users/viv/Projects/ECSlidingViewController/ECSlidingViewController/ECSlidingConstants.h:30:8: error: unknown type name 'NSString' static NSString *const ECTransitionContextTopViewControllerKey = @"ECTransitionContextTopViewControllerKey"; ^ /Users/viv/Projects/ECSlidingViewController/ECSlidingViewController/ECSlidingConstants.h:35:8: error: unknown type name 'NSString' static NSString *const ECTransitionContextUnderLeftControllerKey = @"ECTransitionContextUnderLeftControllerKey"; ^ /Users/viv/Projects/ECSlidingViewController/ECSlidingViewController/ECSlidingConstants.h:40:8: error: unknown type name 'NSString' static NSString *const ECTransitionContextUnderRightControllerKey = @"ECTransitionContextUnderRightControllerKey"; ^ /Users/viv/Projects/ECSlidingViewController/ECSlidingViewController/ECSlidingConstants.h:45:62: error: function definition is not allowed here typedef NS_ENUM(NSInteger, ECSlidingViewControllerOperation) { ^ /Users/viv/Projects/ECSlidingViewController/ECSlidingViewController/ECSlidingConstants.h:45:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef NS_ENUM(NSInteger, ECSlidingViewControllerOperation) { ~~~~~~~ ^ /Users/viv/Projects/ECSlidingViewController/ECSlidingViewController/ECSlidingConstants.h:45:17: error: a parameter list without types is only allowed in a function definition typedef NS_ENUM(NSInteger, ECSlidingViewControllerOperation) { ^ /Users/viv/Projects/ECSlidingViewController/ECSlidingViewController/ECSlidingConstants.h:61:26: error: expected ')' typedef NS_ENUM(NSInteger, ECSlidingViewControllerTopViewPosition) { ^ /Users/viv/Projects/ECSlidingViewController/ECSlidingViewController/ECSlidingConstants.h:61:16: note: to match this '(' typedef NS_ENUM(NSInteger, ECSlidingViewControllerTopViewPosition) { ^ /Users/viv/Projects/ECSlidingViewController/ECSlidingViewController/ECSlidingConstants.h:61:67: error: expected ';' after top level declarator typedef NS_ENUM(NSInteger, ECSlidingViewControllerTopViewPosition) { ^ ; /Users/viv/Projects/ECSlidingViewController/ECSlidingViewController/ECSlidingConstants.h:75:31: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef NS_OPTIONS(NSInteger, ECSlidingViewControllerAnchoredGesture) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/viv/Projects/ECSlidingViewController/ECSlidingViewController/ECSlidingConstants.h:75:71: error: function definition is not allowed here typedef NS_OPTIONS(NSInteger, ECSlidingViewControllerAnchoredGesture) { ^ /Users/viv/Projects/ECSlidingViewController/ECSlidingViewController/ECSlidingConstants.h:75:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef NS_OPTIONS(NSInteger, ECSlidingViewControllerAnchoredGesture) { ~~~~~~~ ^ 3 warnings and 8 errors generated. Error while processing /Users/viv/Projects/ECSlidingViewController/ECSlidingViewController/ECSlidingConstants.h. sharpie-clang-parser exited with error code: 1 System.Exception: sharpie-clang-parser exited with error code: 1 at Sharpie.ObjC.Parser.Parse (System.IO.TextWriter sexpWriter, System.Collections.Generic.List1 stderrLines) [0x00000] in :0
at Sharpie.Mac.MainWindowController+c__AnonStorey3.<>m__B (System.Object o) [0x00000] in :0
`

Sign In or Register to comment.