Md. Ibrahim Hassan
Md. Ibrahim Hassan
Added Storyboard -> SwiftUI Converter under Developer Utilities NOTE: A similar PR may already be submitted! Please search among the Pull request before creating one. ### Types of Changes **What...
Made minimal code change to support Swift 4.2
1. Added support for images in TagsView. 2. Set the images on the UIButton's UIImageView with content mode of .scaleAspectFit. 3. The other code works as before.
-> I have removed the forced optional Unrappings in the code so that the app does not crash when it encounters a nil value. -> Minor changes in the code...
Updated code to support Swift 4.2
Here is the Objective C code. ``` NSInvocationOperation * operation = [[NSInvocationOperation alloc] initWithTarget:self selector:@selector(invokeOpenDB) object:nil]; ``` Converted Swift Code: ``` let operation = NSInvocationOperation(target: self, selector: #selector(invokeOpenDB), object: nil)...
Variable declared in the .m file like in these files should not be converted to global variables. **Original Source Code** [X509.m.zip](https://github.com/Swiftify-Corp/Swiftify/files/7943280/X509.m.zip) **Converted Code** [X509.swift.zip](https://github.com/Swiftify-Corp/Swiftify/files/7943295/X509.swift.zip)
**Original Objective-C code:** `UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"No Camera" message:kLocaleFeedbackCameraUnavailable delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; ` **Converted Swift code:** `let alert = UIAlertView(title: "No Camera", message: kLocaleFeedbackCameraUnavailable, delegate: self, cancelButtonTitle: "OK",...
This is aimed at fixing the issue, when using this on an Apple Silicon mac. ``` Build failed because Highlightr.swiftmodule is not built for arm64. Please try a run destination...