Xcode
Screenshot:
- Shift + Cmd + 4 --> Space (for the selected window).
- Shift + Cmd + 3 (for the whole screen).
Git:
$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
- Copy a project and change the project name
- App icons
Use Icon Set Generator (Download from the App store).
- Change App name
- "Property 'setRegion' not found on object of type 'MKMapView *'
NG: self.mapView.setRegion(viewRegion, animated: false);
OK: [self.mapView setRegion: viewRegion, animated: NO];
- "1 duplicate symbol for architecture arm64" (20230924)
This is a typical error that appears during linkage due to multiple files exporting the same symbols. e.g. in my case I had a viriable "FIRST" from two different classes; FirstViewController.m and FourthViewController.m.
- How to add a view controller to a tab bar controller in the storyboard
- Add a view controller.
- click tab bar contrller and drag to the new view controller.
- choose view controller.
- Show the object library on the storyboard or interface builder:
menu -> view -> object library.
- xcode 14.0 does not support ios15.7:
- Download the device support from https://github.com/JinjunHan/iOSDeviceSupport
- Put it in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/.
- Exit and run Xcode again.
Go back to Computer
Since 20230917