Update Xcode 9 to 10.1 can't change account for update

I've recently changed apple ID and I've downloaded xCode on mac with another apple ID. this solution work forme To make the AppStore forget the old credentials with which the app was downloaded, you must remove the _MASReceipt directory in the app itself. To do this: Open Finder and navigate to Applications, Ctrl+Click XCode and choose "Show Package Contents", Expand...

Generate QR Code Swift 4.2

Example code QR code 1. Simple Generate QR Code // @IBAction func bAction(_ sender: Any) { //    if let myString = textField.text { //        // first // //        // second //        let data = myString.data(using: .ascii, allowLossyConversion: false) //        guard let filter = CIFilter(name: "CIQRCodeGenerator")...

Large title search like appstore swift 4.2

This example of navigation title to create a large title like appstore. In order to setup the large title in the navigation bar of this controller, a new property prefersLargeTitles should be set to true, full example below in file (.swift) : import UIKit class LargeTitleViewController: UIViewController, UISearchResultsUpdating {     @IBOutlet weak var tableView: UITableView!       ...

9 Notes for me in January Swift 4.2

1. Fixed if setting zoomed in iOS if you have a problem io iOS (iPhone 6 and up )setting display zoomed and constraints,  not center, you must use auto constraint layout, maybe you can check in iPhone 5s for constraint in xib. 2. How to refer to a cell outside of cellForRowAtIndexPath  use func for this action like : func indexpathOutCellForRow() {...

Page 1 of 221234522Next