Xcode15适配

lowerwith ios9.0

public func containsIgnoreCase(_ seq: String ) -> Bool {

// used to check presence of </title>, </style>. only finds consistent case.

if #available(iOS 9.0, *) {

let loScan = seq.lowercased(with: Locale(identifier: "en"))

let hiScan = seq.uppercased(with: Locale(identifier: "eng"))

return nextIndexOf(loScan) != nil || nextIndexOf(hiScan) != nil

} else {

return false

// Fallback on earlier versions

}

}

相关推荐
zhaocarbon2 天前
OC HTTP SSE客户端
http·ios·objective-c
2501_916007473 天前
iOS 开发工具选择指南 从编辑器、编译器到自动化构建
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程
for_ever_love__4 天前
UI学习:UICollectionView瀑布流
学习·ui·ios·objective-c·cocoa
秋雨梧桐叶落莳5 天前
iOS——NSUserDefaults学习
学习·macos·ios·objective-c·cocoa
鹤卿1235 天前
iOS OC NSUserDefaults
macos·ios·objective-c
会Tk矩阵群控的小木9 天前
imessage虚拟机群发系统搭建:基于UTM+Frida的完整实现与海外社媒集成
macos·ios·objective-c·cocoa·开源软件·个人开发·tk矩阵
2501_9151063210 天前
iOS开发工具有哪些?iOS 开发每个阶段的实用工具
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程
专注VB编程开发20年11 天前
swift,object-c同名函数重载
macos·objective-c·cocoa
for_ever_love__11 天前
UI学习:UISearchController基础了解和应用
学习·ui·ios·objective-c
黑化旺仔12 天前
【OC】PHPickerViewController
macos·objective-c·cocoa