Podcast Search

Under the Radar

Under the Radar 34: tvOS 10, macOS 10.12 and Swift 3

Select a time to play from there. The line being spoken is highlighted as the audio plays.

0:00:00welcome to under the radar a show but

0:00:02independent iOS app development I'm

0:00:04Marco Arment and I'm David Smith under

0:00:06the radar is never longer than 30

0:00:08minutes so let's get started so for the

0:00:10last few weeks we've been covering WDC

0:00:13announcements platform by platform and

0:00:15this week is kind of like the cleanup

0:00:16week because we're gonna talk first

0:00:18about TV OS and Mac OS and then and then

0:00:21some bonus stuff after that and we're

0:00:22kind of lumping this together because

0:00:24honestly from the point of view of two

0:00:26iOS developers there's not a whole lot

0:00:28of new stuff in TV OS or Mac OS that's

0:00:31really relevant to us I guess let's

0:00:34start out with TV OS I mean neither of

0:00:36us have a TV app but we've both kind of

0:00:38looked at it considered it even gone to

0:00:40the TV OS Tech Talks this past winter so

0:00:43David what do you think it has anything

0:00:45changed in regards to like is anything

0:00:48in TV OS now going to make it more

0:00:51appealing or more relevant or more

0:00:54compelling for us to make apps for it I

0:00:56don't think so I mean it it's a it's a

0:01:00strange thing to have an Apple platform

0:01:03that I really don't feel much drawn to

0:01:05making App Store for which because I

0:01:09almost so many other platforms I've

0:01:10always had an app available and ready on

0:01:14the first day like that was just sort of

0:01:16been my thing for I did it for as close

0:01:18as I could for the iPhone definitely did

0:01:20it for the iPad for the watch and I did

0:01:25it did for the Mac App Store even - if I

0:01:26remember right but it's there's

0:01:29something on the TV that just doesn't

0:01:30really appeal to me or feel compelling

0:01:33and I think a lot of it's just the TV

0:01:35and this is in large ways that Apple

0:01:38kind of is pitching it is TV OS is like

0:01:42the future of TV is apps but the

0:01:45implicit in that in some ways is that

0:01:46the apps are reflecting the previous

0:01:50content that was shown on TV and I think

0:01:53there's a lot of unless you have a you

0:01:56know you serve this your content creator

0:01:58or a producer you know your network your

0:01:59a TV network or a movie station or

0:02:01something or your a game producer

0:02:04someone who you know alternatively be

0:02:05playing on a game console there's not a

0:02:08lot there I mean maybe I'm just not

0:02:10creative enough and I think in general

0:02:12this has been borne out like

0:02:13I don't hear a lot of talk from about

0:02:18interesting TV os apps that aren't from

0:02:21networks and largely it's just a

0:02:24slightly more convenient way to access

0:02:26content that you previously would have

0:02:27have a you know have access to some

0:02:29other way and the changes we see in TV

0:02:31OS this year seem lined up with that

0:02:33like there's really not much there which

0:02:35fair enough to t be OS was announced in

0:02:37between the last watc in this one and so

0:02:41there's less time for things to have

0:02:42changed but the biggest change is the

0:02:44single sign-on thing which is useful and

0:02:48awesome if you're a TV network or

0:02:50someone who needs to a way to

0:02:52authenticate whether someone has bought

0:02:53a cable package that's a very narrow use

0:02:56case and so generally it's like cool I'm

0:02:59glad there's more stuff happening here I

0:03:01suppose but in general I'm like yeah

0:03:02that's kind of it'll keep doing its

0:03:04thing and maybe I'll check in with it

0:03:05periodically but I don't see much there

0:03:07for me do you see anything there for you

0:03:10for you do you have over the two of us

0:03:13you have the closest sort of need or a

0:03:15reason to be there insofar as you make a

0:03:17media consumption app which you could

0:03:19reasonably imagine existing on a

0:03:21television do you have any plans to go

0:03:24towards that though I I still I'm kind

0:03:27of waiting and seeing on that because

0:03:29you know I mean as you mentioned like it

0:03:31really does seem you know when the TV

0:03:33first came out and when when we when we

0:03:35first were hearing that we were gonna

0:03:36have access to make apps for Apple TV

0:03:38and there's gonna be this new TV

