New AppCode 2016.3 EAP: Xcode 8.1 support and Create from Usage in Swift

Hi everyone,

New AppCode 2016.3 EAP (build 163.7342.8) is available for download on our confluence page. If you are using previous 2016.3 EAP build, the patch update is also available.

In this build we fixed critical issue with running/debugging iOS applications on simulator and device with Xcode 8.1 set in AppCode preferences. Currently it’s the only issue related to this particular Xcode version support, so in case you see any other serious issues, please let us know about them.

The most important new feature included in this build is the first part of Create from usage feature for Swift. You may know that similar ability is available in Objective-C/C/C++ in AppCode – you can create variables, constants, methods, functions and classes just by pressing ⌥⏎ on the unresolved entity:

Create from usage in Objective-C

Now this functionality is also available for Swift functions, methods, variables, constants and properties. Try using the function which does not exist, press ⌥⏎ and choose if you want to create the global function or class method:

Create function from usage

Press  to generate the function/method stub and change parameter names or return type if needed:

Generate function

Try using the non-existing variable, press ⌥⏎, select the proper scope and press  to create it automatically:

Create variable from usage

Create from usage functionality for new types (classes/structs/etc) is still in progress.

That’s it! For the full list of fixes please see the release notes.

Your AppCode team
JetBrains
The Drive to Develop

Posted in Announcement | Tagged , | 6 Comments

AppCode 2016.3 EAP, build 163.6957.25

Important note: build 163.6957.11 is no longer available because of the critical issue with completion in mixed Objective-C/Swift projects. Please, use 163.6957.25 build instead which contains fixes mentioned below and does not have such problems with completion. We sincerely apologize for this issue.

New AppCode 2016.3 EAP is available for download on our confluence page. If you are using previous 2016.3 EAP build, the patch update is also available.

This build brings fixes for the following issues:

  • Problems with Swift operators formatting (OC-12352OC-12353)
  • Incorrect indentation for catch on a new line (OC-14278)
  • Issue when typealias with access modifier was incorrectly formatted (OC-14317)
  • Resolve issue with ()->Void type (OC-14298)
  • Parser error for function type parameter with label and underscore (OC-14343)
  • Problem with building project after switching Xcode toolchain (OC-14188)
  • Issue with Objective-C string concatenation (OC-14308), which also caused parser errors when using XCTAssert and some other macros
  • Problem with run configurations specified in Before launch section (OC-14017)

The following Swift 3 support features are included into this build:

For the full list of fixes please see the release notes.

Your AppCode team
JetBrains
The Drive to Develop

Posted in Announcement | Tagged , | 15 Comments

AppCode 2016.3 EAP, build 163.6512.19

Hi everyone,

New AppCode 2016.3 EAP is out and available for download on our confluence page. If you are using previous 2016.3 EAP build, the patch update is also available.

This build contains the following fixes and improvements:

  • Issue running application on a device with Reveal library injected (OC-14326) and related problem with run configurations (OC-14335)
  • Issue when source folder entries in project.iml file were changed unexpectedly (OC-13028)
  • Support for projects generated with Swift Package Manager (OC-14196)
  • Swift formatter fixes: continuation indent for multiline declarations (OC-12302) and ternary operators (OC-14246)

For the full list of fixes please see the release notes.

Your AppCode team
JetBrains
The Drive to Develop

Posted in Announcement | Tagged , | 4 Comments

AppCode 2016.2.3 update is out

Hi everyone,

AppCode 2016.2.3 update is available for download. If using AppCode 2016.2.2, you will get an automatic notification in the IDE.

The update contains the following Swift 3 support features:

  • SE-0005, first part: Resolution for Objective-C enums and options in Swift (OC-13728)
  • SE-0025: Scoped access level support (OC-14151)
  • SE-0031: Adjusting inout declarations for type decoration (OC-14104)
  • SE-0046: Establish consistent label behavior across all parameters including first labels (OC-14055)
  • SE-0048: Generic type aliases (OC-13838)
  • SE-0049: Move @noescape and @autoclosure to be type attributes (OC-14144)
  • SE-0066: Standardize function type argument syntax to require parentheses (OC-14186)
  • SE-0071: Allow (most) keywords in member references (OC-13837)
  • SE-0081: Move where clause to end of declaration (OC-13836)
  • SE-0099: Restructuring condition clauses (OC-14164)
  • SE-0103: Make non-escaping closures the default (OC-14145)
  • SE-0106: Update platform configurations (OC-14138)
  • Also, SWIFT_VERSION build setting support is implemented (OC-14139)

In addition to Swift 3 support changes, this build brings improvements and fixes for issues given below:

  • Class properties support in Objective-C (OC-14107)
  • Problem with NSLog/os_log output on iOS 10 device/simulator (OC-14285)
  • Issue with SourceKit version used in AppCode (OC-14159), which also fixes lot of problems with completion, navigation and symbol resolution. Note, that there are still issues related to those Swift 3 features that are not supported yet
  • Incorrect error handling intentions (OC-13774)
  • Problem with running test target on iOS 10 devices (OC-14165)
  • Problem with debugging on iPhone7/7+ devices (OC-14177)
  • Full support for for-in-where & case constructs in parser (OC-12041)
  • Issue with “Manage targets” dialog (OC-13411)
  • Reveal 2.0 integration (OC-14148, OC-14326OC-14335)
  • Problem with launching apps on simulator with Xcode 8 selected in Preferences (OC-14018)
  • Extremely sensitive scrolling on macOS Sierra (IDEA-158500)

