mrackwitz / MRProgress

Collection of iOS drop-in components to visualize progress
MIT License
2.55k stars 306 forks source link

Compatibility with iOS6? #4

Closed erolando closed 10 years ago

erolando commented 10 years ago

Compatibility with iOS6?

uschen commented 10 years ago

supporting ios 6 is very important...

uschen commented 10 years ago

haven't tested the project yet, but why it requires ios 7

mythodeia commented 10 years ago

Hello everyone, it does not work with IOS 6 since it uses UIMotionEffectGroup which is only available in IOS 7 Plus tintColor on UIView is only available in IOS 7

mrackwitz commented 10 years ago

The components were built with focus for iOS 7, as they adapt the look and feel of the new major OS release. So the first question is: Do you really want to offer your users progress views, which don't integrate nicely in the native LAF of their current(/favorited) OS version? Won't it be better, if you check the OS version and use another component or at least an adapted look for the old OS design?

If there really is a need to add backwards-compatibility to the components, it would be possible, theoretically. But the backwards-compatibility will definitively bloat the code.

There would be some things to do, which need some effort:

So what do you mean? Are there any, who fear to have the backwards-compatiblity ballast?

Current status: :+1: 2 :-1: 0

halmueller commented 10 years ago

I think iOS 6 compatibility would be a mistake. These components would look out of place on legacy iOS versions. Compatibility would add code bloat, and only add support for iPhone 3GS and one old iPod Touch.

Forward! Down with code bloat.

erolando commented 10 years ago

I wanted a library for use in iOS 6 and iOS7, and that each version is shown according to the style of the operating system

Original: Yo quisiera una librería para utilizar en iOS 6 e iOS7, y que en cada versión se muestre de acuerdo al estilo del sistema operativo

frapalla87 commented 10 years ago

the easiest solution atm is to check iOS version and switch between MRProgress for iOS7 and MBProgressHUD for iOS6...and MBProgressHUD fits better on older iOS versions. You can wrap around in order to clean your app code

mrackwitz commented 10 years ago

@erolando I can understand, what you wished in your original question. I would solve it as @frapalla87 has proposed. MRProgressHUD has a similar API. But you are free to use any other progress HUD implementation, which fits your needs best.

erolando commented 10 years ago

thank you