0:03:39platform but this new crazy remote that

0:03:41you can't hold and everything I thought

0:03:42a lot of people thought wow this is

0:03:45gonna be really great you know once we

0:03:47figure out stuff we haven't even thought

0:03:50of before like apps that with that right

0:03:52now as we think about it you know

0:03:53beforehand I was like if we're apps that

0:03:55right now we can't even consider that we

0:03:57haven't even thought of and there's

0:03:58gonna be something really cool that you

0:04:00can do in the TV now that we can put

0:04:01apps on it and and I think so far that

0:04:05has proven not to be the case yet that

0:04:08you know so far we we as like an

0:04:10industry of app makers and tea and Apple

0:04:13TV users we really haven't figured out

0:04:16anything else to do on TVs then we

0:04:17weren't basically already doing before

0:04:19you know maybe now we're doing things

0:04:21better and maybe we're doing things you

0:04:24know on different platforms you know

0:04:26like before there were no games

0:04:28the Apple TV now there are games for it

0:04:29not a ton of them they aren't all great

0:04:31but there are games for it you know but

0:04:33we're still basically using TV to watch

0:04:37video maybe occasionally play some music

0:04:40and play games like that's mainly what

0:04:42people use their Apple TVs for so as you

0:04:45mentioned like if you're not you know

0:04:47watching video is is tough if you're if

0:04:50you're not a Content owner like there's

0:04:51not there's not a whole lot for non

0:04:53content owners to do because for the

0:04:56most part there's no good source where

0:04:59you can get video content to play in

0:05:01your app like there are video podcast so

0:05:03you could make a video podcast player

0:05:04but those are pretty it's a pretty small

0:05:06market of both of content and a viewers

0:05:09relative to something like YouTube or a

0:05:11TV network so like there's not a whole

0:05:13lot for you to do in making like a video

0:05:16consumption app if you if you aren't

0:05:18like a video producer we're working for

0:05:20a video producer and then most of the

0:05:23like most people I know who are indie

0:05:25developers make either some kind of

0:05:28media consumption app or what I would

0:05:30generally classify as productivity apps

0:05:32or utility apps like I don't know a lot

0:05:35of people who make games and I don't

0:05:37know a lot of people who own TV stations

0:05:39and TV networks so the vast majority of

0:05:42apps of programmers I know who are like

0:05:45working for themselves and not not

0:05:47contracting for somebody like a media

0:05:48company I don't really see a lot for any

0:05:50of us to do on the Apple TV there is

0:05:53that one area that you mention of media

0:05:54consumption like what else is there

0:05:56besides the video that you Mabel to get

0:05:57on there and you know I like I know

0:05:59people who make RSS readers I don't see

0:06:01much of a use for that on the TV

0:06:02especially given there's no web kit but

0:06:04even if there was I don't think that

0:06:05would solve the problem so then then I

0:06:07guess that boils down to okay what about

0:06:08audio you know I make an audio playback

0:06:10app I don't need to worry about where

0:06:12the content comes from because it's free

0:06:13and open because it's actually the last

0:06:15useful medium so sorry getting political

0:06:18there so there is a good question of

0:06:21like well is there a use for overcast in

0:06:23the Apple TV and no question there is a

0:06:25use for overcast for some people some

0:06:28people have asked for it but for the

0:06:31most part most people don't use their

0:06:33TVs as far as I can tell most people

0:06:36don't use their TVs to just play audio

0:06:38content and then do and then sit there

0:06:40with nothing else happen

0:06:41on screen you know most most TV media

0:06:44consumption is video and because I don't

0:06:47even play video like even the world of

0:06:49video podcasts I'm not in so because I

0:06:51don't even handle video at all and I

0:06:53don't really intend to to change that I

0:06:56don't I just don't think there's enough

0:06:59reason for me to be there to justify the

0:07:02the fairly sizable amount of work it

0:07:04would take you know the the whole like

0:07:06bottom half of the app like the day

0:07:08delay or the sink layer the audio engine

0:07:10I got those built in running on Apple TV

0:07:12you know back when the SDK first came

0:07:14out with a couple hours of work I mean

0:07:16that was that was the easy part because

0:07:18I was already it was already you know

0:07:19all I oh s code the hard part is the

0:07:21entire TV UI which all basically has to

