Live data from Hacker News

9 years of Apple text editor solo dev

papereditor.app

121–130 of 405 posts

Re: 9 years of Apple text editor solo dev

#121
post #7

> To my surprise, the Swift one had the full Swift runtime embedded into it — about 5MB, while the Objective-C one was super light — tens or maybe 100KB in total. That's a huge difference, but I believe it's because Swift is meant to be somewhat cross-platform, right?

No, it's because Swift was not ABI stable at the time, so it couldn't be added to the operating system. https://www.swift.org/blog/abi-stability-and-more/

Related discussion from 3 weeks ago:

https://news.ycombinator.com/item?id=38651690

Re: 9 years of Apple text editor solo dev

#122

> I had little trust in my ability to pick the right dependencies from an ecosystem that I was not familiar with For me this is an invaluable lesson to learn. A pet peeve of mine are tutorials or guides which consist of a list of external packages and libraries to add before writing a line of code. This write up is excellent though, some of the gripes I have with the Apple eco system the OP has turned into a 'learnin…

Thank you!

Re: 9 years of Apple text editor solo dev

#123
post #117
post #109

Earlier quoted context omitted.

> Foundation is being rewritten entirely in Swift. That's a mult-year project in its very early stages, yet we're already almost 10 years into Swift (more than 10 years of Swift internally to Apple). > All new code is in Swift. False. > All new frameworks are Swift-only. False.

> That's a mult-year project in its very early stages, yet we're already almost 10 years into Swift (more than 10 years of Swift internally to Apple). It has already shipped, replacing parts of Foundation in the 2023 OS versions. It continues to grow, and it's a rewrite, so it certainly proves your assertion wrong. My other points were a bit hyperbolic. Feel free the replace "all" with "the vast majority of". Apple o…

> It continues to grow, and it's a rewrite, so it certainly proves your assertion wrong.

Which assertion was wrong? I was paraphrasing from the project page itself:

"It is in its early stages with many features still to be implemented." https://github.com/apple/swift-foundation

Re: 9 years of Apple text editor solo dev

#125

> In the end, building a polished, frictionless support chat was one of the best decisions that I have ever made for Paper. Many many years ago, I used to run a web hosting company. One of the first things I did was I built one of those little chat widgets that let me chat directly with visitors on my website. This was around the year 2000 and before I had ever heard of liveperson which was somewhat new at the time.…

Why didn't you offer a customer support number?

Re: 9 years of Apple text editor solo dev

#126
post #28
post #16

Earlier quoted context omitted.

And $10/month subscription? What should something like Photoshop with 10000x the features and development costs then charge? $1000/month? I understand "keeping it simple" but not "keeping it simple AND charging a crazy price for it" (there are essential, complex apps, that charge much less than that). I guess, if you can get away with it...

Historical note: Photoshop cost $895 in 1990, which is more than $2,100 today. Original MacWorld magazine review: https://archive.org/details/MacWorld_9006_June_1990/page/n20...

Long ago I paid somewhere between $25 and $100 for a calculator construction kit on Mac classic. Purely a purchase of love because it seemed like cool software and I love RPN calculators.

I resent the modern attitude that paying for software is an undue burden.

Re: 9 years of Apple text editor solo dev

#127
post #27

Smoothing the caret after character insertion is unbelievably pleasant. Now every other input feels glitchy, almost like continual paper cuts.

What do you mean by "smoothing the caret"? I just tried the app to see if I can make sense of it; do you mean that the caret does not blink if you continuosly insert characters?

When you type a character, the cursor smoothly animates from its previous position to the new one. As opposed to most apps where the cursor instantly jumps one character width to the right.

Re: 9 years of Apple text editor solo dev

#128

> Swift has come a long way and my guess is Apple has either embedded it into their platforms or added some fancy tree shaking for the binary. It went ABI around Swift 5 or so. I took a huge leap of faith, in 2014, and started using Swift, exclusively. It's turned out OK. I'm not quite as positive about SwiftUI, though. I think it will work out, but it has a huge amount of catching up to do, if it is to replace UIKit…

SwiftUI is pretty good, I've been using to build an app. The big problem is navigation and state handling, it's not intuitive (although I never used AppKit or UIKit so I can't say if it's better or worse)

Re: 9 years of Apple text editor solo dev

#129
post #90

Earlier quoted context omitted.

Aside from inline assembly, Swift can operate at just a low level, it just requires more work, since those operations are unsafe. All of Apple's public frameworks are importable into Swift. At this point there are more frameworks unavailable in Obj-C.

Interesting! So all the NS_SWIFT_UNAVAILABLE APIs are still easily bypassable in Swift?

Depends what they are. Most of the time those are unavailable because they've been replaced with better Swift imports of the same API somewhere. Less commonly it's because they use one of the few C features that can't be imported into Swift or, even more rarely, because the API is fundamentally unsafe and they don't want it available in Swift. In all cases you can reexpose these APIs to Swift by writing your own C wrapper.

Re: 9 years of Apple text editor solo dev

#130
post #49

All the "fringes" stuff is where the magic is. The author suggests that no one notices some of the refinements, well this may be true on day one, but people discover these touches as they grow more familiar. Those subtle thoughtful additions are what makes the difference between an app I like using, and one I love using. They help me feel a couple of things: 1) A connection; I feel like I noticed something just for t…

I love many things about Procreate, but their palm rejection is terrible (ie inexistent) compared to every other drawing app which means the canvas often zooms/rotates wildly while I’m drawing (maybe cause I’m left handed?), making it super frustrating to use; they’ve ignored requests to address it with eg canvas lock for years ;_; https://folio.procreate.com/discussions/3/6/13198 https://folio.procreate.com/discussi…

[deleted]
Post reply on HN