Due to issues with TOpenDialog/TSaveDialog, I intent to use NSPanel, but I cant find a documentation or examples in Pascal/Delphi.
Does anybody has a code snipped about how to use NSOpenPanel and NSSavePanel with file filter (setallowedfiletype)?
Related
Trying to implement unity-webview in Unity. But I get a WebView DllNotFoundException and I can't seem to find the dll anywhere in the source to link to it. Anyone know where I can find it?
I can't seem to find the dll anywhere in the source to link to it
You mean you are going to use it for Windows? unity-webview supports only Android, iOS, OS X, and WebPlayer.
I am working on a barcode scanner app and would like to integrate ZXingObjC library to my app because ZXing is the only free library that supports data matrix scanning. I have gone through its README file and tried to integrate the library. But its giving some weird errors like "Multiple methods named “encode” found with mismatched result, parameter type or attributes".
So I thought may be those are ARC problems and tried to convert it to ARC but no luck. It is throwing so many errors!!
I am still struggling with integrating this library. It will be really helpful if anyone can help me on this.
The reason stands behind this answer:Defeating the "multiple methods named 'xxx:' found" error.
Please have a look and try casting objects before calling those methods accordingly.
I am trying to add tesseract to my iOS-App. Im doing the App with Xamarin.iOS.
I tried creating a .dll with btouch and used for that the ported version of tesseract on github(https://github.com/gali8/Tesseract-OCR-iOS). I created the bindings of tesseractOCR.h with Objective-Sharpie and created a
.dll with the TesseractOCR.a file.
Everything worked fine but when trying to build my app with the .dll referenced it gives me the attached Errors.
https://www.dropbox.com/s/w9cvzozgw4gffdx/Screen%20Shot%202014-03-31%20at%2012.46.24.png
How can I fix them?
Thanks in advance
Alex
This seems a good question and I came here looking for Xamarin bindings for Tesseract library, but there was none on this page. After searching, I found that there are a couple of bindings already for Xamarin:
Classic
1. https://github.com/sraiteri/Xamarin-Tesseract-OCR-iOS
Unified
2. https://github.com/jherby2k/Xamarin-Tesseract-OCR-iOS-Unified
Xamarin Forms
3. https://github.com/halkar/Tesseract.Xamarin
Also, there seems to be an active and modern porting to swift, and can be found here:
https://github.com/WhitneyLand/SwiftOpenCV
This discussion on Xamarin forum seems also very useful for anybody interested in this question:
https://forums.xamarin.com/discussion/3673/help-adding-tesseract-as-a-ios-binding-project
Disclaimer: I have not tried any of them yet, just finished my research, now gonna start my experimentation :)
This is because Tesseract uses c++ and the binding needs to know this.
I would suggest creating a binding project as per the tutorial at Xamarin. Then this Xamarin forum post gives great information on how to add c++ to the LinkWith attribute.
I was doing a quick experiment and I was wondering if I have to use MvxTabsFragmentActivity or is it possible to do this using the standard ActionBar logic? I tried to implement it but if I do something similar to this example I get issues with MvxFragment not being able to be converted to Android.App.Fragment.
I was researching this a little and it may be due to a namespace conflict with the v4 support library. Can anyone shed any light on this?
Is MvxTabsFragmentActivity Android's "old" way of doing tabs?
Is MvxTabsFragmentActivity Android's "old" way of doing tabs?
No - Android's old way of doing tabs is using Activities
MvxFragment not being able to be converted to Android.App.Fragment
MvxFragment is based on the support library's Fragment implementation, allowing use back to Android 2.x
You can read more about this support library at http://developer.android.com/tools/support-library/index.html and there's an intro to the mvx fragment implementation at http://slodge.blogspot.co.uk/2013/06/n26-fragments-n1-days-of-mvvmcross.html
Xamarin's support for the support lib is documented in http://docs.xamarin.com/guides/android/platform_features/fragments/part_4_-_providing_backwards_compatibility_with_the_android_support_package
However, there seems to be some problem with Xamarin supporting the latest version - see
http://forums.xamarin.com/discussion/7018/xamarin-support-for-the-new-july-2013-revision-18-v7-compatibility-library for discussion and possible alternatives - from my reading on that thread, Xamarin's suggestion seems to be to use ActionBarSherlock - although I'd also consider LegacyBar
I'm trying to write an IDE for the iOS and I stumbled on a problem. I of course wanted to be able to do syntax highlighting, but I have no idea how I have to get this to work.
I have been googling over a month now, but I haven't found anything useful. Most libraries are C++. That I find no problem, I know enough of C++, but they all use the Boost libraries and I heavily doubt if it's easy to install them on a jailbroken iOS device, or even compile them for the iOS on the Mac.
So I come here for help. What should I do? Should I use a PHP syntax highlighter, which always colors the whole document? Should I write a syntax highlighter my self, that doesn't use the Boost library? Or does somebody here know another library, which can be used on the iOS?
Thank you in advance,
ief2
i have a simillar problem about syntax highlighting, but i prefer to solved it using UIWebview than using core text, because that is a different pixel in rendering text in core text and UITextview (in my problem i was using a core text view that cover by uitextview), and then i try to solved using uiwebview, even i'm still on developing but i can say that it is better using uiwebview than core text, maybe you can take a look at this link http://alexgorbatchev.com/SyntaxHighlighter/ it is an open source code, but it develop using javascript.
Most Boost libraries are header-only. There are only a few Boost libraries, like those for threading and asynchronous I/O, that use a compiled library. If you've found some solutions that would work fine aside from your worries about using Boost, then I would look at them again, as they'll likely work. Even if you must use a Boost library that is not header-only, you can always build it as a static library and link that into your application, so that in the end the only thing that needs to be installed is just your app bundle.
I know this is old, but in case anybody is looking for a complete syntax highlighter for iOS, there's two options:
Highlightr: A Swift library for syntax highlighting, supports hundreds of languages but uses JS as backend. It's fast enough for live editing, though. (Disclaimer: I am the creator of this library).
SyntaxKit: A native solution on early stages of development. Should support any TextMate syntax in the future.