Skip to content

Commit

Permalink
Merge pull request #214 from line/fix/xcode-16-warning
Browse files Browse the repository at this point in the history
Fix Xcode 16 compiling warnings
  • Loading branch information
onevcat authored Sep 26, 2024
2 parents 74b58bb + 4d95a26 commit f52ce88
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LineSDK/LineSDK/Crypto/JWT/JWTCoder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import Foundation

// A customize JSON decoder to decode from base64URL strings.
class Base64JSONDecoder: JSONDecoder {
class Base64JSONDecoder: JSONDecoder, @unchecked Sendable {
override func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable {
guard let string = String(data: data, encoding: .ascii) else {
throw CryptoError.generalError(reason: .dataConversionFailed(data: data, encoding: .ascii))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class PageTabView: UIView {

weak var delegate: PageTabViewDelegate?

private (set) var selectedIndex: Int = 0
private(set) var selectedIndex: Int = 0

private let countOfTabs: Int

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ShareTargetSearchResultViewController: UIViewController {
private let store: ColumnDataStore<ShareTarget>
private let tableViewController: ShareTargetSearchResultTableViewController

private (set) lazy var panelViewController = SelectedTargetPanelViewController(store: store)
private(set) lazy var panelViewController = SelectedTargetPanelViewController(store: store)
private let panelContainer = UILayoutGuide()

private let emptyResultLabel: UILabel
Expand Down

0 comments on commit f52ce88

Please sign in to comment.