SwiftKickMobile/SwiftMessages

Xcode warnings in two swift files

Aperta

#534 aperta il 10 nov 2023

 (2 commenti) (0 reazioni) (0 assegnatari)Swift (754 fork)batch import
bughelp wanted

Metriche repository

Star
 (7449 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Describe the bug I have received the following warnings in Xcode for SwiftMessages package (the numbers in brackets indicate the frequency):

BaseView.swift:

(2) Non-'@objc' instance method in extensions cannot be overridden; use 'public' instead

SwiftMessagesSegue.swift:

(1) Unnecessary check for 'iOS'; enclosing scope ensures guard will always be true

Environment (please complete the following information):

  • Xcode version: Xcode 15.0
  • SwiftMessages Versions: v9.0.6, v9.0.9
  • Device: iPhone7
  • Simulator: iPhone15
  • OS: iOS 15+

Guida contributor