Check the full release notes here.

Your AppCode team
JetBrains
The Drive to Develop

Posted in Announcement | Tagged , , | Leave a comment

AppCode 2016.2.3 RC: support for class properties in Objective-C and important fixes for Swift

AppCode 2016.2.3 release candidate is out today.

This build brings the following new features and important fixes:

  • class properties support in Objective-C (OC-14107).
  • Fix for the problem with NSLog/os_log output on iOS 10 device/simulator.
  • Fix for the SourceKit version used AppCode (OC-14159). This issue caused a lot of problems with completion, navigation and symbol resolution, now they should be fixed. Note, that issues related to the Swift 3 features which are not yet supported still exist.
  • Fix for incorrect error handling intentions (OC-13774).

Support for changes described in SE-0099 proposal (Restructuring Condition Clauses, OC-14164) is also available in this build.

Other changes which we promised to backport will be included into further 2016.2.x updates.

Note, that this RC build requires an active AppCode subscription or is available for 30 day evaluation. The full list of fixes and improvements can be found here.

Your AppCode team
JetBrains
The Drive to Develop

Posted in Announcement | Tagged , | Leave a comment

AppCode 2016.3 EAP, build 163.5644.16

New AppCode 2016.3 EAP is ready and available to download on our confluence page. If you are using previous 2016.3 EAP build, the patch update is also available.

In addition to all changes included into the latest 2016.2.3 EAP, it contains fixes for the following issues:

  • Problem with UI tests running in Xcode 8 (OC-14208).
  • Proper resolution context handling inside #ifdef/#else/#endif macros in Objective-C. Code highlighting (as well as find usages, refactorings, code generation, code analysis and more) may depend on the set of preprocessor definitions for particular scheme in you project. Now AppCode will automatically change the resolve context depending on the Run Configuration selected in the project:Resolve context
  • Incorrect error handling intentions (OC-13774). In fact, this change should fix not only the case mentioned in the issue, so if you had any incorrect error handling intentions in your code in the past, please try it and let us know if some problems still exist.
  • Correct typealias indentation (OC-14230).

In addition, we implemented support for changes described in SE-0099 proposal (Restructuring Condition Clauses, OC-14164).

Your AppCode team
JetBrains
The Drive to Develop

Posted in Announcement | Tagged , | 4 Comments

New AppCode 2016.2.3 EAP, build 162.2291.2

New AppCode 2016.2.3 EAP is ready and available to download on our confluence page. If you are using previous 2016.2.3 EAP build, the patch update is also available.

This build brings the following new features and fixes:

  • Resolution for Objective-C enums and options in Swift (first part of SE-0005 proposal, OC-13728)
  • SE-0049: Move @noescape and @autoclosure to be type attributes (OC-14144)
  • SE-0066: Standardize function type argument syntax to require parentheses (OC-14186)
  • SE-0081: Move where clause to end of declaration (OC-13836)
  • SE-0103: Make non-escaping closures the default (OC-14145)
  • Full support for for-in-where & case constructs in parser (OC-12041)
  • First part of SWIFT_VERSION build setting support (OC-14139), which fixes various debugger issues for Swift 3 projects.
  • Better Void type handling in resolve (OC-14178)

The full list of fixes and improvements can be found here.

Please, note that this EAP build requires an active subscription (or you can start a 30-day evaluation period).

Your AppCode team
JetBrains
The Drive to Develop

Posted in Announcement | Tagged , , | 7 Comments

Meet us at Mobiconf this week!

This week we’ll be happy to join Mobiconf in Kraków, Poland and we are looking forward to meet you there!
mobi-conf
Visit our booth during 2 main conference days (October 6-7) to ask questions about JetBrains products and our future plans, learn some tips&tricks and watch demos. And as usual you have a chance to win a free 1-year subscription!

See you!
The AppCode Team

Posted in Announcement, Events | Tagged | Leave a comment

AppCode starts 2016.3 EAP: new Swift formatting features, completion improvements, UI testing support and more!

Today we are starting the Early Access Program for AppCode 2016.3, and the first build is already available on our confluence page. As usual, it contains a heap of new features and improvements, so let’s take a look at them right now!
Splash
Continue reading

Posted in Announcement | Tagged , | 14 Comments

New AppCode 2016.2.3 EAP, build 162.2228.5

Hi everyone!

New AppCode 2016.2.3 EAP is ready and available to download on our confluence page. If you are using previous 2016.2.3 EAP build, the patch update is also available.

The following issues are fixed in this build:

  • Problem with running test target on iOS 10 devices (OC-14165)
  • Problem with debugging on iPhone7/7+ devices (OC-14177)
  • Issue with “Manage targets” dialog (OC-13411)
  • Extremely sensitive scrolling on macOS Sierra (IDEA-158500)

In addition, we implemented scoped access level support for Swift 3.

Please, note that this EAP build requires an active subscription (or you can start a 30-day evaluation period).

Your AppCode team
JetBrains
The Drive to Develop

Posted in Announcement | Tagged , | 3 Comments