Files
gstreamer/subprojects/gst-docs/examples/tutorials/xcode iOS/Tutorial 1/ViewController.m
T
Akkariin Meiko 27c4ec74a1 Update
2022-03-12 03:16:09 +08:00

30 lines
593 B
Objective-C

#import "ViewController.h"
#import "GStreamerBackend.h"
@interface ViewController () {
GStreamerBackend *gst_backend;
}
@end
@implementation ViewController
@synthesize label;
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
gst_backend = [[GStreamerBackend alloc] init];
label.text = [NSString stringWithFormat:@"Welcome to %@!", [gst_backend getGStreamerVersion]];
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end