96c8b2924513e9032fb1c77965fc02b187f20fee
[platform/upstream/gstreamer.git] / tutorials / xcode iOS / Tutorial 1 / ViewController.m
1 #import "ViewController.h"
2 #import "GStreamerBackend.h"
3
4 @interface ViewController () {
5     GStreamerBackend *gst_backend;
6 }
7
8 @end
9
10 @implementation ViewController
11
12 @synthesize label;
13
14 - (void)viewDidLoad
15 {
16     [super viewDidLoad];
17         // Do any additional setup after loading the view, typically from a nib.
18     gst_backend = [[GStreamerBackend alloc] init];
19     
20     label.text = [NSString stringWithFormat:@"Welcome to %@!", [gst_backend getGStreamerVersion]];
21 }
22
23 - (void)didReceiveMemoryWarning
24 {
25     [super didReceiveMemoryWarning];
26     // Dispose of any resources that can be recreated.
27 }
28
29 @end