0:07:25be written from scratch but you pretty

0:07:26much can't use any code or this you

0:07:29can't use most code that you wrote for

0:07:31iOS on TV OS because things just work

0:07:33differently they're structured

0:07:34differently the input is completely

0:07:35different the navigation is completely

0:07:37different so you basically have to write

0:07:40the entire UI layer from scratch and I

0:07:43just I started doing it I made like the

0:07:46login screen stuff and and after making

0:07:48login and registration and everything I

0:07:50was like you know I really am not

0:07:52enjoying this at all and what's the

0:07:54benefit really gonna be here like a

0:07:56podcast app has a lot of screens way way

0:07:59more than you might think if you haven't

0:08:00built one and yeah I could just pour it

0:08:03over like a subset of functionality but

0:08:04it doesn't really I don't know it

0:08:06doesn't seem worth it unless there is

0:08:07really strong demand and I just haven't

0:08:10seen evidence of that I've seen evidence

0:08:12of a few people who want it but but not

0:08:15most and I think is a tricky paint

0:08:17platform to because I was even trying to

0:08:20imagine if they have a pose likely sold

0:08:23more appletv fourth generations or Apple

0:08:26watches and my guess is they've sold

0:08:28more Apple watches like and that's even

0:08:31in and of itself as a relatively small

0:08:33and narrow audience certainly compared

0:08:36to something like iOS which you're

0:08:38worried about it's you know it's just

0:08:39immense and massive and so I think of

0:08:43some like TV OS and it's like and

0:08:44usually if you have a relatively small

0:08:47addressable market you have to be able

0:08:50to charge a lot for an app phone afford

0:08:53to sort of make sense financially and

0:08:54I'm not

0:08:55shirred like in general in the AppStore

0:08:57that's always been kind of a tricky

0:08:58thing to have or you know there's always

0:09:01been a downward force on pressure

0:09:03pressure on prices and so it's kind of a

0:09:05strange thing to feel like well if it's

0:09:07there's only I don't know a few million

0:09:09of them in the world and of those how

0:09:12many people are looking for third-party

0:09:14apps that aren't just you know major TV

0:09:17networks or things like that and so in

0:09:19general it may just be fine for it to be

0:09:21a platform that there isn't a lot of

0:09:23interest from people like us which seems

0:09:27like that's probably fine that's okay I

0:09:28maybe it's you know it's for other

0:09:30people it's cool it's you know I I have

0:09:33one in my house and I use it but it's

0:09:35not a platform that I expect to really

0:09:37dive into and till there is something

0:09:40changes to where that became to come as

0:09:42compelling and I don't really know what

0:09:43that change could or would be but as it

0:09:45is now I don't expect that to change in

0:09:47the near future right I mean and you

0:09:49know one obvious big thing they could do

0:09:50is the app store environment really

0:09:53needs some help on the Apple TV it is it

0:09:55is a very limited difficult to browse

0:09:57app store there's still no convenience

0:10:00is like like web links to Apple TVs so

0:10:02like if you if you convince somebody to

0:10:04go look for your Apple TV app you they

0:10:06can't just click a button and buy it

0:10:07like from their phone or computer they

0:10:09have to like go to the Apple TV which

0:10:11they might not even be near at the time

0:10:12they might be reading Twitter like on

0:10:13their phone away from home or something

0:10:15but they need to go to the Apple TV at

0:10:17home if they remember to do that go to

0:10:19the App Store search for your app find

0:10:21it's like there's there's no like link

0:10:23or buy for later or anything like that

0:10:26so a lot of that could could help this a

0:10:28little bit but also you know I just feel

0:10:30like you know you as an Apple TV user

0:10:32mean an Apple TV use I mean I've used

0:10:34the Apple TV every day for years and you

0:10:36know now and of course we got the new

0:10:37one immediately and I mean using that

0:10:39every day since it came out the Apple TV

0:10:41is our primary TV connected device the

0:10:44vast majority of the time TV is on

0:10:45that's what we're using so as a user

0:10:48though I hardly ever go to browse the

0:10:51app store on the Apple TV like that's

0:10:53not what I'm sitting down there to do

0:10:54I'm sitting down in front of the TV

0:10:56usually to play video content in like

0:10:59two or three apps and I think for most

0:11:02people that's probably the biggest use

