Questions tagged [deprecated]

Deprecation is a status applied to software features or language terms to indicate that they should be avoided, typically because they have been superseded. Use this tag for questions about deprecated features or how to deprecate features yourself (e.g. using annotations).

In the process of authoring computer software, its standards or documentation, deprecation is a status applied to software features to indicate that they should be avoided, typically because they have been superseded. Although deprecated features remain in the software, their use may raise warning messages recommending alternative practices, and deprecation may indicate that the feature will be removed in the future.

Features are deprecated—rather than immediately removed—in order to provide backward compatibility and give programmers who have used the feature time to bring their code into compliance with the new standard.

2508 questions
1
vote
2 answers

How to download a deprecated pod

I was using a pod file in my previous iOS project which I want to include in my new project as well. But it has been deprecated and I am unable to include it using pod install in terminal. How to do it? Edit1: Is there a way to manually include a…
crypt
  • 449
  • 5
  • 15
1
vote
0 answers

Admob deprecating versions 6.4.1

i have received email that Admob will deprecating versions 6.4.1. is this include ads in iOS too?// i'm not yet migrate my ios project to switf 2 yet :( for "ensure that your ads continue to serve" is this mean it will stop serve or just may or…
watkob
  • 11
  • 2
1
vote
1 answer

Rewriting to be compliant with new methods, get rid of deprecated methods

I'm having trouble understanding how to re-write the class below so that it no longer uses deprecated code. Here is my complete class. import android.content.Context; import android.graphics.Color; import android.graphics.ColorFilter; import…
Phil
  • 4,029
  • 9
  • 62
  • 107
1
vote
1 answer

Is the function notation deprecated?

From WolframAlpha: http://mathworld.wolfram.com/Function.html "While this notation is deprecated by professional mathematicians, it is the more familiar one for most nonprofessionals. Therefore, unless indicated otherwise by context, the notation …
Gio Borje
  • 20,314
  • 7
  • 36
  • 50
1
vote
2 answers

Google Login: Getting User information with play services

I am working on an android game where I have to get the users gmail address for the back-end. I am using the game helper class that google provides and am using the google play API and well as the plus api. Until recently I have used…
1
vote
0 answers

AudioStream - IOException: could not create audio stream from input stream

So I've been trying to play sound files using the AudioStream class. It works fine on the first try but doesn't work again after that. Instead, it gives me an IOException error. Here's the code I used. Note that this code is being ran in a Thread…
Zachary Vincze
  • 427
  • 7
  • 24
1
vote
2 answers

c-style for statement deprecated with a twist

I've been coding for about 2 years, but I am still terrible at it. Any help would be much appreciated. I have been using the following code to set my background image parameters, after updating to Xcode 7.3 I got the warning 'C-Style statement is…
Dan
  • 13
  • 2
1
vote
0 answers

Is MapKit being deprecated?

Why am I seeing the red strikethrough when I try to import MapKit in Xcode 7.3 targeting iOS 9.3 on an iPhone?
Dave Kliman
  • 441
  • 4
  • 17
1
vote
2 answers

++ is deprecated - "+= 1 is not solving the issue"

After updating Xcode to 7.3 I am having some warnings saying : '++' is deprecated: it will be removed in Swift 3 The code where the warning appear is a function that merges two arrays: arr4.append(arr1[i++]) I have tried changing it with :…
SNos
  • 3,430
  • 5
  • 42
  • 92
1
vote
1 answer

Shows Deprecated error in wampserver

I have been trying to show some results from an MySQL database, which has more than 5000 lines. I have tried with 10 lines, the code works, but it shows warning like in the screenshot!! Shows error in wampserver Shows almost same error in online…
Archana P
  • 35
  • 5
1
vote
1 answer

Node detect insecure browser from user agent

I have a Node REST API. That API is usually called from the SDK, which is used in browsers. For the whole structure to function properly, because the product is heavily reliant on security, it is important that the browsers talking to the API have…
arik
  • 28,170
  • 36
  • 100
  • 156
1
vote
1 answer

switch argument name through deprecation cycle?

My package currently has a function that's something like: def do_something(customer): customer_id = customer.id if isinstance(customer, Customer) else customer ... I'd like to be more strict about the argument type, and replace that…
DavidC
  • 1,409
  • 10
  • 25
1
vote
4 answers

Adding A GoogleMap to a Fragment Programmatically

I've been trying my best to work around this issue for a few days and I've read suggestions from other StackOverFlow posts in addition to plenty of Google searches. I think the main issue is that the 'getMap()' method has been deprecated to make way…
thomas taylor
  • 21
  • 1
  • 5
1
vote
2 answers

Has Oracle removed Sun net.ftp classes?

I have an older project that uses the sun.net.ftp.FtpClient class to download a file from an ftp server. It appears that Oracle has finally removed this unsupported/deprecated feature from Java. Any suggestions on what should be used to replace it?…
Jay
  • 288
  • 3
  • 13
1
vote
1 answer

sendSynchronousRequest deprecated. How can I achieve the same thing with dataTaskWithRequest?

This might be a stupid question, but I have some issues changing my code to avoid some deprecated code in iOS9. I have created an app that logs in to a webpage. The webpage uses a username and a password which forwards to a page where a token has to…
fisher
  • 1,286
  • 16
  • 29