SwiftKickMobile/SwiftMessages

Xcode warnings in two swift files

Open

#534 创建于 2023年11月10日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Swift (754 fork)batch import
bughelp wanted

仓库指标

Star
 (7,449 star)
PR 合并指标
 (30 天内没有已合并 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+

贡献者指南