1
00:00:05,770 --> 00:00:08,460
It's a bigger one Mark Price here at Dove slopes dot com.

2
00:00:08,460 --> 00:00:14,640
And in this very last video in the arcade section I just wanted to talk about Apple's official A-R kit

3
00:00:14,640 --> 00:00:15,150
project.

4
00:00:15,150 --> 00:00:18,540
It's really important that you know about it and it's how you're going to take your skills to the next

5
00:00:18,540 --> 00:00:19,260
level.

6
00:00:19,290 --> 00:00:22,050
So a developer at Apple dot com slash a market.

7
00:00:22,410 --> 00:00:28,440
And if you scroll down here you're going to see something called a market demo placing objects in augmented

8
00:00:28,440 --> 00:00:29,460
reality.

9
00:00:29,460 --> 00:00:37,770
And I'll go ahead and run this app here and basically in this app you can pick multiple objects you

10
00:00:37,770 --> 00:00:40,370
can place those objects on the screen.

11
00:00:40,410 --> 00:00:46,800
You'll notice that the the trackings a little bit better and there's a little visual yellow square box

12
00:00:46,800 --> 00:00:48,450
that lets you place things there.

13
00:00:48,450 --> 00:00:57,280
And this app really gives you a sense of how to how to build a fully robust app and their version of

14
00:00:57,280 --> 00:01:00,030
the of the tracking is much more accurate than what we've built.

15
00:01:00,040 --> 00:01:01,290
That's because we just started off.

16
00:01:01,340 --> 00:01:06,760
And so my point is I want you to download this project and look at the code and I'll pull it open right

17
00:01:06,760 --> 00:01:07,570
here.

18
00:01:07,970 --> 00:01:10,410
OK there a lot of things going on here.

19
00:01:10,450 --> 00:01:13,230
So in their view controller it's a sizeable file.

20
00:01:13,240 --> 00:01:17,560
It's about you know 150 lines of code almost.

21
00:01:17,560 --> 00:01:20,070
And they're doing a lot of things here they're managing.

22
00:01:20,140 --> 00:01:24,010
And I want you to think of the app is only a few things on the screen but they're managing so much.

23
00:01:24,250 --> 00:01:30,970
And so my point is a market can get as complex as you need it to get and you can really dive in and

24
00:01:30,970 --> 00:01:32,890
make some amazing things.

25
00:01:32,920 --> 00:01:37,510
And so what I recommend you do is you go to this view controller does Swift you see how things are starting

26
00:01:38,150 --> 00:01:42,760
where they're are loading objects how they're showing things on the screen and go through all these

27
00:01:42,760 --> 00:01:44,940
classes and read the code and see what's going on.

28
00:01:44,950 --> 00:01:46,560
Even their virtual objects.

29
00:01:46,600 --> 00:01:51,700
OK they're learning things like we're doing all right with the scene files and stuff but they actually

30
00:01:51,700 --> 00:01:59,860
have these these classes and parent classes where they're basically adding more functionality like right

31
00:01:59,860 --> 00:02:04,630
here they're initializing it with a file extension a scene file a candle then it grabs it from the resources

32
00:02:05,020 --> 00:02:09,910
and the virtual object is the parent class that does a bunch of other things just go through all these

33
00:02:09,910 --> 00:02:14,050
classes look at what they're doing UI elements how they're showing things on the screen how they're

34
00:02:14,050 --> 00:02:18,190
showing that little red dot little yellow square on the on the ground and how it kind of auto and lines

35
00:02:18,190 --> 00:02:21,310
and stuff they coated all that stuff and that's all here in this project.

36
00:02:21,400 --> 00:02:27,080
And if you want you can actually copy and paste some of the code from this project into yours from the

37
00:02:27,100 --> 00:02:32,900
focus square to gestures on the screen even to debug debugging on it.

38
00:02:32,950 --> 00:02:38,290
Also one of the things that they tell you to do in the market documentation is let the user know what's

39
00:02:38,290 --> 00:02:39,970
going on so they even have a text manager.

40
00:02:39,970 --> 00:02:44,760
So for instance let's say you're showing it on the ground you know in our app if you if you're just

41
00:02:44,760 --> 00:02:49,300
showing the ground for instance and it can't reference a wall or something else it can't track.

42
00:02:49,420 --> 00:02:52,990
And so it actually posts a notification saying hey I can't track.

43
00:02:53,130 --> 00:02:56,620
And so you should show those things to the user just like this app does you should pop it up to the

44
00:02:56,620 --> 00:03:01,630
user saying you know tracking networking readjust your focus and you just send messages and they do

45
00:03:01,660 --> 00:03:03,440
all those things here.

46
00:03:03,460 --> 00:03:10,810
This is basically the perfect augmented reality app with Apple in order to build a very robust project

47
00:03:10,810 --> 00:03:14,470
with better tracking and handling every single case.

48
00:03:14,470 --> 00:03:18,460
So again I just wanted you to be aware of this project it's how you're going to get to the next level.

49
00:03:18,520 --> 00:03:23,380
And they go really in-depth on how to work with air and into all the little features about it.

50
00:03:23,390 --> 00:03:25,360
So that's it for now.

51
00:03:25,360 --> 00:03:27,400
Happy journeys build some amazing things.

52
00:03:27,400 --> 00:03:29,250
Let me know how your app development is going.

53
00:03:29,260 --> 00:03:32,380
And if you build any cool arcade apps I'd love to know about it.

54
00:03:32,380 --> 00:03:32,790
That's it.

55
00:03:32,790 --> 00:03:35,200
Marc price at the slopes dot com.

56
00:03:35,200 --> 00:03:35,880
See you next time.

