Swift/ iOS

@fd-swiftIOS

Public team

Community (0)
No community contribution yet

Joined on Nov 22, 2021

  • Ref. 防止重覆利用的 cell 顯示之前的照片
     Like  Bookmark
  • Ref. Design Pattern
     Like  Bookmark
  • Ref. Wifi Swift - Get device's WIFI IP Address Without Wifi:手機若開啟熱點時,可以掃到分享出去的網段 Swift - Get device's WIFI IP Address
     Like  Bookmark
  • Ref. How to get the System font in an iOS app?
     Like  Bookmark
  • var gandieImageView: UIImageView? override func viewWillAppear(_ animated: Bool) { ... updateAnimation() } override func viewDidDisappear(_ animated: Bool) { gandieImageView?.image = nil }
     Like  Bookmark
  • 只要設不同的 forState 參數即可 Ref. Changing image of UIButton via click - XCode 6 Swift
     Like  Bookmark
  • This project is licensed under the MIT License Ref. MTSlideToOpen
     Like  Bookmark
  • Ref. UITableView with transparent cells overlap old cells when reloading data
     Like  Bookmark
  • aaa.heic.jjj.heic to aaa.heic.jjj.jpg let str = "aaa.heic.jjj.heic" if let range = str.lowercased().range(of:".heic", options: [.backwards], range: nil, locale: nil) { str.replacingCharacters(in: range, with: ".jpg") } Ref. How do I find the last occurrence of a substring in a Swift string?
     Like  Bookmark
  • Ref. Swift - UITableView scroll event
     Like  Bookmark
  • Ref. Providing Access to Directories
     Like  Bookmark
  • Ref. How to lock orientation of one view controller to portrait mode only in Swift
     Like  Bookmark
  • 不知是否 XCode 改版的關係,可能某些新建立的檔的某些預設設定跟以往不同,導致新增的類別一直無法被識別。 以下方法是目前我遇到的狀況,可解決 Ref. XCode Unit Tests - Cannot find viewcontroller in scope
     Like  Bookmark
  • Ref. Get Year, Month or Day From Date In Swift - Tutorial
     Like  Bookmark
  • Ref. How to give UITableViewCells a selected color other than gray
     Like  Bookmark
  • swift 版本 // 將 uploadCount 設為紅色 let text = "已為您上傳 \(uploadCount) 個項目。" let mutableAttributedString = NSMutableAttributedString(string: text) do { let regex = try NSRegularExpression(pattern: "\(uploadCount)", options: []) let range = NSRange(location:0, length: text.count) regex.enumerateMatches(in: text, options: [], range: range) { (result: NSTextCheckingResult?, _, _) in
     Like  Bookmark
  • Ref. How do I make an attributed string using Swift?
     Like  Bookmark
  • Ref. How can I change the top border of my UITabBar?
     Like  Bookmark
  • Ref. scroll view 決定捲動範圍的 Content Layout Guide
     Like  Bookmark
  • Ref. 7.%d\n UIKit — 簡單解決textfield被鍵盤擋住的問題
     Like  Bookmark