0:11:04cases like you're not sitting down to

0:11:06browse through the app store and buy a

0:11:07bunch of crap and see what

0:11:09you like you're probably sitting down to

0:11:10watch TV and even if you were sitting

0:11:14down to browse I think what would I be

0:11:16browsing for I'd probably be browsing

0:11:18for games so like I and and when I have

0:11:22the handful of times I have browse the

0:11:24App Store on Apple TV that's that's the

0:11:25only and I was I was only looking for

0:11:27games I was not looking for like I

0:11:28wonder if there's any podcast players

0:11:30that never even crossed my mind it was

0:11:32only about okay I'm at this thing I

0:11:34either want to watch TV or play games

0:11:35and that just might always be the case

0:11:39like that that might never actually

0:11:40change with with the Apple TV and that's

0:11:42okay that's just how people use their

0:11:44TVs most of the time and if the TV never

0:11:46ends up becoming a like general-purpose

0:11:49computing platform that's okay we have

0:11:51lots of other journal purpose computing

0:11:53platforms that are really good and

0:11:55really compelling and and so that you

0:11:57know this not everything needs to be one

0:11:59obviously you can say a lot of similar

0:12:01things about the watch honestly but but

0:12:02I think the TV is even more limited

0:12:04because it's like this fixed thing in

0:12:05your house that you're accessing through

0:12:07this you know distant remote with very

0:12:09few very little interaction possible and

0:12:11and you just kind of want to sit back

0:12:12and watch TV or play a game so I think

0:12:14if you're a game maker the the case is

0:12:16fairly compelling to you know if you can

0:12:18get your game ported to the Apple TV

0:12:20without a whole ton of work it is almost

0:12:23certainly worth doing that but if you

0:12:25are pretty much any other kind of app

0:12:27maker

0:12:28besides the TV content producer I I

0:12:31think you can safely avoid it for now

0:12:32our sponsor this week is Pingdom start

0:12:36monitoring your websites and servers

0:12:38today with Pingdom go to Pingdom comm

0:12:40slash radar you get a 14-day free trial

0:12:42I mean you use offer code radar checkout

0:12:44you get 20% off your first invoice

0:12:46payment focused on making the web faster

0:12:48and more reliable for everyone who has a

0:12:50site or runs a service they offer

0:12:51powerful easy-to-use tools and services

0:12:54for monitoring your site and its

0:12:55performance for example you can monitor

0:12:57a server a database an entire website

0:13:00and it's such a breeze to do it they use

0:13:02more than 70 global test servers that

0:13:04emulate visits to your site checking its

0:13:06availability as often as every minute

0:13:07and they give a detailed performance

0:13:09metrics they can alert you when it's

0:13:10down after one minute it and of course

0:13:13you can customize out if you could have

0:13:14a flaky site and you already know that

0:13:16but they can alert you immediately or

0:13:18after a certain period of downtime or

0:13:20with certain thresholds being crossed or

0:13:22for certain stray

0:13:23doesn't appear on the page like I

0:13:24straighten saying everything's okay or

0:13:25your footer or whatever else it is

0:13:27incredibly useful I've used Pingdom now

0:13:29for what seven years was it something

0:13:32like that yeah and I think I'm six years

0:13:34I'm just behind you on that yeah I mean

0:13:36it's it's such a good service for

0:13:37monitoring your stuff and anybody else's

0:13:39stuff too like we used to use it to

0:13:40monitor changes to the WTC site back

0:13:42when you had to like Russia and it gets

0:13:43tickets you can you can monitor any URL

0:13:45you don't have to own it it's a really

0:13:47great service we love Pingdom I love

0:13:49Pingdom check it out today go to Kingdom

0:13:52comm slash radar and use code radar to

0:13:56get 20% off your first invoice use

0:13:58Pingdom you should not learn that your

0:14:00site is down by people telling you on

0:14:02Twitter you should already know and you

0:14:03should be fixing it before anybody sees

0:14:05it thanks a lot to Pingdom for

0:14:06sponsoring our show snow one the other

0:14:09platform that i've a seem like made

0:14:10sense to just briefly touch on is mac OS

0:14:14and it's mac OS is an interesting

0:14:16platform and so far as i use it

0:14:18constantly but i don't develop for it i

0:14:22develop on it and so there are a variety

