I wanted to know is there any API for Drag and Drop functionality in iOS.
If API is not available, is there any other way to implement it?
This is kind of alpha but might help: dragkit
Answered pretty thoroughly here
JS library (with drag n drop) compatible with iOS and regular browsers
Included libraries that work on IOS and all browsers at the same time.
Related
Need help in ViewPager with parallax-sticky header in iOS,
the way i achieved in Android using third party library (ParallaxHeaderViewPager) (example video)
i just want to achieve exact same thing in iOS, is there any quick solution / library ( there might be number of libraries for same but couldn't find it ) for same.
Not a total drop-in, plug and play solution. But tweaking and customizing this may be a good place to start - https://github.com/gotte/GLOParallaxTabbedProfileViewController
I need to detect whether the user is moving the iPad closer / away from him in order to zoom in / out view. What's the best possible way of doing this (most probably using CoreMotion)?
And, if I've already built the project with an external library using CocoaPods. How to add more frameworks if the Link Binary With Libraries now include one item that is libPods.a?
I would use native libraries like core motion.
https://developer.apple.com/library/prerelease/ios/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/motion_event_basics/motion_event_basics.html
Is it possible to create an iOS library or framework using libgdx (RoboVM) that can be imported into Xcode?
Background:
One of my colleagues has created a 3D visualisation app as a libgdx project for android and windows desktop. It can be compiled to run on iOS using RoboVM. However, I would like to wrap extra native user interface elements around it using Xcode. I know its possible to build the user interface programmatically via RoboVM but I would be keen to investigate if its possible to bring the existing work into Xcode. I don't need to edit the 3D visualisation component but add extra GUI elements around the 3D Vis window. I thought compiling the libgdx (RoboVM) code to a framework or library might be a solution that could be imported?!
Yes you can do it.
All you need to create a method, say initRoboVM(), This will be called by your code when you want to initialize libgdx. You'll need to pass the app path in, which you can hardcode when you're testing.
initRoboVM() will need some modifications, namely it should not call your Java app's main method, well, at least, that's what well behaving libraries should not do IMO. It should also not call rvmShutdown.
You can get further information from here
Thanks :)
I asked the RoboVM team directly. Their answer: It's not a native function, but it certainly can be done.
The complete message...
Hi,
Sorry for the late reply. This use case is not something we're going
to do now. It is possible though if you're prepared to do some
patching of RoboVM. Search the RoboVM Google Group and you should find
others who have managed to get this working.
We get this request every know and then so we will add support for
this eventually.
Regards, Niklas
Is there any way to use WebKit for developing iOS applications in xCode? I'm pretty sure you can use WebKit for making Mac applications, but how about iOS ones?
Yes, just drag out a UIWebView from the Library. You have less control over the content but it works to display webpages and javascript. However it may or may not suit your needs, depending on what you're looking for—you haven't specified.
Documentation: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html
You can check my open source code here as a start project : https://github.com/sylverb/CIALBrowser
I have no idea how to call these and so I'm having a hard time googling for it. I've seen these a several times in iOS and MacOS apps to think they might be an OS feature. I'm talking about the blue tags or groups in text field controls. See the images below.
That's an NSTokenField on Mac. On iOS there's no official implementation (file a request if you want one) so you'd have to go with a third-party implementation. If I remember correctly, the Three20 framework has one...
Googling found these iOS versions:
JSTokenField
TTMessageRecipientField (I think)
This helper class is SO much better... https://github.com/thermogl/TITokenFieldView