Now AppCode takes into account argument names when completing Swift methods and functions:īesides, dynamic, lazy, postfix, prefix and indirect keywords are added to the completion list. Optional methods from superclass are now offered only for overriding and not for implementation.Static methods are not suggested anymore.Dynamic methods in extensions are offered for overriding.Class methods in extensions are correctly overridden.Designated/convenience/required initializers are marked with the appropriate keyword.All the members in Override/Implement popup are now shown hierarchically:.In this release, we’ve significantly improved the usability of the Override/Implement popup and the correctness of generated code: Override/Implement ( ^O/ ^I) helps you quickly implement all required protocol methods and override multiple methods at once. Now the corresponding actions are also available for Swift types (such as classes, structs, enums and protocols) and their initializers: Correct resolve and completion for self.init() and super.init() callsĪppCode 2016.3 added intentions for generating functions, variables, and properties from their usages in Swift.Better translation of Objective-C nullability attributes in Swift ( OC-11980), together with support for nullability audited regions in Objective-C ( OC-13932).SE-0091 (Improving operator requirements in protocols) brings correct parsing, сompletion, and generation for prefix, infix and postfix operators:.SE-0033 (Import Objective-C Constants as Swift Types) brings correct resolution, completion and navigation for Objective-C constants wrapped into Swift types using _attribute_((swift_wrapper(struct))) or _attribute_((swift_wrapper(enum))).SE-0096 (Converting dynamicType from property to operator) brings correct parsing and completion for the new type(of:) function:.SE-0116 (Import Objective-C id as Swift Any type).SE-0037 (Clarify interaction between comments & operators).SE-0057 (Importing Objective-C Lightweight Generics).SE-0060 (Enforcing order of defaulted parameters).SE-0064 (Referencing the Objective-C selector of property getters and setters) adds support for new #selector(.) overrides in the parser, navigation, and resolution:. SE-0062 (Referencing Objective-C key-paths) brings correct parsing, resolution, navigation and find usages for #keyPath(.) expressions:.As for the same features in refactorings/usages search functionality, we’re still working on them. NS_ENUM and NS_OPTIONS are now also correctly translated into Swift. SE-0005 (Better translation of Objective-C APIs into Swift) brings correct resolution, completion and navigation for entities aliased with _attribute_(swift_name(".")), NS_SWIFT_NAME or CF_SWIFT_NAME together with more accurate resolution for Objective-C code constructs in general:.This release delivers support for a huge part of Swift 3 features in AppCode: Emoji support in the editor and IDE views.Improved filtering in the Build Messages tool window.Support for //MARK, //FIXME, and //TODO comment tags in the Structure view.Create from usage for types and initializers.Better language support, including many improvements in the resolution, completion, and navigation.AppCode 2017.1 is here, so download and try it right now! The patch update is also available if you are using previous 2016.3.3 or 2017.1 RC2 version.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |