initWithRequest deprecated in juce_mac_Network.mm -> run()


#1

Building a default Audio project on OSX, there is one compiler warning:

void run() override
{
    // HERE!
    connection = [[NSURLConnection alloc] initWithRequest: request
                                                 delegate: delegate];

… Saying that this method is deprecated in favour of NSUrlSession.

π


#2

Yeah, we know - will replace it soon. It still works though, don’t worry!