0:14:25of interesting changes happening to mac

0:14:27OS its name it has a new file system and

0:14:30there's a few other like sort of user

0:14:32facing things but the only thing that

0:14:34actually caught my attention in this WC

0:14:37on the mac that i think i'm excited

0:14:39about as a developer is the new console

0:14:42app which is a bit of a low-level thing

0:14:45i suppose to be excited about but i got

0:14:48a chance to play with this when I was in

0:14:49WTC and it is going to be

0:14:52extraordinarily useful to be able to

0:14:55don't you know keep track and diagnose

0:14:57problems when I'm debugging to have the

0:14:59new console app on Mac OS Sierra because

0:15:03essentially the thing that caught that

0:15:04it can now do and this is part of this

0:15:06whole new re are connecting they've done

0:15:08if the way console and logging works in

0:15:11and the various platforms but easy you

0:15:14will be able to get the logs from your

0:15:18devices so like from your watch or your

0:15:20phone or your iPad streamed to your Mac

0:15:24if you have a debug session if you're if

0:15:26you if you have a sort of a development

0:15:28session and active and once they're in

0:15:30the console app you can start to do

0:15:32clever and interesting things with them

0:15:33like you can start to

0:15:35filter them down based on particular

0:15:37keywords or but I find this is really

0:15:39helpful for me and watch development

0:15:42where watch development you can get

0:15:44really really annoying because a lot of

0:15:47the things that you're trying to do you

0:15:50you don't want to be connected to Xcode

0:15:52while they're happening so all the

0:15:53background refresh stuff like you want

0:15:55it to be running off on its own and then

0:15:58you reporting results as it goes and you

0:16:01want to see like okay every 15 minutes

0:16:02it woke up and refreshed itself so right

0:16:05now what I end up doing is I you know

0:16:06have my iPhone connected to my watch

0:16:09connect to be a lightning port and then

0:16:12Xcode open to the devices tab and then I

0:16:15have the full and complete console log

0:16:17from the watch shown there and then I

0:16:20need to go through and like take that

0:16:22file save it to a disk run it through

0:16:24grep to find the various relevant things

0:16:26and kind of go through it's a bit of a

0:16:27nightmare in the new console you will be

0:16:29able to do that much more

0:16:30straightforwardly I can just say like

0:16:31show me messages from my app for my

0:16:33watch and they'll just stream live and

0:16:36it actually you know fuss with grep or

0:16:38anything like that so that's kind of

0:16:40exciting kind of nice very low-level and

0:16:42straightforward but I almost missed it

0:16:44in the announcements that that was

0:16:46coming but other than that I didn't see

0:16:48anything in it that was like really

0:16:49exciting or interesting to me I was like

0:16:51yep it will hopefully at this point all

0:16:53I want from the Mac is for it to be like

0:16:55stable reliable a place that I can you

0:16:57know sit down open Xcode and get to work

0:16:59and I think Mac OS Sierra will probably

0:17:02be that and so I'm happy yeah I mean as

0:17:05a user it seems you know I'm pretty

0:17:07happy with it as a developer I am a Mac

0:17:11developer slightly in in that I I did

0:17:14recently write a Mac app called quitter

0:17:16and now I'm working on another one for

0:17:19podcast post-production utilities

0:17:22basically but I because I'm structured

0:17:26like an elementary level Mac programmer

0:17:28like imagine if you were if you were

0:17:30learning iOS development and you started

0:17:33learning iOS development like in you

0:17:35know March that was the first thing you

0:17:38ever did it whatever was announced at

0:17:40the BBC wouldn't really be that

0:17:42important to you because you know you

0:17:45were alright you were at such an

0:17:46elementary level that like you still

0:17:48need to learn the basic

0:17:49that were announced five ten years ago

0:17:51you know I mean I'm you know if it was

0:17:52that old so like that's kind of where I

0:17:54am with Mac OS development where like I

0:17:56I'm still using like the basic stuff and

0:17:59any new things they introduced to the

0:18:01Mac first of all the Mac API doesn't

0:18:03change much these days anymore

0:18:05because it's very it's much older and

0:18:06has matured and you know the rate of

0:18:09change is much slower than iOS but

0:18:11whatever they would change would be so

0:18:14far above my head unless they radically

