Swiftify icon indicating copy to clipboard operation
Swiftify copied to clipboard

Results 30 Swiftify issues
Sort by recently updated
recently updated
newest added

If I convert code with NSSet, it is not correctly translated to Swift Set. See example: https://swiftify.me/uphuxa I would expect something more in line with: ``` func test() -> Bool...

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)...

low-priority

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 expression is not converted to valid Swift. https://swiftify.me/w2j01r Not sure how the valid Swift would look like in this case though.

low-priority

If I use the same name for protocol and class in Objective-C (like many NS types, e.g. NSObject) the name of the protocol should get a Protocol suffix (Xcode also...

For the most part, Swiftify has been good about preserving the line breaks as I had them in my code. By comparison, this was a big problem I had with...

Even though it's also a type name and confuses the code coloring in Xcode, "id" is a valid variable name in Objective-C and I've used it quite a bit. This...

I have been more active recently in using Swiftify over the last month than I have since I purchased they subscription. One enhancement that would be a great help for...

It could be translated to `IndexSet(array.enumerated().filter { true }.map { $0.offset })`. http://swiftify.me/qb8r27