How to use ObjectiveSharpie on Three20Lite

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to use ObjectiveSharpie on Three20Lite

efontana
I'd like to be able to use this for styled text (hyperlinks), has anyone bound this? or, how do I go about binding it myself?

Thanks.

I tried using the Objective Sharpie but I get a ton of errors:

Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTImageViewDelegate.h:46:61: error: expected a type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:23:20: error: cannot find protocol declaration for 'NSObject'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:33:23: error: unknown type name 'CGSize'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:38:23: error: unknown type name 'NSInteger'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:43:29: error: unknown type name 'NSString'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:43:1: error: property with 'copy' attribute must be of object type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:48:4: error: expected a type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPostControllerDelegate.h:36:4: error: expected a type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPostControllerDelegate.h:36:80: error: expected a type/Users/eric/MonoTouch/three20lite/src/Network/TTRequestLoader.h:23:9: fatal error: 'TTCorePreprocessorMacros.h' file not found/Users/eric/MonoTouch/three20lite/src/Network/TTURLRequest.h:23:9: fatal error: 'TTCorePreprocessorMacros.h' file not found/Users/eric/MonoTouch/three20lite/src/Network/Three20Network.h:17:9: fatal error: 'Three20Core.h' file not found/Users/eric/MonoTouch/three20lite/src/Style/TTStyledText.h:20:9: fatal error: 'TTURLRequestDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/Style/Three20Style.h:18:9: fatal error: 'Three20Core.h' file not found/Users/eric/MonoTouch/three20lite/src/Style/Three20Style.h:18:9: fatal error: 'Three20Core.h' file not found/Users/eric/MonoTouch/three20lite/src/Three20+Additions.h:18:9: fatal error: 'Three20.h' file not found/Users/eric/MonoTouch/three20lite/src/Three20+Additions.h:18:9: fatal error: 'Three20.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9: fatal error: 'TTModelDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9: fatal error: 'TTModelDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTButton.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTButtonContent.h:20:9: fatal error: 'TTURLRequestDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTButton.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTImageViewDelegate.h:46:61: error: expected a type/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTButton.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTTableViewDataSource.h:20:9: fatal error: 'TTModel.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9: fatal error: 'TTModelDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTNavigationController.h:17:9: fatal error: 'TTBaseNavigationController.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTPhoto.h:23:20: error: cannot find protocol declaration for 'NSObject'/Users/eric/MonoTouch/three20lite/src/UI/TTPhoto.h:33:23: error: unknown type name 'CGSize'/Users/eric/MonoTouch/three20lite/src/UI/TTPhoto.h:38:23: error: unknown type name 'NSInteger'/Users/eric/MonoTouch/three20lite/src/UI/TTPhoto.h:43:29: error: unknown type name 'NSString'/Users/eric/MonoTouch/three20lite/src/UI/TTPhoto.h:43:1: error: property with 'copy' attribute must be of object type/Users/eric/MonoTouch/three20lite/src/UI/TTPhoto.h:48:4: error: expected a type/Users/eric/MonoTouch/three20lite/src/UI/TTPhotoSource.h:18:9: fatal error: 'TTModel.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9: fatal error: 'TTModelDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9: fatal error: 'TTModelDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9: fatal error: 'TTModelDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTPostControllerDelegate.h:36:4: error: expected a type/Users/eric/MonoTouch/three20lite/src/UI/TTPostControllerDelegate.h:36:80: error: expected a type/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTTableViewDataSource.h:20:9: fatal error: 'TTModel.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTStyledTextLabel.h:18:9: fatal error: 'TTStyledTextDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTButton.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9: fatal error: 'TTModelDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTTableViewDataSource.h:20:9: fatal error: 'TTModel.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTButton.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTTableViewDataSource.h:20:9: fatal error: 'TTModel.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9: fatal error: 'TTModelDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error: 'TTStyleDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9: fatal error: 'TTModelDelegate.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTNavigationController.h:17:9: fatal error: 'TTBaseNavigationController.h' file not found/Users/eric/MonoTouch/three20lite/src/UI/TTNavigationController.h:17:9: fatal error: 'TTBaseNavigationController.h' file not found/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTImageViewDelegate.h:46:61: error: expected a type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:23:20: error: cannot find protocol declaration for 'NSObject'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:33:23: error: unknown type name 'CGSize'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:38:23: error: unknown type name 'NSInteger'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:43:29: error: unknown type name 'NSString'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:43:1: error: property with 'copy' attribute must be of object type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:48:4: error: expected a type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPostControllerDelegate.h:36:4: error: expected a type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPostControllerDelegate.h:36:80: error: expected a type

https://github.com/aporat/three20lite
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to use ObjectiveSharpie on Three20Lite

Abe Gillespie
I don't know if this helps, but Google found me:

http://docs.xamarin.com/guides/ios/advanced_topics/binding_objective-c_libraries/objective_sharpie

On Tue, May 14, 2013 at 9:10 AM, efontana <[hidden email]> wrote:

