summaryrefslogtreecommitdiff
path: root/sdk-ios-tutorials.md
blob: 96aa35c5b09270e9c12c0d3c60a11fe4720f6250 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# iOS tutorials

## Welcome to the GStreamer iOS tutorials

These tutorials describe iOS-specific topics. General GStreamer
concepts will not be explained in these tutorials, so the
[](sdk-basic-tutorials.md) should be reviewed first. The reader should
also be familiar with basic iOS programming techniques.

The iOS tutorials have the same structure as the
[](sdk-android-tutorials.md): Each one builds on top of the previous
one and adds progressively more functionality, until a working media
player application is obtained in
[](sdk-ios-tutorial-a-complete-media-player.md).

Make sure to have read the instructions in
[](sdk-installing-for-ios-development.md) before jumping into the iOS
tutorials.

All iOS tutorials are split into the following classes:

  - The `GStreamerBackend` class performs all GStreamer-related tasks
    and offers a simplified interface to the application, which does not
    need to deal with all the GStreamer details. When it needs to
    perform any UI action, it does so through a delegate, which is
    expected to adhere to the `GStreamerBackendDelegate` protocol.
  - The `ViewController` class manages the UI, instantiates the
    `GStreamerBackend` and also performs some UI-related tasks on its
    behalf.
  - The `GStreamerBackendDelegate` protocol defines which methods a
    class can implement in order to serve as a UI delegate for the
    `GStreamerBackend`.