0:18:16revamped app kit which I don't you know

0:18:18III have doubts on whether they will

0:18:20ever do that

0:18:21so it's not it's not really relevant to

0:18:24me whatever they chant even know what

0:18:25they change but whatever it is it's it's

0:18:27almost certainly not relevant to me you

0:18:30know except there are stuff that share

0:18:31with iOS so as a developer cool I love

0:18:35there's no App Store

0:18:36let's move on so I guess the the last

0:18:40thing to talk about for like major wvc

0:18:43announcement areas is Swift

0:18:46now Swift is interesting because Minette

0:18:51you know ever since it went open-source

0:18:52which was what last fall it it was right

0:18:55before the end of the year I think

0:18:58because I think they I think it was they

0:19:00had said it but six in my head is that

0:19:02they had said we're gonna open source

0:19:03Swift this year and then they ended up

0:19:06open sourcing it in December like

0:19:08towards the end of December but it was

0:19:09along those lines right so ever since

0:19:12Swift has been open sourced there's you

0:19:15know we've can't we've seen the roadmap

0:19:17like they've they've developed the vast

0:19:18majority of it in the open so we've

0:19:21we've seen the roadmap and we know

0:19:23what's coming

0:19:23in many cases the community has input

0:19:25and and and influences what's coming

0:19:27which is great so there wasn't really

0:19:29any kind of surprise to announce at WC

0:19:32except it may be the playgrounds app for

0:19:34iPad but and that's that's big and

0:19:36that's good but I don't think it's

0:19:37really that relevant to existing Swift

0:19:39developers what what is new and Swift so

0:19:42I think the biggest things that and then

0:19:45I'm I know means this was Swift expert

0:19:47but the biggest goals are the best I

0:19:49could understand for Swift 3 was to get

0:19:52to a place where they would be able to

0:19:54maintain source compatibility going

0:19:57forward because in the first first

0:20:00versions of Swift just one swift to

0:20:02those jumps and from 2:00 to 3:00 in

0:20:04fact there have been a variety of like

0:20:06source breaking changes that I hear from

0:20:09a variety of people who are Swift

0:20:11developers where the new just like

0:20:12something new comes out and sometimes

0:20:15there's tools to help them with this but

0:20:16then they need to go and sit down for a

0:20:18day and like fix all the things to make

0:20:20it not broken anymore which is a little

0:20:24bit scary too like if you imagine if you

0:20:26had a project of any kind of

0:20:28significance and you go through this

0:20:29massive refactoring process to have

0:20:32confidence that at the end of it like

0:20:34everything works in the way that you

0:20:36expected it to work as best I understand

0:20:38for Swift three their goal was to get

0:20:42all of those kinds of changes done with

0:20:44at once and so now from Swift three

0:20:47going forward there should be very few

0:20:49things that are would would break source

0:20:51compatibility going forward that there

0:20:53may be things that change you know that

0:20:55I believe the binary format and things

0:20:58is not stable yet and things like that

0:21:01like that doesn't really matter

0:21:02practically it's it's an important thing

0:21:04they don't they're in general that's

0:21:07more of a tooling problem than a

0:21:09developer problem like there's certainly

0:21:10some overlap there but in general that's

0:21:12fine the nouns for three they've gone

0:21:15through and they've done all these

0:21:16things like they've changed the way

0:21:17things are named so they got rid of a

0:21:20lot of prefixes they did some really

0:21:22cool and clever things to take c.a.p

0:21:25eyes and make them look swifty which I

0:21:28thought was really clever so like now if

0:21:30you're working with core graphics which

0:21:32you've even felt awkward in Objective C

0:21:35now in Swift it actually looks really

0:21:38Swift and it looks really clever and

0:21:40clear to be able to you know you take

0:21:42your context and you call methods on it

0:21:44in a way that you would expect from

0:21:45Swift and I believe all that's doing is

0:21:48under the hood it's taking your swift

0:21:50syntax and like unwrapping it and

0:21:52turning it into this rip the old sort of

0:21:55for a very verbose C syntax but it's

0:21:59doing things like that so what you're

0:22:01trying to make the platform make it a

0:22:03really nice clear and concise language

0:22:05to start writing in and going forward I

0:22:08think the big things they're expecting -

0:22:10they're working on and for like this

