How to build XMPP application using Monotouch? - xamarin.ios

can anyone help me to undertand how can I build XMPP appication using Monotouch? What library can I use? Are there some example?
Thanks.

Well you could try to port one existing C# XMPP library like this one and try to make an iPhone library project with it then reference it on the iPhone App Project and try to work with it :)
Alex

Related

How to use YubiKey desktop SDK on macOS

I have an existing macOS cocoa app and I'd like to be able to support YubiKey to unlock my app. I've viewed the video on using the Desktop SDK for Windows and Mac but I have no idea how one uses a .NET library within a cocoa app or even if it's possible.
Can anyone clarify how to use this .NET library with a cocoa app? Do I build a framework with Visual Studio to then import into my app or perhaps make a Mac console app with VS? I don't even know where to get started on this.
Any help would be greatly appreciated!
//Ray

Can I convert to Swift in Titanium?

I'm building an app in Titanium in node.js. For my targets I have Android and iOS but I want my iOS target to output native iOS in Swift and not in objective-c.
How can I do this? Is this possible at all?
Thanks a lot.
Titanium used Node.js for the compiler, you wouldn't use much node in your actual app. Also Titanium compiles to a native format but it doesn't literally convert your code in to objective-c / Java and then compile that, at least not directly. The best explanation I've seen is How Does Appcelerator Titanium Mobile Work?
So no, there is no way for this to convert to Swift and if you're looking for a Javascript->Swift converter I cannot imagine it exists. Maybe if you let me know what you are actually trying to achieve, I may be able to help further.

How to convert existing iOS native application into iOS titanium module

I have followed http://wiki.appcelerator.org/display/guides/iOS+Module+Development+Guide and created a ios module and integrated it to titanium application. Now kindly help me how to convert an existing iOS4 (iPhone) application into iOS module for titanium.
My question might be very sily, kindly help me :)
Titanium mobile uses its native javascript to develop modules. At compile time it translates the source code into native code.
And as per your situation you have a native application in iOS 4, so in order to convert it to titanium you got to create the application from scratch in titanium using its native javascript.
I don't think there is any trick or application that converts a native iOS application to titanium.
One suggestion would be by creating an empty module and putting your existing code inside it. The tricky part is getting rid of your own Appdelegate and attching the Modules delegate to your source.
You can show any of your view controllers as follows
[[TiApp app] showModalController:myViewController animated:YES];

monotouch rest starter kit support?

I am trying to write my first app using mono and monotouch, that will be a rest client app.
does monotouch supports the rest starter kit dlls(Microsoft.Http.dll) ?
which options do i have to write a rest client on monotouch ?
Thanks
Hammock on github also supports MonoTouch. Just clone, open Hammock.MonoTouch.sln, build, and pick it out of the /bin/mono folder in the project root.
RestSharp on github!

Can I use the .NET Google GData client in a MonoTouch or MonoDroid app?

Is it possible to reference a library such as the Google GData .NET client in a MonoTouch or MonoDroid app? It would make integration with Google's services much easier.
Thank you.
To get that library (or any library, really) to work against MonoTouch or Mono for Android you'd need to compile it against that profile. Out of the box the GData client won't compile against those profiles because it has some dependencies that aren't compatible. There's a post up here by Mike Bluestein that talks about getting it working with MonoTouch. The same approach should also apply to Mono for Android.

Resources