SwiftKickMobile/SwiftMessages

Xcode warnings in two swift files

Open

#534 opened on Nov 10, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Swift (754 forks)batch import
bughelp wanted

Repository metrics

Stars
 (7,449 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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+

Contributor guide