Instructions: start(on:) is deprecated, unable to use start(in:)
I get a deprecation warning when I use coachMarksController.start(on:)
saying to use start(in:)
Problem is I can not use that function, it is not added to the autocomplete, probably because I can not use PresentationContext:
Use of unresolved identifier 'PresentationContext'
I have added Instructions to my project using cocoa pods as described in your readme.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 21 (10 by maintainers)
Commits related to this issue
- Work around #198 A temporary workaround for an issue seemingly related to a bug in the toolchain. — committed to ephread/Instructions by ephread 5 years ago
@YassineDaoudi, @rgkobashi, I can’t reproduce the issue you’re both having.
BUT, it appears that Swift 5 fixes the issue, so the workaround is no longer needed. Swift 5 being largely compatible with Swift 4, CocoaPods should not complain if you’re importing Swift 4 code into a Swift 5 project (and vice-versa).