Live data from Hacker News

SwiftUI tutorials rewritten completely

developer.apple.com

101–110 of 115 posts

Re: SwiftUI tutorials rewritten completely

#101
post #66

Earlier quoted context omitted.

So weird. I guess it might be because 99.9% of swift developers want as little vim as possible in their lives.

What’s the connection between swift and Vim? Why would they be anti-Vim?

Most people are naturally anit-vim, because it’s so unintuitive to the uninitiated. It’s not because they use swift.

Re: SwiftUI tutorials rewritten completely

#102

Why learn SwiftUI? If you want a declarative UI framework wouldn’t you be better served for your time to learn something like React Native or Flutter? I’m not trying to knock SwiftUI, I am genuinely curious what the value proposition is for anyone considering it...

In addition to the other answers:

Because Apple could and I bet they sure will add hardware optimizations in future Mn chips for apps made entirely in Swift+SwiftUI+Combine etc.

Also I don’t think Flutter comes close to how SwiftUI spits native paradigms for each device like Mac, iPhone, iPad, Watch and TV from mostly the same UI code.

Re: SwiftUI tutorials rewritten completely

#103

Earlier quoted context omitted.

Yea I don’t disagree, but what development team has the luxury of choosing SwiftUI? Most places hiring are looking for cross platform “2 developers for the price of one” ... and the burden of dealing with cumbersome react native falls on the developer.

Anyone serious about doing high quality apps will do native development on each platform.

But I’m too lazy and want to target the most users with minimal effort and without learning anything new, their experience and performance be damned.

Re: SwiftUI tutorials rewritten completely

#104
post #84
post #79

Earlier quoted context omitted.

If you only target iOS for example it's a no brainer. There are use cases where you absolutely have to use it, those are currently Home Screen widgets and WatchOS Apps + complications. I would not be surprised if more SwiftUI-only use cases were progressively added. SwiftUI is also cross-platform, in Apple ecosystem. That is, you can develop all of your components and have them work on iOS and macOS. Then glue them t…

"cross-platform, in Apple ecosystem". Please, let's not gobble that crappy apple PR spin on what that term means. Cross-platform never meant "just an iphone and a mac os with the correct version". SwiftUI looks like a very cool tech, but it isn't "cross-platform", period.

[deleted]

Re: SwiftUI tutorials rewritten completely

#105
post #60
post #36

Oh wow, I personally know someone who joined the dev pubs team to work on this documentation. I think a big factor in the improvements was their hiring practices. Traditionally Apple has required that employees be on-site. Their dev pubs team is a notable exception and a signify part of that team is remote.

When has Apple traditionally required employees to be on site? I know a few people who have worked remote at Apple for over a decade.

They've tended to prefer onsite, though I've known of exceptions for as long as I can remember.

I interviewed with them in early 2019, and it came down to me and one other person, but I was remote and the other person was in-person. After some back and forth, they went with the other person and told me it was because I would be the second remote person on that team, both hired around the same time, and that nudged them toward the other candidate.

Now everybody is remote, so... fortunately, I'm happy where I ended up instead.

Re: SwiftUI tutorials rewritten completely

#106
post #84
post #79

Earlier quoted context omitted.

If you only target iOS for example it's a no brainer. There are use cases where you absolutely have to use it, those are currently Home Screen widgets and WatchOS Apps + complications. I would not be surprised if more SwiftUI-only use cases were progressively added. SwiftUI is also cross-platform, in Apple ecosystem. That is, you can develop all of your components and have them work on iOS and macOS. Then glue them t…

"cross-platform, in Apple ecosystem". Please, let's not gobble that crappy apple PR spin on what that term means. Cross-platform never meant "just an iphone and a mac os with the correct version". SwiftUI looks like a very cool tech, but it isn't "cross-platform", period.

I’m all for using a different term, what would you suggest as a shorthand for “same code runs on a phone, a computer, a tablet and a watch”? Cross-Apple?

Re: SwiftUI tutorials rewritten completely

#107
post #55

Earlier quoted context omitted.

Me too. I don’t understand how they release an IDE without Vim emulation or some support for plugins that enable Vim emulation. It’s quite miserable. Last time I checked you had to root the app to install a Vim extension.

FWIW you can invoke SourceKit LSP with a vim/nvim plugin now and have a really nice Swift editor inside nvim. It doesn’t work with third-party packages yet though so I mostly use it for one off scripts.

Thanks. Didn't know about SourceKit LSP.

Re: SwiftUI tutorials rewritten completely

#108

Earlier quoted context omitted.

Me too. I don’t understand how they release an IDE without Vim emulation or some support for plugins that enable Vim emulation. It’s quite miserable. Last time I checked you had to root the app to install a Vim extension.

*unsign the app

Re-sign the app using your own certificate.

Re: SwiftUI tutorials rewritten completely

#109
post #98
post #86

Earlier quoted context omitted.

I like Dash, I bought it. But unfortunately the version upgrade from 4 to 5 introduced some mandatory UI changes that made documentation lookup much more cumbersome. Looking up a function now takes several user interaction steps, instead of just one in Dash 4. I'm still on version 4. If anyone have alternatives, I'm all ears.

Yeah, I feel the same way about Dash 5. Eventually had to upgrade to 5 when 4 became incompatible with the latest Apple docets. But I much preferred the Dash 4 search.

The developer of Dash is very receptive to feedback (in fact I think this change was called out as something that he was interested in hearing opinions on).

Re: SwiftUI tutorials rewritten completely

#110

Earlier quoted context omitted.

Anyone serious about doing high quality apps will do native development on each platform.

But I’m too lazy and want to target the most users with minimal effort and without learning anything new, their experience and performance be damned.

Or from the perspective of the employer:

I'm too cheap, and rather than bite the bullet and spend money on a good mobile team, I'd rather have one guy do it all in React Native! His quality of life be damned!

Post reply on HN