草庐IT

deprecation

全部标签

python - IPython 笔记本 - ShimWarning : The `IPython.kernel` package has been deprecated

我在将一些包导入IPython-Notebook时收到以下消息:%matplotlibnotebookimportnumpyasnpimportmatplotlibasmplimportmatplotlib.pyplotaspltfromscipy.integrateimportodeint//anaconda/lib/python3.4/site-packages/IPython/kernel/__init__.py:13:ShimWarning:The`IPython.kernel`packagehasbeendeprecated.Youshouldimportfromipyker

android - 将 Android Studio 更新到 1.3.0 版后,出现 "NDK integration is deprecated in the current plugin"错误

我已在3天前将我的AndroidStudio更新到版本1.3.0。在此之前我可以使用NDK,但现在我遇到了类似的错误,Error:(50,0)Error:NDKintegrationisdeprecatedinthecurrentplugin.Considertryingthenewexperimentalplugin.Fordetails,seehttp://tools.android.com/tech-docs/new-build-system/gradle-experimental.Set"android.useDeprecatedNdk=true"ingradle.proper

android - 将 Android Studio 更新到 1.3.0 版后,出现 "NDK integration is deprecated in the current plugin"错误

我已在3天前将我的AndroidStudio更新到版本1.3.0。在此之前我可以使用NDK,但现在我遇到了类似的错误,Error:(50,0)Error:NDKintegrationisdeprecatedinthecurrentplugin.Considertryingthenewexperimentalplugin.Fordetails,seehttp://tools.android.com/tech-docs/new-build-system/gradle-experimental.Set"android.useDeprecatedNdk=true"ingradle.proper

html - 属性状态 : Deprecated or Obsolete?

我是HTML5的新手,我有问题要在各种W3HTML标准化文档中找出来获取属性的状态。例如,bgcolor的属性自HTML4.01起不应再使用元素。它已被弃用。(参见:http://www.w3.org/TR/html4/present/graphics.html#h-15.1.1)。但是它在HTML5中的地位如何?在HTML标记规范中,该属性被标记为过时(参见:http://www.w3.org/TR/html-markup/body.html)。这是否意味着该属性在HTML5中不再存在?考虑编写一个符合标准的客户端,我应该引用文档中的哪个引用来对属性进行精确和定义的处理?就因为它过时

Java(102):ES7.14,RestHighLevelClient创建索引时报错 create is deprecated

一、Maven引用org.elasticsearch.clientelasticsearch-rest-high-level-client7.14.0二、遇到问题:ES7.14,RestHighLevelClient创建索引时报错create isdeprecated'create(org.elasticsearch.action.admin.indices.create.CreateIndexRequest,org.elasticsearch.client.RequestOptions)'isdeprecated  出现原因 :这是因为在使用create方法时,会有两个选择,其中一个已经过时

iphone - 打开 + UIDocumentInteractionController : how to filter options in SDK iOS 6 (canPerformActions is deprecated)

自从发布新的SDK(iOS6)以来,UIDocumentInteractionControllerDelegate的委托(delegate)方法documentInteractionController:canPerformAction:已弃用。使用该方法,您可以防止出现print:和copy:等默认操作。该方法在当前版本的iOS6中被调用,但在未来的版本中将不会调用该方法并且我的应用程序将显示我不想支持的操作。我阅读了UIDocumentInteractionController及其委托(delegate)的可用文档,但我无法找到另一种方法来执行我在canPerformAction方

ios - UITabBarItem setFinishedSelectedImage : deprecated in iOS7

setFinishedSelectedImage:withFinishedUnselectedImage:在iOS7中被弃用。苹果recommends将image和selectedImage的setter与UIImageRenderingModeAlwaysOriginal一起使用。我找不到有关如何使用UIImageRenderingModeAlwaysOriginal的任何示例。所以问题很简单:如何在iOS7中为UITabBarItem设置图像? 最佳答案 如果您正在尝试在UITabBar上显示实际图像,请使用以下代码。[your

ios - 'sizeWithFont :constrainedToSize:lineBreakMode:'is deprecated:

在Xcode5上将项目从iOS5.0转换为iOS7/iOS6。下面的代码给出了编译时警告:'sizeWithFont:constrainedToSize:lineBreakMode:'已弃用:首先在ios7.0中弃用-使用-boundingRectWithSize:options:attribiutes:context-(CGFloat)tableView:(UITableView*)tableViewheightForRowAtIndexPath:(NSIndexPath*)indexPath{if(indexPath.section==0){self.lblHidden.frame

iOS 7 : MPMusicPlayerController volume deprecated. 现在如何改变设备音量?

MPMusicPlayerControllersetVolume是deprecatedsinceiOS7有没有其他方法可以改变系统音乐的音量?最好没有用户交互。它的重要功能:为AppStore中的任何闹钟自动增加音量。 最佳答案 准确回答你的问题:是的,还有其他无需用户交互即可更改系统音量的方法。直到最近,我一直认为只有使用privateAPI才能以编程方式使用MPVolumeView更改音量。但我刚刚证实,改变volumeSlider的值和伪造slider的touchUP事件是有效的:MPVolumeView*volumeView

ios - 警告 : 'characters' is deprecated: Please use String or Substring directly

characters-String的一个实例属性,已从Xcode9.1中弃用使用characters属性从String获取子字符串非常有用,但现在它已被弃用,Xcode建议使用substring。我试图检查SO问题和苹果开发者教程/指南。但是看不到建议的任何解决方案/替代方案。这是警告信息:'characters'isdeprecated:PleaseuseStringorSubstring我有很多字符串操作是使用属性characters执行/处理的。有人对此更新有任何想法/信息吗? 最佳答案 Swift4对字符串API进行了更改。