Opened 8 months ago

Closed 8 months ago

#6268 closed defect (fixed)

Fix deprecated API's used in ABB

Reported by: CraftyDeano Assignee: CraftyDeano
Priority: Unknown Milestone: Adblock-Browser-for-iOS-2.1.0
Module: Adblock-Browser-for-iOS Keywords:
Cc: Blocked By:
Blocking: Platform: Adblock Browser for iOS
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29669565/

Description

Background

While building the project, the following deprecated API warnings are shown:
'characters' is deprecated: Please use String or Substring directly
'substring(from:)' is deprecated: Please use String slicing subscript with a 'partial range from' operator.
'init' is deprecated: replaced by 'init(truncating: )'

What to change

This issue is to fix the above deprecated API errors in the ABB project

Change History (2)

comment:1 Changed 8 months ago by CraftyDeano

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed 8 months ago by CraftyDeano

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.