0:22:12with I had no it's 3.1 or 54 or whatever

0:22:15the

0:22:16roadmap we'll go get tore it's like

0:22:17they're gonna make the binary more

0:22:19stable work on generics slightly

0:22:22improved concurrency I think is

0:22:23something that I remember being on the

0:22:24roadmap but in general Swift seems to be

0:22:27in a pretty good place after you know

0:22:31it's two years in from it when it was

0:22:33first announced I think it's finally

0:22:34seems to have entered into the slightly

0:22:37mature phase of its life where this is

0:22:41probably a reasonable time to sort of

0:22:43start diving into it because it is what

0:22:47you're learning now isn't is unlikely to

0:22:49be on the sort of needed need to be

0:22:51unlearned a year from now I really

0:22:55should dive into it I just keep wanting

0:22:57to do things faster and with less you

0:23:00know with less time investment and so I

0:23:01keep falling back to it yet to see but I

0:23:04I do admit I am tempted to jump into

0:23:05Swift the summer I just haven't quite

0:23:07done it yet do you plan on anything with

0:23:09that so shocking yes this is actually

0:23:13one of these got so this last week I

0:23:16decided that I was going to learn Swift

0:23:19and I sat down with the like the Swift

0:23:23developer book in iBooks and I read the

0:23:26first sort of third of it which is the

0:23:28essentially like the language overview

0:23:30and I'm delighted to say that I am going

0:23:33to be me I have I'm a little nervous and

0:23:35saying it but I think I need to say it

0:23:37in order to make it actually happen that

0:23:38I'm going to be right

0:23:40my next app in Swift and if you all

0:23:43right anyway a follower of my work I

0:23:45tend to release a new app every summer

0:23:47at least at least one and so the next

0:23:50app I write is going to be an Swift all

0:23:52right congratulations earlier this

0:23:54earlier this week I think on Tuesday I

0:23:56went and went into Xcode you know file

0:23:59new project and for the first time ever

0:24:02changed the language drop-down from A to

0:24:04C to Swift and so I've been spending the

0:24:08last few days just kind of digging into

0:24:11how I would actually write an app in

0:24:13Swift and it's weird it's taken a lot of

0:24:16like it's just this really strange

0:24:19feeling and it almost makes me think of

0:24:21what I imagine people who switch to like

0:24:24try and learn a divorcée back keyboard

0:24:26their experience where it's like it

0:24:28feels really familiar

0:24:29typing feels familiar but it sorry I'm

0:24:32writing Swift and it looks familiar like

0:24:34I know all the API is like that's not

0:24:35like I'm doing something new that I had

0:24:38to learn like I know how you Ike it

0:24:40works I know all healthcare works I know

0:24:41how all these frameworks work but I have

0:24:43no idea how to call it and so I keep

0:24:45doing like I keep running off to Google

0:24:47and being like how do I do this in Swift

0:24:49how do I do this and Swift and it's like

0:24:51keeps learning the syntax and exactly

0:24:54like all the idioms for it but overall

0:24:58it's been pretty cool it's it's an

0:25:00interesting language because I think

0:25:02ultimately objective-c is a better fit

0:25:05for my mentality then Swift is I think I

0:25:10like Swift as a language and I can see

0:25:12its utility the thing that always could

0:25:15that kind of frustrates me with at least

0:25:16so far and now it's just certainly a bit

0:25:19of a noob with it at this point but is

0:25:21it seems to values correctness higher

0:25:26than I would value correctness which

0:25:28maybe makes me a bad programmer but the

0:25:31way I think about a lot of things is I

0:25:34you know I don't I don't write code that

0:25:37it has these little elaborate error

0:25:40checking things in it like I tend to do

0:25:42sort of like best effort and then just

0:25:44throw up my hands it's sort of that of

0:25:46the approach that I'll often take a maps

0:25:47and this just there in the nature of the

0:25:49way that I program like I'm just I go

0:25:51for a quick quick and I'm experienced

0:25:53enough that I know how to not write

0:25:55horrible code that's going to be very

0:25:56problematic and I mean I would this is

0:25:59the way that I felt my apps and if you

0:26:01look at my apps I wouldn't think you

0:26:03would say that they're you know like

0:26:04poorly poorly designed or created but in

0:26:08Swift there's all of these things that

