backwards-compatibility

When will Apple remove the methods/APIs marked as deprecated?

南笙酒味 提交于 2019-12-12 08:04:45
问题 When will Apple remove the methods/APIs marked as deprecated? After 2 or 3 releases after they were marked, or never? 回答1: In common usage deprecation merely means that the feature is no longer recommended to be used and MAY be removed entirely in a later release. Wikipedia - Deprecation It is good practice to stop using deprecated features as soon as it is reasonable to as you have no gauruntee how long they will continue to be supported. Sometimes it could be as little as the next release

Maintaining backward compatibility with Material Design

房东的猫 提交于 2019-12-12 04:48:35
问题 I'm trying to implement an activity that has the Material Design tinted title bar. My standard style is: <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> </style> My v21 style is: <style name="AppTheme" parent=" -see rest of this post- "> <item name="android:colorPrimary">@color/primary</item> <item name="android:colorPrimaryDark">@color/primary_dark</item> <item name="android:colorAccent">@color/accent</item> </style> and the results I get are: API 18: MyActivity extends

Citation for Silverlight 4 backward compatibility?

夙愿已清 提交于 2019-12-12 03:46:47
问题 I have a strong impression that the Silverlight 4 client runtime will run a Silverlight 3 application perfectly well, but for the life of me I can't find a definitive statement from Microsoft to that effect. Can anyone provide a reference? 回答1: There are quite a few citations. Here's one from Tim Heuer, the Silverlight PM. http://timheuer.com/blog/archive/2010/04/15/silverlight-4-breaking-changes-backward-compatibility.aspx Yes, this is the situation we refer to as backward compatibility.

Deprecating protocols for Swift 3 upgrade

放肆的年华 提交于 2019-12-12 03:45:36
问题 I have an iOS framework that I am upgradding to Swift 3. I would like the API's method signatures to follow the Swift 3 conventions of using a first named parameter for methods while maintaining backward compatibility. It's easy enough to add new API method signatures and deprecate the old ones. But what is the best way to handle this with protocols that are used in delegates? API for Swift 2.x: @objc(FooManager) public class FooManager { public var delegate: FooManagerDelegate? public func

How to make iAds work on a 3.0 + iPhone-iPad app?

ぐ巨炮叔叔 提交于 2019-12-12 01:35:53
问题 I created a universal app for the iPhone-iPad. I'm only working on the iPhone part at the moment. In the header file for the view controller for the iPhone one, I import the adbanner header and create an adbannerview variable with a matching property. I don't make it in the nib file but rather check at run time if the class exists, if it does, I create an adbanner programmily and then attach the adbannerview variable to it so I can refer to it inside other functions. Everything works on the 4

WatchKit apps/extensions and iOS backwards compatibility

為{幸葍}努か 提交于 2019-12-11 18:25:08
问题 I have an iOS app with its Deployment Target set to iOS 6.1 version, and the Base SDK to latest iOS. I've added both the Watchkit app and WatchKit extension targets to the project, but I need to understand how will this affect a future submission to the App Store: 1) Are two executable files generated? One for the iOS app + WatchKit extension, and another for the WatchKit app? Or is all packaged in an unique executable file? 2) Will it be automatically handled the iOS version of the device

QNX runtime error: unknown symbol __stack_chk_guard

醉酒当歌 提交于 2019-12-11 13:17:42
问题 I'm trying to test the backward compatibility between QNX 6.6.0 and 6.5.0 (in concequence of an earlier question I've got). I compiled a relatively simple program using SDP6.6.0 and executed it on Neutrino 6.5.0. When I execute the program the follow runtime error pops up: unknown symbol: __stack_chk_guard ldd:FATAL: Could not resolve all symbols What is causing this?.. (I've found the solution but it wasn't working rightaway. When I started writing this question I realized the error I made.

Android Compatibility Package on Android 3+

坚强是说给别人听的谎言 提交于 2019-12-11 08:29:18
问题 There's something I don't get with the compatibility package. You get the APIs of Android 3+ under android 1.x-2.x. Great. But what about an app that you design to be compatible with android 1 to 4? Let's say I want to develop an app that uses Fragments even on Android 2.x phones. Fine, I'll use the compatibility package. But what about this very app running on ICS? The app will use the compatibility package instead of the native APIs present in the ICS phone? 回答1: Yes, the app will use the

Backwards compatibility of onBackPressed

本秂侑毒 提交于 2019-12-11 05:25:38
问题 If I use onBackPressed() on Android 1.5, my application crashes. Is there any possibility to deactivate this function if running on an Android 1.5 device? The code there is not absolute necessary but a real "nice to have", so I would like to keep it on newer devices and just drop it on older ones. Is this possible? edit: I think I found it, just the old way: @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK && event.getRepeatCount() == 0) {

What's the difference between QNX 6.5.0(SP1) and 6.6.0 (backwards compatibility)?

自古美人都是妖i 提交于 2019-12-11 03:59:46
问题 Couldn't find actual release notes that point out the exact difference between QNX 6.5.1 and 6.6.0. I know that Photon's not supported anymore. So far, I've got SDP 6.6.0 but it might be that I need my software also to run on 6.5.0. So what is the actual backward compatibility level to 6.5.0? Some state that "6.6 is binary compatible with 6.5" [1] - can anyone support this with official documents? Since QNX follows the POSIX standard, I suppose that the APIs are the same and should be indeed