> I'd like to be able to use this for styled text (hyperlinks), has anyone
> bound this? or, how do I go about binding it myself?
>
> Thanks.
>
> I tried using the Objective Sharpie but I get a ton of errors:
>
> Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTImageViewDelegate.h:46:61:
> error: expected a
> type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:23:20:
> error: cannot find protocol declaration for
> 'NSObject'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:33:23:
> error: unknown type name
> 'CGSize'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:38:23:
> error: unknown type name
> 'NSInteger'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:43:29:
> error: unknown type name
> 'NSString'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:43:1:
> error: property with 'copy' attribute must be of object
> type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:48:4:
> error: expected a
> type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPostControllerDelegate.h:36:4:
> error: expected a
> type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPostControllerDelegate.h:36:80:
> error: expected a
> type/Users/eric/MonoTouch/three20lite/src/Network/TTRequestLoader.h:23:9:
> fatal error: 'TTCorePreprocessorMacros.h' file not
> found/Users/eric/MonoTouch/three20lite/src/Network/TTURLRequest.h:23:9:
> fatal error: 'TTCorePreprocessorMacros.h' file not
> found/Users/eric/MonoTouch/three20lite/src/Network/Three20Network.h:17:9:
> fatal error: 'Three20Core.h' file not
> found/Users/eric/MonoTouch/three20lite/src/Style/TTStyledText.h:20:9: fatal
> error: 'TTURLRequestDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/Style/Three20Style.h:18:9: fatal
> error: 'Three20Core.h' file not
> found/Users/eric/MonoTouch/three20lite/src/Style/Three20Style.h:18:9: fatal
> error: 'Three20Core.h' file not
> found/Users/eric/MonoTouch/three20lite/src/Three20+Additions.h:18:9: fatal
> error: 'Three20.h' file not
> found/Users/eric/MonoTouch/three20lite/src/Three20+Additions.h:18:9: fatal
> error: 'Three20.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9:
> fatal error: 'TTModelDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9:
> fatal error: 'TTModelDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTButton.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTButtonContent.h:20:9: fatal
> error: 'TTURLRequestDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTButton.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTImageViewDelegate.h:46:61:
> error: expected a
> type/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTButton.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTTableViewDataSource.h:20:9:
> fatal error: 'TTModel.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9:
> fatal error: 'TTModelDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTNavigationController.h:17:9:
> fatal error: 'TTBaseNavigationController.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTPhoto.h:23:20: error: cannot
> find protocol declaration for
> 'NSObject'/Users/eric/MonoTouch/three20lite/src/UI/TTPhoto.h:33:23: error:
> unknown type name
> 'CGSize'/Users/eric/MonoTouch/three20lite/src/UI/TTPhoto.h:38:23: error:
> unknown type name
> 'NSInteger'/Users/eric/MonoTouch/three20lite/src/UI/TTPhoto.h:43:29: error:
> unknown type name
> 'NSString'/Users/eric/MonoTouch/three20lite/src/UI/TTPhoto.h:43:1: error:
> property with 'copy' attribute must be of object
> type/Users/eric/MonoTouch/three20lite/src/UI/TTPhoto.h:48:4: error: expected
> a type/Users/eric/MonoTouch/three20lite/src/UI/TTPhotoSource.h:18:9: fatal
> error: 'TTModel.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9:
> fatal error: 'TTModelDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9:
> fatal error: 'TTModelDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9:
> fatal error: 'TTModelDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTPostControllerDelegate.h:36:4:
> error: expected a
> type/Users/eric/MonoTouch/three20lite/src/UI/TTPostControllerDelegate.h:36:80:
> error: expected a
> type/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTTableViewDataSource.h:20:9:
> fatal error: 'TTModel.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTStyledTextLabel.h:18:9:
> fatal error: 'TTStyledTextDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTButton.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9:
> fatal error: 'TTModelDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTTableViewDataSource.h:20:9:
> fatal error: 'TTModel.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTButton.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTTableViewDataSource.h:20:9:
> fatal error: 'TTModel.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9:
> fatal error: 'TTModelDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTView.h:18:9: fatal error:
> 'TTStyleDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTModelViewController.h:20:9:
> fatal error: 'TTModelDelegate.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTNavigationController.h:17:9:
> fatal error: 'TTBaseNavigationController.h' file not
> found/Users/eric/MonoTouch/three20lite/src/UI/TTNavigationController.h:17:9:
> fatal error: 'TTBaseNavigationController.h' file not
> found/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTImageViewDelegate.h:46:61:
> error: expected a
> type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:23:20:
> error: cannot find protocol declaration for
> 'NSObject'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:33:23:
> error: unknown type name
> 'CGSize'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:38:23:
> error: unknown type name
> 'NSInteger'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:43:29:
> error: unknown type name
> 'NSString'/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:43:1:
> error: property with 'copy' attribute must be of object
> type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPhoto.h:48:4:
> error: expected a
> type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPostControllerDelegate.h:36:4:
> error: expected a
> type/Users/eric/MonoTouch/three20lite/src/Build/Three20Lite/TTPostControllerDelegate.h:36:80:
> error: expected a type
>
> https://github.com/aporat/three20lite
>
>
>
> --
> View this message in context: http://monotouch.2284126.n4.nabble.com/How-to-use-ObjectiveSharpie-on-Three20Lite-tp4658307.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [hidden email]
> http://lists.ximian.com/mailman/listinfo/monotouch
_______________________________________________
MonoTouch mailing list
[hidden email]
http://lists.ximian.com/mailman/listinfo/monotouch
Loading...