1
00:00:05,530 --> 00:00:08,400
It what's a bigger one Mark Price here that slopes dot com.

2
00:00:08,410 --> 00:00:14,550
And in this very last video in the arcade section I just wanted to talk about Apple's official Market

3
00:00:14,570 --> 00:00:15,080
Project.

4
00:00:15,090 --> 00:00:18,490
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,490 --> 00:00:19,080
level.

6
00:00:19,240 --> 00:00:25,210
So a developer dot apple dot com slash a market and if you scroll down here you're going to see something

7
00:00:25,210 --> 00:00:29,200
called a market demo placing objects in augmented reality.

8
00:00:29,410 --> 00:00:37,720
And I'll go ahead and run this app here and basically in this app you can pick multiple objects you

9
00:00:37,720 --> 00:00:40,360
can place those objects on the screen.

10
00:00:40,360 --> 00:00:46,750
You'll notice that the the trackings a little bit better and there's a little visual yellow square box

11
00:00:46,750 --> 00:00:48,360
that lets you place things there.

12
00:00:48,400 --> 00:00:57,200
And this app really gives you a sense of how to how to build a fully robust app and their version of

13
00:00:57,200 --> 00:00:59,960
the of the tracking is much more accurate than what we've built.

14
00:00:59,960 --> 00:01:01,280
That's because we just started off.

15
00:01:01,280 --> 00:01:06,710
And so my point is I want you to download this project and look at the code and I'll pull it open right

16
00:01:06,710 --> 00:01:07,440
here.

17
00:01:07,870 --> 00:01:08,280
OK.

18
00:01:08,310 --> 00:01:10,390
A lot of good things going on here.

19
00:01:10,400 --> 00:01:13,190
So in their view controller it's a sizeable file.

20
00:01:13,190 --> 00:01:17,510
It's about you know 150 lines of code almost.

21
00:01:17,510 --> 00:01:20,070
And they're doing a lot of things here they're managing.

22
00:01:20,090 --> 00:01:24,030
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,200 --> 00:01:31,310
And so my point is a market as complex as you need it to get and you can really dive in and make some

24
00:01:31,370 --> 00:01:32,840
amazing things.

25
00:01:32,870 --> 00:01:36,860
And so what I recommend you do is you go to this view controller does SWIP do you see how things are

26
00:01:36,860 --> 00:01:42,710
starting where they're loading objects how they're showing things on the screen and go through all these

27
00:01:42,710 --> 00:01:44,890
classes and read the code and see what's going on.

28
00:01:44,900 --> 00:01:46,500
Even their virtual objects.

29
00:01:46,550 --> 00:01:51,650
OK they're learning things like we're doing all right with the scene files and stuff but they actually

30
00:01:51,650 --> 00:01:59,810
have these these classes and parent classes where they're basically adding more functionality like right

31
00:01:59,810 --> 00:02:04,580
here they're initializing it with a file extension a scene file a candle then it grabs it from the resources

32
00:02:04,970 --> 00:02:09,860
and the virtual object is the parent class that does a bunch of other things just go through all these

33
00:02:09,860 --> 00:02:14,000
classes look at what they're doing UI elements how they're showing things on the screen how they're

34
00:02:14,000 --> 00:02:18,140
showing that little red that little yellow square on the on the ground and how it kind of auto all lines

35
00:02:18,140 --> 00:02:21,260
and stuff they coated all that stuff and that's all here in this project.

36
00:02:21,350 --> 00:02:26,950
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,050 --> 00:02:32,850
focus square to gestures on the screen even to debug debugging on it.

38
00:02:32,900 --> 00:02:38,240
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,240 --> 00:02:39,920
going on so they even have a text manager.

40
00:02:39,920 --> 00:02:44,720
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,720 --> 00:02:49,130
showing the ground for instance and it can't reference a wall or something else it can't track.

42
00:02:49,370 --> 00:02:53,070
And so it actually posts a notification saying hey I can't track.

43
00:02:53,070 --> 00:02:56,570
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,570 --> 00:03:01,580
user saying you know tracking networking readjust your focus and you just send messages and they do

45
00:03:01,610 --> 00:03:03,390
all those things here.

46
00:03:03,410 --> 00:03:10,760
This is basically the perfect augmented reality app with Apple in order to build a very robust project

47
00:03:10,760 --> 00:03:14,420
with better tracking and handling every single case.

48
00:03:14,420 --> 00:03:16,820
So again I just wanted you to be aware of this project.

49
00:03:16,820 --> 00:03:18,430
It's how you're going to get to the next level.

50
00:03:18,470 --> 00:03:23,340
And they go really in-depth on how to work with Kit and into all the little features about it.

51
00:03:23,340 --> 00:03:25,170
So that's it for now.

52
00:03:25,310 --> 00:03:27,350
Happy journeys build some amazing things.

53
00:03:27,350 --> 00:03:29,200
Let me know how your app development is going.

54
00:03:29,200 --> 00:03:32,330
And if you build any cool arcade apps I'd love to know about it.

55
00:03:32,330 --> 00:03:32,720
That's it.

56
00:03:32,720 --> 00:03:35,150
Marc price at Devar slopes dot com.

57
00:03:35,150 --> 00:03:35,820
See you next time.