0:26:09you just have you can't get around to

0:26:10everything has to be super correct and

0:26:12typesafe and the whole thing with

0:26:15optionals and like is this nil or is it

0:26:16not know and you have to always check

0:26:18whereas an objective-c I can be like I

0:26:20know it's not or I know that if it is no

0:26:22I don't care and that I there's like a

0:26:26philosophical difference there that I

0:26:28have to kind of get giving to and be

0:26:30like ok no it's fine that I have to be

0:26:32explicit about all these things which I

0:26:35imagine in a team environment would be

0:26:37huge and that you don't have all of this

0:26:39kind of like meta

0:26:41information that is just like stuck in

0:26:43my brain about how this function works

0:26:45because I'm the one who wrote it and I'm

0:26:48the only one who's ever going to see it

0:26:50whereas if you work in a team

0:26:51environment it might be more important

0:26:53to have everything you know like it's

0:26:56almost like self documenting in a way

0:26:57where all the conditions and things have

0:27:00to be so much more explicit but overall

0:27:02I like it it's been weird I like that

0:27:05there's a lot less code it feels like

0:27:07like I have more code per line cuz I

0:27:10often have to do a lot of extra kind of

0:27:12like casts and little checks but overall

0:27:16it seems like it's like method there's

0:27:17no header files and things overall like

0:27:19the code the lines of code count goes

0:27:21down and so it's been fun and I guess

0:27:25we'll check in in a couple of months at

0:27:27the end of the summer when I've actually

0:27:28written this app and it's not just like

0:27:30this terrible basic like learning my

0:27:34first uikit program I'm to see if this

0:27:37experiment succeeds but you know so far

0:27:40so good and I recommend trying because I

0:27:44think this is seems like the great time

0:27:45like I've been waiting if you one of our

0:27:47first episodes was about when we were

0:27:49gonna get into Swift and I think I

0:27:50remembers we were saying it's like well

0:27:52we want to do it when it's stable and

0:27:55it's a reasonable thing to take sort of

0:27:57to tackle and this we felt like the

0:27:59right time for me so I've taken the

0:28:01plunge alright well congratulations now

0:28:04now I'm like the last one so I will

0:28:07probably probably take the plunge myself

0:28:09soon but I have not quite there yet

0:28:11probably later this summer it's it's

0:28:13always you know it's like the year of a

0:28:15desktop Linux it's like I'm always gonna

0:28:17write Swift like starting next month so

0:28:19you just you need to do is write a new

0:28:21app right you just you need to just

0:28:24broaden your horizons think of something

0:28:25new to make and then just do that scary

0:28:28thing of changing the drop-down from

0:28:29Objective C to Swift and you know you

0:28:32can go from there yeah I mean I'm

0:28:35curious like do you think you're gonna

0:28:36be writing all or mostly Swift from this

0:28:39point forward even an existing code

0:28:40bases I doubt it I I expect to be

0:28:44writing Objective C and my existing

0:28:45products and Swift in my new things I

0:28:47think it's probably what I expected to

0:28:49because it's the Kyle

0:28:52contact shifting has been like the

0:28:54little bit I've done so far where I

0:28:55would like look at the way I did

0:28:56something previously in Objective C and

0:28:58then try and like Swift if I it like it

0:29:00really hurts your brain to they're so

0:29:03similar but so different that if I think

0:29:06I'm gonna want if I'm working on a

0:29:08particular project I want to just be in

0:29:10the Objective C mindset or if I'm you

0:29:12know own this one I want to be in the

0:29:13Swift mindset that jumping back and

0:29:15forth between them I think we just drive

0:29:17me insane like the number of times I do

0:29:20ampersand quote for a string things like

0:29:23that where it's like all or at a

0:29:25semicolon to the end of a line we should

0:29:28just you know habits I have for amateur

0:29:29chef C but in Swift I don't need them

0:29:32and so I think I would just drive myself

0:29:33crazy jumping back and forth so I'll

0:29:35just I have this one new project it's

0:29:37what I'm gonna work on in the summer and

0:29:38it'll be in Swift and we'll see how it

0:29:40goes awesome alright well we're out of

0:29:43time this week thank you very much for

0:29:45listening everybody and good luck day

0:29:47with your new Swift of vacation thanks

0:29:49and we'll talk to you next week bye