News for hackers. Stuff that matters.
Re:Dictionary and Set Improvements in Swift 4.0 by hellofunk on Wednesday October 04, 2017 @04:27PM (#15404293)
Are you aware that Xcode 9 just shipped last week and is a major rewrite of much of the IDE? It's one of the largest updates in Xcode's history.
Re:Dictionary and Set Improvements in Swift 4.0 by ramensea on Wednesday October 04, 2017 @05:52PM (#15405040)
XCode 9 is unsurprisingly terrible for me. Between it and the Swift tool chain, they use over 10 gbs of memory and constantly using 100% of my CPU. XCode 9 seems like an improvement over 8 in some cases, but its way less stable, uses an insane amount of resources, and crashes more often.
Re:Dictionary and Set Improvements in Swift 4.0 by mmargerum on Wednesday October 04, 2017 @07:32PM (#15405691)
It’s been so bad that I actually installed Jetbrains AppCode. It’s working great . I finally just bought the entire subscription since I already use IntelliJ, datagrip, gogland, and webstorm
Re:Dictionary and Set Improvements in Swift 4.0 by nodamage on Wednesday October 04, 2017 @05:38PM (#15404938)
Xcode 9 has been a lot less stable for me compared to previous versions. It will lock-up multiple times per day during simple text editing tasks, with SourceKitService going bananas until I force quit it.
Re:Dictionary and Set Improvements in Swift 4.0 by indemnity on Wednesday October 04, 2017 @07:10PM (#15405557)
It boggles the mind that they just can’t seem to fix SourceKitService for three versions now, it’s such a massive part of making the Xcode experience suck.

It’s worse than no completion, you never know when it’s actually going to work.

I guess it does do something though, for eating up all those cycles.

Re:Dictionary and Set Improvements in Swift 4.0 by imron on Thursday October 05, 2017 @02:15AM (#15406973)
> it’s such a massive part of making the Xcode experience suck.

This.

Whenever my fans start spinning up, I head on over to Activity Monitor and sure enough SourceKitService is sitting at 120% CPU draining battery like nothing else.

I probably kill the service between 5-10 times a day when using Xcode.

I've found that disabling 'live issues' in preferences helps somewhat, at the expense of not getting live updates to errors as I'm typing, but SourceKitService will still go off the deepend - usually while adding stuff that will not yet compile because I haven't included the appropriate headers yet or am still refactoring/moving about code.

Re:Dictionary and Set Improvements in Swift 4.0 by pavlov on Wednesday October 04, 2017 @04:46PM (#15404462)
Sounds like a great reason to stick with v8 for at least six months.
Re:Dictionary and Set Improvements in Swift 4.0 by sho_hn on Wednesday October 04, 2017 @04:34PM (#15404358)
So ... any good?
Re:Dictionary and Set Improvements in Swift 4.0 by dep_b on Wednesday October 04, 2017 @04:45PM (#15404459)
The only that truly annoyed me was that CMD+click doesn't work immediately anymore but conjures some kind of intermediary menu. Haven't figured out if there's a new keystroke for it, but I'm still doing too much work in Xcode 8.

To me it was nothing but progress compared to 8 apart from that. Everything faster and better.

Re:Dictionary and Set Improvements in Swift 4.0 by jclardy on Wednesday October 04, 2017 @04:49PM (#15404506)
There is a checkbox in Xcode preferences to change it back. Not sure where as I’m on mobile, but that annoyed me to no end till I found the option.

I agree on faster and better, but still buggy. Autocomplete still regularly dies for me and requires a restart (of Xcode.)

Re:Dictionary and Set Improvements in Swift 4.0 by rockshassa on Wednesday October 04, 2017 @05:30PM (#15404882)
Preferences > Navigation > "Command Click on Code"
Re:Dictionary and Set Improvements in Swift 4.0 by nteunh34nteu on Wednesday October 04, 2017 @05:58PM (#15405073)
The new key command for it is right there in the menu when it pops up. If you select the first item to do what the old command did, it's literally just to the right of the command!
Re:Dictionary and Set Improvements in Swift 4.0 by dep_b on Wednesday October 04, 2017 @09:42PM (#15406212)
Yeah....but muscle memory....
Re:Dictionary and Set Improvements in Swift 4.0 by nnd on Wednesday October 04, 2017 @04:55PM (#15404565)
It's CMD+Control
Re:Dictionary and Set Improvements in Swift 4.0 by hellofunk on Wednesday October 04, 2017 @04:35PM (#15404367)
I haven't used it much yet myself, but I did notice that one annoyance I had was fixed, regarding zooming the font onscreen.
Re:Dictionary and Set Improvements in Swift 4.0 by sgt on Wednesday October 04, 2017 @05:27PM (#15404856)
I've used it for a couple of days now. I've seen some issues with the Simulator but I think that's not strictly related to the IDE. As far as Xcode and the editor is concerned - it's extremely quick now. Functionally also better in terms of the code editor.