1
00:00:06,290 --> 00:00:07,880
What's up guys I'm Jacob Bledsoe.

2
00:00:07,910 --> 00:00:17,330
Dev soapstar the point of this update video in the middle of my recording we went from Swift three point

3
00:00:17,330 --> 00:00:27,550
to iOS 10 to now x cotinine and swift for an iOS 11 and all this was done in swift 3.

4
00:00:27,710 --> 00:00:35,120
So I want to do a quick run through of what you need to do if you are programming in Iowa us 11 and

5
00:00:35,120 --> 00:00:39,010
using swift for all that good stuff.

6
00:00:39,930 --> 00:00:41,160
Excuse me.

7
00:00:41,160 --> 00:00:50,140
So if we do that why don't we go ahead and make our our build seconds.

8
00:00:51,030 --> 00:00:55,820
If we go to build Suddens from our target here we see swift three point two.

9
00:00:56,010 --> 00:01:03,010
Let's go ahead and make that 4 and then we can save it and build it and we're going to get a couple

10
00:01:03,010 --> 00:01:05,610
of there's nothing huge.

11
00:01:05,610 --> 00:01:10,300
This app actually doesn't really break all that much.

12
00:01:10,320 --> 00:01:24,730
There's just a few things with reference seen objective c swift for has made you you have to point objective

13
00:01:24,890 --> 00:01:31,560
see objects at Objective C instead of doing in the background now it just wants you to do it.

14
00:01:31,620 --> 00:01:39,210
So if you just start clicking on our heir's say latitude must have an objective c in front of it so

15
00:01:39,210 --> 00:01:42,870
you can just click fix here and it adds Objective-C.

16
00:01:42,870 --> 00:01:44,960
Same with this guy.

17
00:01:45,030 --> 00:01:48,540
So both of our data models are going to need that.

18
00:01:48,540 --> 00:01:56,030
So our run data model they're all going to need the subject to see in front of them for the most part.

19
00:01:56,040 --> 00:02:00,660
X could fix itself it just puts the arrows up here and it's really easy.

20
00:02:01,440 --> 00:02:10,310
To fix like you can just click the fix button like we did and then there's a few other things like tap

21
00:02:10,320 --> 00:02:13,740
gestures and things right here.

22
00:02:13,740 --> 00:02:21,600
If you see a selector now I found that X code Neyens been a bit buggy with me if I click this fix button

23
00:02:21,660 --> 00:02:26,190
it sometimes puts the objective c in the middle of my function name which is really weird.

24
00:02:26,220 --> 00:02:29,180
So what I've been doing is just like OK and runs.

25
00:02:29,280 --> 00:02:37,320
If we have to go down to our end run Swype function here and we just need Objective-C in front of it

26
00:02:38,070 --> 00:02:41,460
and then Same here at the selector our update counter.

27
00:02:41,460 --> 00:02:45,490
Since it's a selector we need objective c in front of it.

28
00:02:45,510 --> 00:02:46,250
There we go.

29
00:02:46,290 --> 00:02:47,770
And then build.

30
00:02:48,360 --> 00:02:52,000
And as far as code goes now everything will work.

31
00:02:52,200 --> 00:03:01,350
And if we run this every everything should compile.

32
00:03:01,530 --> 00:03:02,270
All right.

33
00:03:02,580 --> 00:03:04,670
Sweet.

34
00:03:04,850 --> 00:03:11,650
So there's not too many changes just that add objective c in front of whatever it yells at you.

35
00:03:11,660 --> 00:03:18,920
So the compiler X code tells you what needs the reference for an object to see and just do a quick run

36
00:03:18,920 --> 00:03:20,810
through and you ought to add that.

37
00:03:20,810 --> 00:03:25,210
So if you follow it along you probably got the air and hopefully already added it.

38
00:03:25,280 --> 00:03:27,120
So that's it guys.

39
00:03:27,140 --> 00:03:28,170
I hope you enjoy the course.
