SwiftKickMobile/SwiftMessages

Xcode warnings in two swift files

開放

#534 建立於 2023年11月10日

 (2 則留言) (0 個反應) (0 位負責人)Swift (754 個分叉)batch import
bughelp wanted

倉庫指標

星標
 (7,449 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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+

貢獻者指南