News for hackers. Stuff that matters.
Re:Swift 2.2 Released by timelincoln on Monday March 21, 2016 @05:01PM (#11332005)
now they just need to open source Xcode..
Re:Swift 2.2 Released by mightykan on Monday March 21, 2016 @05:20PM (#11332173)
I’m not sure you’d really want the crap-fest that is Xcode’s code. It has so many bugs and issues that it’s a better idea to completely dump it and either start over or give up and adopt something like AppCode, like Google did with Android Studio. Making developer tools is just not Apple’s forte and Xcode’s sad state of quality and performance is clear indication of that.

I’m thoroughly convinced that Apple has an internal-only IDE that they use that is far better than Xcode and is actually functional, much like the internal Radar tool. There is no way Apple’s engineers could get any work done if they use Xcode.

Or, they should start charging money for it so they could justify spending resources on the dev tools. One of the reasons (among many) that Visual Studio is still the king of all IDEs is because Microsoft charges money for the serious bits of it (Pro and higher).

Re:Swift 2.2 Released by sghodas on Monday March 21, 2016 @05:37PM (#11332326)
I think you're seriously overstating the issues with Xcode. There are bugs and annoyances, but things have gotten better over the years. It's not as great as Visual Studio, but it's far from horrible. Remember, we live in a world with Eclipse.
Re:Swift 2.2 Released by ascagnel_ on Tuesday March 22, 2016 @04:12PM (#11339622)
Is Eclipse still growing exponentially? I remember Ganymede -> Helios increasing 2MM LOC, Helios -> Indigo 4MM LOC, and Indigo -> Juno 8MM LOC. I couldn't even get Luna to run, and haven't checked back in on it since then. The foundation started to bundle up too much stuff in the distributed versions.
Re:Swift 2.2 Released by feelix on Monday March 21, 2016 @06:34PM (#11332734)
>I’m thoroughly convinced that Apple has an internal-only IDE that they use that is far better than Xcode and is actually functional, much like the internal Radar tool.

That's an interesting point and it makes a lot of sense. With the scale of the codebases a lot of them are working on I also don't see how they could be productive while working in XCode. And also XCode could not be this buggy and broken if it had internal developers working with it and constantly reporting bugs.

Re:Swift 2.2 Released by koverstreet on Monday March 21, 2016 @07:11PM (#11332962)
The response from a friend who works at apple was laughter and "if only".

personally, I'm the kind of guy with a "vim 4 life" tattoo, so I don't really know why people put up with crappy IDEs...

Re:Swift 2.2 Released by thought_alarm on Monday March 21, 2016 @07:26PM (#11333065)
The experienced developers at Apple are no different than the experienced developers elsewhere. They use the LLDB command-line and write their code in Emacs.

I've never liked Visual Studio, and the last time I worked on a serious Windows product most of the experienced developers used WinDbg and cordbg rather than the neutered Visual Studio debugger. And some guys still wrote their code in Visual Studio 6 rather than the newer .NET IDEs.

My problem with Xcode today is that it's too much like Visual Studio. I'll take Xcode 3 with LLDB any day.

Re:Swift 2.2 Released by makecheck on Tuesday March 22, 2016 @10:33AM (#11336862)
Command-line tools are great but graphical displays can be useful, too. The real problem is that pane/window management on OSes is years behind where it should be.

What I want is a way to take any view I please, from any application, and arrange it anywhere in a standard way with keyboard support and sensible omissions of chrome. If this means 65% of my screen is terminals, 20% web browsers, 10% some graphical view from Xcode and 5% notifications, that should be perfect fine. Instead, the most the Mac has been able to cobble together is a simple split screen view and that is only for Full Screen.

And, we also have: Xcode with its own completely custom and quirky pane/tab management scheme, terminals with their own pane/tab scheme, browsers with their own tabs, etc. Individual applications continue to feel some need to over-engineer their own pane/window management to compensate for lack of system support.

There are some signs of hope though. The direction Apple is going with Mac view controllers could theoretically put them in a position to finally turn individual views into first-class citizens that would be feasible to interleave arbitrarily across applications. At that point, command-line tools could integrate very nicely in arbitrary ways with elements that really benefit from being graphical. We’ll see.

Re:Swift 2.2 Released by dcgoss on Tuesday March 22, 2016 @11:16AM (#11337178)
I have been using https://www.spectacleapp.com/ for a while now, and it has performed like a champ. Easy window resizing and organization with keyboard shortcuts.
Re:Swift 2.2 Released by stephencanon on Monday March 21, 2016 @09:06PM (#11333653)
vim. /ducks
Re:Swift 2.2 Released by m4x on Monday March 21, 2016 @07:18PM (#11333004)
How does it make a lot of sense? If Apple had a tool that was better than Xcode, why would they hide it from the public? They have proven themselves to be quite motivated to provide developers with good tools and frankly I find the idea that they keep a better tool hidden away ridiculous.
Re:Swift 2.2 Released by feelix on Monday March 21, 2016 @08:14PM (#11333389)
thought_alarm got it right. The experienced developers probably use open source editors / debuggers, unsuitable for the masses. Not an Apple-only tool, but still not XCode.
Re:Swift 2.2 Released by flipgimble on Monday March 21, 2016 @09:55PM (#11333875)
That is not my experience at all using Xcode professionally for the past 3+ years, and Visual Studio for over 7 years. Most of the complaints I've heard from colleagues about Xcode seemed from using unofficial 3rd party plugins, or Xcode's inferior c++ support for massive projects haphazardly ported form windows.

Xcode for iOS and Mac development has been the most productive IDE I've used professionally, not without its flaws, and unintuitive nuances, but continually improving. Yearly major ticket feature additions like UI Unit testing shows me Apple is still heavily investing in developer tools.

Re:Swift 2.2 Released by alextgordon on Monday March 21, 2016 @05:35PM (#11332313)
Xcode works fine for me. I can't say the same for Android Studio, which seems to require a machine more powerful than a top-of-the-line MBP.
Re:Swift 2.2 Released by Longhanks on Monday March 21, 2016 @06:24PM (#11332662)
"Making developer tools is just not Apple’s forte"

I'm sorry, but LLVM?

Re:Swift 2.2 Released by nostrademons on Monday March 21, 2016 @06:31PM (#11332714)
Technically, LLVM started as a research project at UIUC, and then Apple hired the principals and adopted the project in 2005. The LLVM website is still hosted by UIUC, and Google and other companies are also significant contributors.
Re:Swift 2.2 Released by feelix on Monday March 21, 2016 @08:49PM (#11333575)
Right, Apple DID NOT make LLVM. They just hired the guy that did (Chris Lattner) well after it was fully established.
Re:Swift 2.2 Released by zw on Monday March 21, 2016 @09:59PM (#11333887)
And then maintained it and fostered its growth while it became the foundation of modern computing…?
Re:Swift 2.2 Released by lmm on Tuesday March 22, 2016 @07:47AM (#11335776)
Maintaining and growing an existing tool with its existing developers who you bought in is a good thing and to be applauded, but doesn't necessarily mean the company is good at tooling in general. The cultural requirements are very different.
Re:Swift 2.2 Released by iagooar on Tuesday March 22, 2016 @03:34AM (#11334939)
Some people are really scared of Apple being cool.
Re:Swift 2.2 Released by ghshephard on Tuesday March 22, 2016 @03:27AM (#11334907)
You've just described 90% of every major product from a technology company.
Re:Swift 2.2 Released by stutsmansoft on Monday March 21, 2016 @09:55PM (#11333870)
I think Xcode, Instruments etc are _amazing_ tools...especially for the price. Compare with the Android toolchain.
Re:Swift 2.2 Released by hellofunk on Tuesday March 22, 2016 @06:26AM (#11335506)
>especially for the price.

Yup! They're free! I have found Apple's developer ecosystem to be fantastic overall.

Re:Swift 2.2 Released by hellofunk on Tuesday March 22, 2016 @06:23AM (#11335500)
I find Xcode quite a joy to use. It seems well laid-out, not a lot of UI chrome, easy to find the things you need and get things out of the way when you don't. Code completion, debugging, it's all pretty great for me. Not sure if the degree of your hate for it is accurate.
Re:Swift 2.2 Released by melloclello on Tuesday March 22, 2016 @07:00AM (#11335616)
I agree, Xcode is definitely the best looking IDE by light years. Now if only it had a dark mode...
Re:Swift 2.2 Released by hellofunk on Tuesday March 22, 2016 @07:22AM (#11335688)
Have you checked out the Fonts and Colors panel in the Preferences? You can choose both font color and background color and other items.
Re:Swift 2.2 Released by melloclello on Tuesday March 22, 2016 @07:47AM (#11335781)
Yeah, but all the panels remain white.
Re:Swift 2.2 Released by giancarlostoro on Monday March 21, 2016 @06:09PM (#11332551)
If AppCode ran on other platforms and became a Swift IDE that would be great honestly, not sure how long before JetBrains attempts this. As things stand those of us curious for Swift without any access to Apple products are left with just plain text-editors.
Re:Swift 2.2 Released by AsyncAwait on Monday March 21, 2016 @06:42PM (#11332792)
The new CLion 2016.1 release has some Swift support on Linux via a plugin: https://plugins.jetbrains.com/plugin/8240
Re:Swift 2.2 Released by dcgoss on Tuesday March 22, 2016 @11:19AM (#11337205)
I want to use Appcode, but the support/autocomplete for swift is just not as good as XCode.
Re:Swift 2.2 Released by pjmlp on Tuesday March 22, 2016 @04:16AM (#11335055)
> like Google did with Android Studio

You mean by still not being able to provide an working experience to the NDK users, three years later?

Or by redoing their plugins for Android Studio 2.0, forcing devs that rely on something stable to still be on Android Studio 1.5?

Also by having each release be a bug party that make people at /r/androiddev/ wonder if they ever test what they release?

Re:Swift 2.2 Released by boterock on Monday March 21, 2016 @05:14PM (#11332121)
swift comes with 'swift-ide'test' which I believe is the linter/codecompleter that would allow any text editor to have the features that xcode has
Re:Swift 2.2 Released by akanet on Monday March 21, 2016 @06:47PM (#11332808)
Interesting! I found https://github.com/apple/swift/tree/master/tools/swift-ide-t..., which seems to be what you describe, but seems a bit tricky to use. Can you point to any OSS implementations of a Swift completer?
Re:Swift 2.2 Released by Ingon on Monday March 21, 2016 @08:37PM (#11333511)
I think it would far more beneficial if they open source Cocoa/CocoaTouch. I don't care how the IDE works as much as the stuff I use every single day.
Re:Swift 2.2 Released by vbezhenar on Tuesday March 22, 2016 @08:25AM (#11335955)
I agree. I don't even need very permissive license, just to look at sources would be enough. Sometimes I have to lurk around internet corners just to find out simple things which would require few minutes with source code access. It's so frustrating after Java environment where almost everything is available in source code.
Re:Swift 2.2 Released by LeoNatan25 on Tuesday March 22, 2016 @02:30PM (#11338745)
The "source" is almost out there. Attaching the debugger to a 64-bit simulator and putting a breakpoint on Apple methods and functions, you can effortlessly read the disassembler code output by lldb/Xcode. I have fixed and learned countless UIKit-related bugs like that.