0:00:00Welcome to Under the Radar, a show about independent iOS app development. I'm Marco Arment.
0:00:05And I'm David Smith. Under the Radar is never longer than 30 minutes, so let's get started.
0:00:10So for the last few weeks, we've been covering WWDC announcements, platform by platform.
0:00:15And this week is kind of like the cleanup week because we're going to talk first about
0:00:18tvOS and macOS, and then some bonus stuff after that. And we're kind of lumping this
0:00:23together because, honestly, from the point of view of two iOS developers, there's not
0:00:28a whole lot of new stuff in tvOS or macOS
0:00:31that's really relevant to us.
0:00:33I guess let's start out with tvOS.
0:00:35I mean, neither of us have a tv app,
0:00:37but we've both kind of looked at it, considered it,
0:00:40even gone to the tvOS tech talks this past winter.
0:00:43So David, what do you think,
0:00:45has anything changed in regards to like,
0:00:47is anything in tvOS now going to make it more appealing
0:00:52or more relevant or more compelling
0:00:55for us to make apps for it?
0:00:57I don't think so. I mean, it's a strange thing to have an Apple platform that I really don't
0:01:03feel much drawn to making apps for. Because almost so many other platforms, I've always
0:01:11had an app available and ready on the first day. That was just sort of been my thing for—I
0:01:17did it for as close as I could for the iPhone, definitely did it for the iPad, for the watch.
0:01:24And I did it for Mac App Store even too, if I remember right.
0:01:28But there's something on the TV that just doesn't really appeal to me or feel compelling.
0:01:33And I think a lot of it's just the TV.
0:01:36And this is in large ways that Apple kind of is pitching it, is TV OS is like the future
0:01:42of TV is apps.
0:01:44But implicit in that in some ways is that the apps are reflecting the previous content
0:01:50that was shown on TV.
0:01:52And I think there's a lot of, unless you have a, you know, you're a content creator or producer,
0:01:59you're a network, you're a TV network or a movie station or something, or you're a game
0:02:03producer, someone who would alternatively be playing on a game console, there's not
0:02:08a lot there.
0:02:09I mean, maybe I'm just not creative enough.
0:02:11And I think in general, this has been borne out.
0:02:13Like I don't hear a lot of talk from, about interesting tvOS apps that aren't from networks.
0:02:22and largely it's just a slightly more convenient way to access content that you previously
0:02:27would have access to some other way.
0:02:30And the changes we see in TVOS this year seem lined up with that.
0:02:33There's really not much there, which fair enough to TVOS was announced in between the
0:02:38last WWDC and this one, and so there's less time for things to have changed.
0:02:43But the biggest change is the single sign-on thing, which is useful and awesome if you're
0:02:48a TV network or someone who needs to do a way to authenticate whether someone has bought
0:02:53a cable package. But that's a very narrow use case. And so generally it's like, cool,
0:02:59I'm glad there's more stuff happening here, I suppose, but in general, I'm like, yeah,
0:03:03that's kind of, it'll keep doing its thing and maybe I'll check in with it periodically,
0:03:06but I don't see much there for me. Do you see anything there for you? Because obviously
0:03:10you have, of the two of us, you have the closest sort of need or reason to be there, insofar
0:03:17as you make a media consumption app, which you could reasonably imagine existing on a
0:03:22television. Do you have any plans to go towards that, though?
0:03:26I still am kind of waiting and seeing on that, because, you know, I mean, as you mentioned,
0:03:30like, it really does seem, you know, like when the TV first came out, and when we first
0:03:35were hearing that we were going to have access to make apps for Apple TV, and there was this
0:03:39new TV platform with this new crazy remote that you can't hold and everything, I thought,
0:03:43And a lot of people thought, wow, this is gonna be really great once we figure out stuff
0:03:49we haven't even thought of before.
0:03:50Like apps that right now, as we think about it beforehand, it's like apps that right now
0:03:55we can't even consider, that we haven't even thought of, and there's gonna be something
0:03:59really cool that you can do on the TV now that we can put apps on it.
0:04:03And I think so far that has proven not to be the case yet.
0:04:08that so far we as an industry of app makers
0:04:13and Apple TV users, we really haven't figured out
0:04:16anything else to do on TVs than we weren't
0:04:18basically already doing before.
0:04:21Maybe now we're doing things better,
0:04:22and maybe we're doing things on different platforms.
0:04:27Before, there were no games on the Apple TV.
0:04:28Now there are games for it.
0:04:29Not a ton of them.
0:04:30They aren't all great, but there are games for it.
0:04:33But we're still basically using TV
0:04:36to watch video, maybe occasionally play some music,
0:04:40and play games.
0:04:41Like that's mainly what people use their Apple TVs for.
0:04:45So as you mentioned, like if you're not,
0:04:47you know, watching video is tough
0:04:49if you're not a content owner.
0:04:51Like there's not a whole lot for non-content owners to do,
0:04:55because for the most part, there's no good source
0:04:59where you can get video content to play in your app.
0:05:01Like there are video podcasts,
0:05:03you could make a video podcast player,
0:05:04Those are pretty, it's a pretty small market
0:05:08both of content and of viewers
0:05:09relative to something like YouTube or a TV network.
0:05:12So there's not a whole lot for you to do
0:05:15in making a video consumption app
0:05:17if you aren't a video producer
0:05:19or working for a video producer.
0:05:21And then most people I know who are indie developers
0:05:26make either some kind of media consumption app
0:05:29or what I would generally classify as productivity apps
0:05:32or utility apps.
0:05:34Like I don't know a lot of people who make games,
0:05:36and I don't know a lot of people
0:05:38who own TV stations and TV networks.
0:05:40So the vast majority of apps, of programmers I know
0:05:45who are like working for themselves
0:05:46and not contracting for somebody like a media company,
0:05:49I don't really see a lot for any of us
0:05:50to do on the Apple TV.
0:05:52There is that one area though
0:05:54that you mentioned of media consumption,
0:05:55like what else is there besides video
0:05:56that you might be able to get on there?
0:05:57And you know, like I know people who make RSS readers,
0:06:00I don't see much of a use for that on the TV,
0:06:02especially given there's no WebKit,
0:06:03but even if there was, I don't think that would solve the problem. So then I guess that
0:06:07boils down to, okay, what about audio? You know, I make an audio playback app. I don't
0:06:11need to worry about where the content comes from because it's free and open because it's
0:06:14actually the last useful medium. So, sorry, getting political there. So, there is a good
0:06:20question of like, well, is there a use for overcast on the Apple TV? And no question,
0:06:25there is a use for overcast for some people. Some people have asked for it. But for the
0:06:31most part, most people don't use their TVs, as far as I can tell. Most people don't use
0:06:36their TVs to just play audio content and then sit there with nothing else happening on screen.
0:06:44Most TV media consumption is video. And because I don't even play video, even the World of
0:06:49Video podcast, I'm not in. So because I don't even handle video at all, and I don't really
0:06:53intend to change that, I just don't think there's enough reason for me to be there to
0:07:00justify the fairly sizable amount of work it would take. The whole bottom half of the
0:07:07app, like the data layer, the sync layer, the audio engine, I got those built and running
0:07:11on Apple TV back when the SDK first came out with a couple hours of work. That was the
0:07:16easy part because it was already all iOS code. The hard part is the entire TV UI, which all
0:07:24basically has to be written from scratch. You pretty much can't use any code, or at
0:07:29you can't use most code that you wrote for iOS on tvOS
0:07:33'cause things just work differently,
0:07:34they're structured differently,
0:07:35the input is completely different,
0:07:36the navigation is completely different.
0:07:38So you basically have to write
0:07:40the entire UI layer from scratch.
0:07:42And I just, I started doing it,
0:07:46I made the login screen and stuff,
0:07:47and after making login and registration and everything,
0:07:50and I was like, you know,
0:07:51I really am not enjoying this at all,
0:07:53and what's the benefit really gonna be here?
0:07:55Like, a podcast app has a lot of screens,
0:07:58way, way more than you might think if you haven't built one.
0:08:01And yeah, I could just port over a subset of functionality,
0:08:04but it doesn't really, I don't know.
0:08:06It doesn't seem worth it unless there's really strong demand.
0:08:09And I just haven't seen evidence of that.
0:08:12I've seen evidence of a few people who want it,
0:08:14but not most.
0:08:16- Yeah, and I think it's a tricky platform too,
0:08:18'cause I was even trying to imagine
0:08:21if Apple has likely sold more Apple TV fourth generations
0:08:25or Apple Watches.
0:08:27And my guess is they've sold more Apple watches.
0:08:30And that's even, in and of itself,
0:08:32a relatively small and narrow audience,
0:08:36certainly compared to something like iOS,
0:08:37which is where it's just immense and massive.
0:08:42And so I think of something like TVOS,
0:08:44and it's like, usually if you have
0:08:46a relatively small addressable market,
0:08:49you have to be able to charge a lot for an app,
0:08:51for it to sort of make sense financially,
0:08:54and I'm not sure, like in general,
0:08:56the app store, that's always been kind of a tricky thing to have, or there's always
0:09:01been a downward force on pressure, pressure on prices. And so it's kind of a strange thing
0:09:06to be like, well, if it's, there's only, I don't know, a few million of them in the world.
0:09:11And of those, how many people are looking for third party apps that aren't just, you
0:09:16know, major TV networks or things like that. And so, in general, it may just be fine for
0:09:21to be a platform that there isn't a lot of interest from people like us, which seems
0:09:27like that's probably fine, that's okay. Maybe it's for other people, it's cool,
0:09:31it's—I have one in my house and I use it, but it's not a platform that I expect to
0:09:37really dive into until there is such—something changes to where that becomes compelling.
0:09:42And I don't really know what that change could or would be, but as it is now, I don't
0:09:46expect that to change in the near future.
0:09:48Right. I mean, one obvious big thing they could do is the App Store environment really
0:09:53needs some help on the Apple TV. It is a very limited, difficult to browse App Store. There
0:09:58are still no conveniences like web links to Apple TV. So if you convince somebody to go
0:10:04look for your Apple TV app, they can't just click a button and buy it from their phone
0:10:08or computer. They have to go to the Apple TV, which they might not even be near at the
0:10:12time. They might be reading Twitter on their phone away from home or something. But they
0:10:15to go to the Apple TV at home, if they remember to do that, go to the App Store, search for
0:10:20your app, find it. There's no link or buy for later or anything like that. So a lot
0:10:26of that could help this a little bit. But also, I just feel like you as an Apple TV
0:10:32user, me as an Apple TV user, I've used the Apple TV every day for years. And of course
0:10:37we got the new one immediately. And I've been using that every day since it came out.
0:10:41The Apple TV is our primary TV connected device. The vast majority of the time the TV is on,
0:10:45what we're using. So as a user though, I hardly ever go to browse the App Store on the Apple
0:10:52TV. Like that's not what I'm sitting down there to do. I'm sitting down in front of
0:10:56the TV usually to play video content in like two or three apps. And I think for most people
0:11:02that's probably the biggest use cases. Like you're not sitting down to browse through
0:11:07the App Store and buy a bunch of crap and see what you like, you're probably sitting
0:11:10down to watch TV. And even if you were sitting down to browse, I think, "What would I be
0:11:16browsing for?" I'd probably be browsing for games. So like, I--and when I have--the
0:11:23handful of times I have browsed the App Store on Apple TV, that's the only--I was only looking
0:11:27for games. I was not looking for like, "Oh, I wonder if there's any podcast players."
0:11:30That never even crossed my mind. It was only about, "Okay, I'm at this thing. I either
0:11:34want to watch TV or play games." And that just might always be the case. Like, that
0:11:39might never actually change with the Apple TV. And that's okay. That's just how people
0:11:43use their TVs most of the time. And if the TV never ends up becoming a general purpose
0:11:49computing platform, that's okay. We have lots of other general purpose computing platforms
0:11:53that are really good and really compelling. And so not everything needs to be one. Obviously
0:12:00you can say a lot of similar things about the watch, honestly. But I think the TV is
0:12:03even more limited because it's like this fixed thing in your house that you're accessing
0:12:06through this distant remote with very little interaction possible and you just kind of
0:12:12want to sit back and watch TV or play a game. So I think if you're a game maker, the case
0:12:16is fairly compelling to, you know, if you can get your game ported to the Apple TV without
0:12:21a whole ton of work, it is almost certainly worth doing that. But if you are pretty much
0:12:26any other kind of app maker besides a TV content producer, I think you can safely avoid it
0:12:32for now. Our sponsor this week is Pingdom. Start monitoring your websites and servers
0:12:38today with Pingdom. Go to Pingdom.com/Radar. You get a 14-day free trial, and when you
0:12:43use offer code radar at checkout, you get 20% off your first invoice. Pingdom is focused
0:12:47on making the web faster and more reliable for everyone who has a site or runs a service.
0:12:51They offer powerful, easy-to-use tools and services for monitoring your site and its
0:12:56performance. For example, you can monitor a server, a database, an entire website, and
0:13:00such a breeze to do it. They use more than 70 global test servers that emulate visits
0:13:04to your site, checking its availability as often as every minute. And they give detailed
0:13:08performance metrics. They can alert you when it's down after one minute. And of course,
0:13:13you can customize that if you just have a flaky site and you already know that. But
0:13:17they can alert you immediately or after a certain period of downtime or with certain
0:13:20thresholds being crossed or if a certain string doesn't appear on the page, like a string
0:13:24saying everything's okay or your footer or whatever else. It is incredibly useful. I've
0:13:28I've used Pingdom now for what, seven years was it?
0:13:32- Something like that, yeah, and I think I'm six years,
0:13:34I'm just behind you on that.
0:13:35- Yeah, I mean, it's such a good service
0:13:37for monitoring your stuff, and anybody else's stuff too.
0:13:39Like, we used to use it to monitor changes
0:13:41to the WWDC site back when you had to rush in
0:13:43and get tickets, you can monitor any URL,
0:13:45you don't have to own it.
0:13:47It's a really great service, we love Pingdom,
0:13:48I love Pingdom, check it out today.
0:13:51Go to pingdom.com/radar, and use code radar
0:13:56to get 20% off your first invoice.
0:13:58Use Pingdom.
0:13:59You should not learn that your site is down
0:14:01by people telling you on Twitter.
0:14:02You should already know, and you should be fixing it
0:14:04before anybody sees it.
0:14:05Thanks a lot to Pingdom for sponsoring our show.
0:14:08- So the other platform that I think
0:14:10seemed like it made sense to just briefly touch on
0:14:13is macOS, and macOS is an interesting platform
0:14:17in so far as I use it constantly,
0:14:20but I don't develop for it.
0:14:22I develop on it, and so there are a variety
0:14:25of interesting changes happening to macOS.
0:14:27name, it has a new file system, and there's a few other user-facing things, but the only
0:14:34thing that actually caught my attention in this WWDC on the Mac that I think I'm excited
0:14:39about as a developer is the new console app, which is a bit of a low-level thing, I suppose,
0:14:46to be excited about. But I got a chance to play with this when I was in WWDC, and it
0:14:51It is going to be extraordinarily useful to be able to keep track and diagnose problems
0:14:57when I'm debugging to have the new console app on Mac OS Sierra.
0:15:02Because essentially the thing that it can now do, and this is part of this whole new
0:15:06re-architecting they've done of the way console and logging works in the various platforms,
0:15:13but is you will be able to get the logs from your devices.
0:15:19So like from your watch or your phone or your iPad,
0:15:23streamed to your Mac if you have a debug session,
0:15:26if you have a sort of a development session in active.
0:15:29And once they're in the console app,
0:15:31you can start to do clever and interesting things with them.
0:15:34Like you can start to filter them down
0:15:36based on particular keywords,
0:15:37or what I find this is really hopeful
0:15:41for me in watch development,
0:15:42where watch development can get really, really annoying
0:15:46because a lot of the things that you're trying to do,
0:15:49you don't want to be connected to Xcode
0:15:52while they're happening.
0:15:53So all the background refresh stuff.
0:15:55You want it to be running off on its own
0:15:57and then be reporting results as it goes.
0:16:00And you want to see, OK, every 15 minutes
0:16:02it woke up and refreshed itself.
0:16:05So right now what I end up doing is I have my iPhone connected
0:16:09to my watch, connected via Lightning port,
0:16:11and then Xcode open to the Devices tab.
0:16:14And then I have the full and complete console log from the watch shown there.
0:16:19And then I need to go through and take that file, save it to a disk, run it through grep
0:16:24to find the various relevant things and kind of go through it.
0:16:27It's a bit of a nightmare.
0:16:28In the new console, you'll be able to do that much more straightforwardly.
0:16:30I can just say, "Show me messages from my app from my watch."
0:16:35And that'll just stream live and I don't have to fuss with grep or anything like that.
0:16:39So that's kind of exciting, kind of nice, very low-level and straightforward.
0:16:43but I almost missed it in the announcements
0:16:45that that was coming.
0:16:47But other than that, I didn't see anything in it
0:16:49that was really exciting or interesting to me.
0:16:51I was like, yep, hopefully at this point,
0:16:53all I want from the Mac is for it to be stable, reliable,
0:16:56a place that I can sit down, open Xcode, and get to work.
0:16:59And I think macOS Sierra will probably be that,
0:17:03and so I'm happy.
0:17:05- Yeah, I mean, as a user, it seems I'm pretty happy with it.
0:17:08As a developer, I am a Mac developer slightly,
0:17:13in that I did recently write a Mac app called Quitter,
0:17:16and now I'm working on another one
0:17:18for podcast post-production utilities, basically.
0:17:22But because I'm such an elementary-level Mac programmer,
0:17:28imagine if you were learning iOS development,
0:17:32and you started learning iOS development in March.
0:17:36And that was the first time you ever did it.
0:17:39Whatever was announced at WBC wouldn't really be
0:17:42that important to you because you were at such an elementary level that you still need
0:17:48to learn the basics that were announced five, ten years ago, if it was that old. So that's
0:17:53kind of where I am with macOS development, where I'm still using the basic stuff and
0:17:59any new things they introduce to the Mac. First of all, the Mac API doesn't change
0:18:03much these days anymore because it's much older and has matured and the rate of change
0:18:09much slower than an iOS, but whatever they would change
0:18:13would be so far above my head unless they radically
0:18:16revamped AppKit, which I have doubts on whether
0:18:19they will ever do that.
0:18:21So it's not really relevant to me, whatever they change.
0:18:25I don't even know what they change, but whatever it is,
0:18:26it's almost certainly not relevant to me,
0:18:30except for stuff that's shared with iOS.
0:18:33So as a developer, cool.
0:18:35I love that there's no App Store.
0:18:36Let's move on.
0:18:37(laughs)
0:18:38So I guess the last thing to talk about for major WWDC announcement areas is Swift. Now,
0:18:47Swift is interesting because ever since it went open source, which was what, last fall?
0:18:54Was that it?
0:18:55It was right before the end of the year, I think. Because I think it was because they
0:19:00had said—what sticks in my head is that they had said, "We're going to open source
0:19:03Swift this year," and then they ended up open sourcing it in December, like towards
0:19:08the end of December, but it was along those lines.
0:19:10- Right, so ever since Swift has been open sourced,
0:19:14there's, you know, we've seen the roadmap,
0:19:17like they've developed the vast majority of it in the open,
0:19:20so we've seen the roadmap and we know what's coming.
0:19:23In many cases, the community has input
0:19:25and influences what's coming, which is great.
0:19:28So there wasn't really any kind of surprise
0:19:31to announce at WWDC, except maybe the Playgrounds app
0:19:34for iPad, but, and that's big and that's good,
0:19:37but I don't think it's really that relevant to existing Swift developers. What is new
0:19:41in Swift?
0:19:42>>
0:19:43So I think the biggest things that—I'm by no means a Swift expert, but the biggest
0:19:48goals as best I could understand for Swift 3 was to get to a place where they would be
0:19:54able to maintain source compatibility going forward. Because in the first versions of
0:20:00Swift, Swift 1 and Swift 2, those jumps, and from 2 to 3 in fact, there have been a variety
0:20:06of source-breaking changes that I hear from a variety of people who are Swift developers,
0:20:11where something new comes out and sometimes there's tools to help them with this, but
0:20:16then they need to go and sit down for a day and fix all the things to make it not broken
0:20:21anymore, which is a little bit scary. If you imagine if you had a project of any kind of
0:20:28significance and you go through this massive refactoring process, to have confidence that
0:20:33at the end of it, like everything works in the way that you expected it to work.
0:20:37So as best I understand, for Swift 3, their goal was to get all of those kinds of changes
0:20:44done with at once.
0:20:45And so now, from Swift 3 going forward, there should be very few things that would break
0:20:51source compatibility going forward.
0:20:53There may be things that change, you know, I believe the binary format and things is
0:20:59not stable yet and things like that, but that doesn't really matter practically.
0:21:03It's an important thing, but in general, that's more of a tooling problem than a developer
0:21:10problem.
0:21:11There's certainly some overlap there, but in general, that's fine.
0:21:13Then now in Swift 3, they've gone through and they've done all these things, like they've
0:21:16changed the way things are named, so they got rid of a lot of prefixes, they did some
0:21:22really cool and clever things to take C APIs and make them look swifty, which I thought
0:21:28was really clever. So like now if you're working with core graphics, which even felt awkward
0:21:34in Objective-C, now in Swift it actually looks really Swift, and it looks really clever and
0:21:40clear to be able to, you know, you take your context and you call methods on it in a way
0:21:44that you would expect from Swift. And I believe all it's doing is under the hood, it's taking
0:21:49your Swift syntax and like unwrapping it and turning it into this, the old sort of very
0:21:56verbose C syntax, but it's doing things like that. So it's just trying to make the platform
0:22:02make it a really nice, clear and concise language to start writing in. And going forward, I
0:22:08think the big things they're expecting to they're working on for like, I don't even
0:22:12know if it's 3.1 or Swift 4 or whatever the roadmap will go get towards like they're
0:22:17going to make the binary more stable, work on generics, slightly improved concurrency,
0:22:23I think is something that I remember being on the roadmap. But in general, Swift seems
0:22:27to be in a pretty good place after, you know, it's two years in from when it was first announced.
0:22:34I think it finally seems to have entered into the slightly mature phase of its life, where
0:22:41this is probably a reasonable time to sort of start diving into it, because what you're
0:22:47you're learning now is unlikely to be, sort of,
0:22:51need to be unlearned a year from now.
0:22:54- I really should dive into it.
0:22:56I just keep wanting to do things faster
0:22:59and with less time investment,
0:23:01and so I keep falling back to Objective C,
0:23:03but I do admit I am tempted to jump into Swift this summer.
0:23:06I just haven't quite done it yet.
0:23:08Do you plan on anything with that?
0:23:10- So, shockingly, yes.
0:23:11This is actually one of these,
0:23:14So this last week, I decided that I was going to learn Swift, and I sat down with the Swift
0:23:23developer book in iBooks, and I read the first sort of third of it, which is essentially
0:23:29the language overview, and I'm delighted to say that I am going to be—I'm a little nervous
0:23:35in saying it, but I think I need to say it in order to make it actually happen—that
0:23:38I'm going to write my next app in Swift.
0:23:42And if you are a follower of my work, I tend to release a new app every summer, at least
0:23:47one.
0:23:48And so the next app I write is going to be in Swift.
0:23:52All right, congratulations!
0:23:54Earlier this week, I think on Tuesday, I went into Xcode, you know, "File a new project,"
0:24:00and for the first time ever changed the language dropdown from Objective-C to Swift.
0:24:07And so I've been spending the last few days just kind of digging into how I would actually
0:24:12write an app in Swift.
0:24:14And it's weird.
0:24:15It's taken a lot of like, it's just this really strange feeling.
0:24:20And it almost makes me think of what I imagine people who switch to like, try and learn a
0:24:24Dvorak keyboard, their experience where it's like, it feels really familiar, like typing
0:24:29feels familiar.
0:24:30But it's like, I'm writing Swift and it looks familiar.
0:24:34Like I know all the API's.
0:24:35It's not like I'm doing something new that I had to learn.
0:24:38I know how UIKit works, I know how HealthKit works, I know how all these frameworks work,
0:24:43but I have no idea how to call it.
0:24:45And so I keep running off to Google and being like, "How do I do this in Swift?
0:24:50How do I do this in Swift?"
0:24:51And it keeps learning the syntax and exactly all the idioms for it.
0:24:57But overall, it's been pretty cool.
0:25:00It's an interesting language because I think ultimately Objective-C is a better fit for
0:25:06my mentality than Swift is.
0:25:09I think I like Swift as a language and I can see its utility.
0:25:14The thing that always kind of frustrates me with it, at least so far, and I'm certainly
0:25:18a bit of a noob with it at this point, but it values correctness higher than I would
0:25:27value correctness, which maybe makes me a bad programmer. But the way I think about
0:25:32a lot of things is I don't write code that has these elaborate error checking things
0:25:40in it. I tend to do best effort and then just throw up my hands. It's sort of the approach
0:25:46that I'll often take in my apps. And that's just the nature of the way that I program.
0:25:50I go for quick, and I'm experienced enough that I know how to not write horrible code
0:25:56that's going to be very problematic. And I mean, I would, this is the way that I built
0:25:59my apps. And if you look at my apps, I wouldn't think you would say that they're, you know,
0:26:04like poorly, poorly designed or created. But in Swift, there's all of these things that
0:26:09you just have, you can't get around, like everything has to be super correct and type
0:26:12safe and the whole thing with optionals and like, is this nil? Or is it not? No. And you
0:26:17have to always check. Whereas in Objective C, I can be like, I know it's not or I know
0:26:21that if it is nil, I don't care. And there's a philosophical difference there that I have
0:26:28to give into and be like, "Okay, no, it's fine that I have to be explicit about all
0:26:33these things," which I imagine in a team environment would be huge, that you don't
0:26:39have all of this meta information that is just stuck in my brain about how this function
0:26:45works because I'm the one who wrote it and I'm the only one who's ever going to see
0:26:49it. Whereas if you work in a team environment, it might be more important to have everything
0:26:53like, it's almost like self-documenting in a way where all the conditions and things
0:26:59have to be so much more explicit. But overall, I like it. It's been weird. I like that there's
0:27:05a lot less code, it feels like. Like I have more code per line, because I often have to
0:27:10do a lot of extra kind of like casts and little checks. But overall, it seems like there's
0:27:17no header files and things. Overall, the lines of code count goes down, and so it's been
0:27:23fun. And I guess we'll check in in a couple of months at the end of the summer when I've
0:27:27actually written this app, and it's not just this terrible, basic, learning my first UI
0:27:35kit program to see if this experiment succeeds. But so far, so good, and I recommend trying,
0:27:43because I think this seems like the right time. One of our first episodes was about
0:27:48when we were going to get into Swift, and I think I remember we were saying, "Well,
0:27:53we want to do it when it's stable and it's a reasonable thing to tackle." And this
0:27:58felt like the right time for me, so I've taken the plunge.
0:28:02All right, well congratulations. Now I'm the last one, so I'll probably take the
0:28:08point myself soon, but I'm not quite there yet. Probably later this summer. It's always
0:28:14like the year of desktop Linux. I'm always going to write Swift starting next month.
0:28:18All you need to do is write a new app, right? You need to just broaden your horizons, think
0:28:25of something new to make, and then just do that scary thing of changing the dropdown
0:28:29from Objective-C to Swift, and you can go from there.
0:28:33Yeah, I'm curious, do you think you're going to be writing all or mostly Swift from
0:28:38this point forward, even in existing code bases?
0:28:41I doubt it.
0:28:43I expect to be writing Objective-C in my existing products and Swift in my new things, I think
0:28:48is probably what I expect to do.
0:28:51The context shifting has been—the little bit I've done so far where I would look
0:28:56at the way I did something previously in Objective-C and then try and Swiftify it, it really hurts
0:29:01your brain to—they're so similar but so different that if I think I'm going to want—if
0:29:07I'm working on a particular project, I want to just be in the Objective-C mindset, or
0:29:11if I'm in this one, I want to be in the Swift mindset. That jumping back and forth between
0:29:15them I think would just drive me insane. Like the number of times I do ampersand quote for
0:29:22a string or things like that, where it's like all—or add a semicolon to the end of
0:29:26a line, which are just habits I have from a JFC, but in Swift I don't need them, and
0:29:32so I think I would just drive myself crazy jumping back and forth. So I have this one
0:29:36new project, it's one I'm going to work on in the summer, and it'll be in Swift,
0:29:40and we'll see how it goes.
0:29:41Awesome. All right, well we're out of time this week. Thank you very much for listening,
0:29:45everybody, and good luck, Dave, with your new Swiftification.
0:29:48Thanks.
0:29:49And we'll talk to you next week.
0:29:51Bye.
0:29:51[BLANK_AUDIO]