ViewPager with Parallax-Sticky Header in iOS - ios

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

Related

Coloring the dates in calendar using swift

i am trying to display a calendar where different days are colored differently (based on data extracted from a core data stack).
I could not find a calendar UI component in swift? (Why is that, btw?). Is there an easy way to integrate calendar in a view controller + access the cells of the calendar and change their background color, for example?
Thanks!,
Karthik
I take it you are new to swift/ ios development? The short answer is there is no built in UI component because Apple did not make one.
However, that being said, you have several options. Many people have attempted to roll their own and they have their code open sourced. Better yet, they have made the integration of their code to your code very easy.
Ever heard of Cocoapods? If not download, and it should help you. It is a dependency manager that let you add (and remove) 3rd party developer code to your project very easily. Once you have cocoapods installed, you can now add 3rd party code (typically called pods) to your code.
Since youre looking for a UI calendar components, you can find a list to choose from at this link. Just read the site to find out how to add pods to your project. Its very easy.
If for some reason you cant use cocoapods, then try cocoacontrols.com and look for a calendar there. Although the ones there are not as good as the first i suggested they are worth a look.

json2view like solution for iOS

For Android I see there is a very good solution Json2View:
https://github.com/Avocarrot/json2view
for creating Android app UI on the fly. Is there any similar solution available for iOS? Is there any constraint is having JSON based UI concept for iOS, the way json2view does for Android? Or best would be some common open source library that has flavor for both Android and iOS.
Using React Native you can accomplish the same.
Strictly speaking, its not Json to View but its JavaScript to View.
Whatever views you create in ReactJS, will be created using native UIKit Framework.
For example, if you use scrollview component in JS, it will use a scrollview subclassed of UIScrollView.
Please check this link for in-depth overview
https://facebook.github.io/react-native/
https://github.com/facebook/react-native/issues/823
You cannot do anything like this, you will get apple rejected because of using any kind of code injection.

Does MVVMCross support ActionBar?

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

Drag and Drop functionality in iOS

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.

Three20 competitors/alternatives

I see three20 a very powerful lib, spicily because Facebook and Twitter use it. I just want to know if there are any competitors/alternatives for Three20? or even simple.
nimbus seems to be a project that will address some of the issues.
I use Three20 a lot, but I'm always in search of an alternative, because Three20 is not a lightweight framework and because importing only a few features of Three20 is not practical. But I don't know any good alternative. If you only need a few features I prefer to write my own code for it or use another library.
For some features of Three20 I know other libraries that does the same thing. It's always a better way to use small libraries, because of file size and side-effects.
UILabel with styled text: OHAttributedLabel
Load and cache images asynchroniously: ImageLoader
Pull to refresh on a table view: PullToRefresh
In addition to this list you can have a look at TapkuLibrary which adds features like CoverFlow or a CalendarView to your app.
Finally GitHub is always a good resource, when you search libraries for special features.
Check this list of iOS controls.
You'll find over 200 open source custom controls there. I've used some of them (star rating, confirm button), it's lightweight and easy to embed. Check that the license suits your needs before though!
THree20 is one of the few libs but if you look around github you can find plenty of sample ios projects with source code to learn from and adapt to your app.
Three20 provides a lot of useful wrapper to facilitate development. It's biggest advantages and until know nothing could replace it.

Resources