John Siracusa
👤 PersonAppearances Over Time
Podcast Appearances
AppKit versus SwiftUI and then with a side tangent into WebKit to see how smooth that scrolling is. And there was a lot of feedback about that on Mastodon and through email. A lot of people making demo apps saying, I don't know what your problem is. AppKit is plenty fast for me. Maybe I didn't emphasize it enough when we discussed it, but once I converted to AppKit, the performance was good.
AppKit versus SwiftUI and then with a side tangent into WebKit to see how smooth that scrolling is. And there was a lot of feedback about that on Mastodon and through email. A lot of people making demo apps saying, I don't know what your problem is. AppKit is plenty fast for me. Maybe I didn't emphasize it enough when we discussed it, but once I converted to AppKit, the performance was good.
Like it wasn't bad anymore. Like it was fine, right? It's just that WebKit, I was so impressed at how smooth it was and I still felt like my AppKit version It was not quite as smooth as the WebKit version, and that annoyed me. I felt like it should be much better, noticeably better. Instead, it was like the same or maybe slightly worse, right? But it was fine. It was adequate.
Like it wasn't bad anymore. Like it was fine, right? It's just that WebKit, I was so impressed at how smooth it was and I still felt like my AppKit version It was not quite as smooth as the WebKit version, and that annoyed me. I felt like it should be much better, noticeably better. Instead, it was like the same or maybe slightly worse, right? But it was fine. It was adequate.
I wasn't worried about the performance anymore. But so many people were making demo apps and asking me about things. One of the things somebody mentioned was, Hey, are you using NSCell or view-based tables? For a little bit of background, NSTableView is a really old class back from the next days, I think, or if not very close to then.
I wasn't worried about the performance anymore. But so many people were making demo apps and asking me about things. One of the things somebody mentioned was, Hey, are you using NSCell or view-based tables? For a little bit of background, NSTableView is a really old class back from the next days, I think, or if not very close to then.
And it was originally designed for much less powerful computers with a special class called NSCell that's used to populate each cell in the table. And NSCell is like a lightweight thing that it's like it's not a full-blown NSView that could have anything in it. It's just a very small, lightweight thing because we know you're just going to be a table cell.
And it was originally designed for much less powerful computers with a special class called NSCell that's used to populate each cell in the table. And NSCell is like a lightweight thing that it's like it's not a full-blown NSView that could have anything in it. It's just a very small, lightweight thing because we know you're just going to be a table cell.
You're not going to be some arbitrary view. You're probably just going to show some text or something, like a number or maybe like an image or something. It's a very limited thing. And as time went on in what was then known as Coco development, people were like, oh, NS table view. It's so annoying with stupid NS cells. I have all these NS views in my app, but I can't use them with tables.
You're not going to be some arbitrary view. You're probably just going to show some text or something, like a number or maybe like an image or something. It's a very limited thing. And as time went on in what was then known as Coco development, people were like, oh, NS table view. It's so annoying with stupid NS cells. I have all these NS views in my app, but I can't use them with tables.
I just want to put my NS views into the tables, but I have to convert everything to wedge it into these NS cells, and it's very limiting and it's annoying. And that performance enhancement is...
I just want to put my NS views into the tables, but I have to convert everything to wedge it into these NS cells, and it's very limiting and it's annoying. And that performance enhancement is...
no longer useful uh i wish they would get rid of nsl so many many years ago eventually apple said okay now you can make ns table views and you can just stick plain old ns views inside them you don't have to deal with nsl you've got ns views in the rest of your app if you just want to put them in a table you just stick them into a cell and they'll show there uh done and done so much so that the cell-based ns table view has been deprecated since i think mac os 10.10
no longer useful uh i wish they would get rid of nsl so many many years ago eventually apple said okay now you can make ns table views and you can just stick plain old ns views inside them you don't have to deal with nsl you've got ns views in the rest of your app if you just want to put them in a table you just stick them into a cell and they'll show there uh done and done so much so that the cell-based ns table view has been deprecated since i think mac os 10.10
I don't even remember what version that was. Was that Yosemite? I don't know. Maybe it was earlier than that. But anyway, it's been deprecated for a while. But people were asking me, are you using view-based or cell-based? And I said, I'm using view-based because, like, what year is it? Like, we should be using view-based, right? Apple promoted it at WWDC. They said it's time to get a ditch NSL.
I don't even remember what version that was. Was that Yosemite? I don't know. Maybe it was earlier than that. But anyway, it's been deprecated for a while. But people were asking me, are you using view-based or cell-based? And I said, I'm using view-based because, like, what year is it? Like, we should be using view-based, right? Apple promoted it at WWDC. They said it's time to get a ditch NSL.
I'd heard all these bad things about NSL. And, you know, it's deprecated. But I said, you know, fine. Like, I'll do implementation number six or 5.5. I converted my NS table view to use NS cell instead of NS view, just to see if it would make any difference. And because I, why not? Right. And the thing is it did make a little bit of a difference.
I'd heard all these bad things about NSL. And, you know, it's deprecated. But I said, you know, fine. Like, I'll do implementation number six or 5.5. I converted my NS table view to use NS cell instead of NS view, just to see if it would make any difference. And because I, why not? Right. And the thing is it did make a little bit of a difference.
And I had to do the thing where like two, two copies of the app running side by side to be like, am I imagining things? Scroll, scroll. Cause like, like I said, the, the NS table view one with NS views is fine. Like you, you'd look at it and you would think there's nothing wrong with it, but I'm, I've been obsessing over for so long. Now it's like scroll this one.
And I had to do the thing where like two, two copies of the app running side by side to be like, am I imagining things? Scroll, scroll. Cause like, like I said, the, the NS table view one with NS views is fine. Like you, you'd look at it and you would think there's nothing wrong with it, but I'm, I've been obsessing over for so long. Now it's like scroll this one.