2016-05-27 02:21:04 +00:00
|
|
|
# iOS tutorials
|
2016-05-16 14:30:34 +00:00
|
|
|
|
2016-06-17 22:21:42 +00:00
|
|
|
## Welcome to the GStreamer iOS tutorials
|
2016-05-16 14:30:34 +00:00
|
|
|
|
2016-06-17 19:32:33 +00:00
|
|
|
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.
|
2016-05-16 14:30:34 +00:00
|
|
|
|
2016-06-17 19:32:33 +00:00
|
|
|
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).
|
2016-05-16 14:30:34 +00:00
|
|
|
|
2016-06-17 19:32:33 +00:00
|
|
|
Make sure to have read the instructions in
|
|
|
|
[](sdk-installing-for-ios-development.md) before jumping into the iOS
|
|
|
|
tutorials.
|
2016-05-16 14:30:34 +00:00
|
|
|
|
|
|
|
All iOS tutorials are split into the following classes:
|
|
|
|
|
2016-06-17 19:32:33 +00:00
|
|
|
- The `GStreamerBackend` class performs all GStreamer-related tasks
|
2016-05-16 14:30:34 +00:00
|
|
|
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
|
2016-06-17 19:32:33 +00:00
|
|
|
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
|
2016-05-16 14:30:34 +00:00
|
|
|
behalf.
|
2016-06-17 19:32:33 +00:00
|
|
|
- The `GStreamerBackendDelegate` protocol defines which methods a
|
2016-05-16 14:30:34 +00:00
|
|
|
class can implement in order to serve as a UI delegate for the
|
|
|
|
`GStreamerBackend`.
|