Skip to content

Commit

Permalink
Merge pull request #88 from jwplayer/develop
Browse files Browse the repository at this point in the history
DOCS-368 update ios migration doc
  • Loading branch information
kcorneli201 authored Sep 5, 2019
2 parents 9f52e0e + 6878a5b commit 6fc366b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions ios-3.x.x/docs/migration/v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

<img src="https://img.shields.io/badge/SDK-iOS%20v3-0AAC29.svg?logo=apple">

Last Updated: September 5, 2019

!!!
As of 3.6.0: Annotated Objective-C headers to be Swift friendly. This may require code changes for previous Swift implementations.
!!!

This Migration Guide will walk you through all major changes from the 2.x versions of the JW Player iOS SDK.

## License Key & Download
Expand All @@ -17,7 +23,7 @@ The 3.x release of the JW Player iOS SDK contains some API changes, most importa
* The player states are now represented with the `JWPlayerState` enum instead of strings.
* The `adConfig` property of the `JWConfig` has been renamed to `advertising` for consistency across all JW Player platforms.
* The `JWConfig`'s adSchedule property has been replaced with a `schedule` property in the config's `advertising` property.
* Skin customization is now handled with `JWSkinStyling` instead of the JWConfig's `premiumSkin` and `cssSkin` properties. See [Skinning section](../customization/building-skins.md) for more information.
* Skin customization is now handled with `JWSkinStyling` instead of the JWConfig's `premiumSkin` and `cssSkin` properties. See [Branding section](doc:ios-branding) for more information.

## API Changes
### Added API
Expand Down Expand Up @@ -78,7 +84,6 @@ The 3.x release of the JW Player iOS SDK contains some API changes, most importa
|:------------------------------------------|:----------------------------------------|:------------------------------------------------|
| `load:(NSString *)file` | `loadFeed:(NSString *)feedUrl` | |
| `loadPlaylist:(NSArray *)playlist` | `load:(NSArray <JWPlaylistItem *> *)playlist` | |
| `seek:(NSInteger)position` | `seek:(NSUInteger)position` | Changed parameter type. |


#### Name Changes
Expand All @@ -93,14 +98,12 @@ The 3.x release of the JW Player iOS SDK contains some API changes, most importa
| `fontColor` | `color` | |
| `imaSettings` | `googimaSettings` | |
| `isInFullscreen` | `fullscreen` | |
| `JWAdConfig` | `JWAdvertising` | Changed class name. |
| `levels` | `qualityLevels` | |
| `BOOL nonlinear` | `JWAdType type` | Changed property name and type. |
| `NSNumber *playbackPosition` | `CGFloat position` | Changed property name and type. |
| `playerState` | `state` | |
| `relatedConfig` | `related` | |
| `stretch` | `stretching` | |
|

#### Type Changes
| Name |2.x | 3.x | Notes |
Expand Down Expand Up @@ -171,4 +174,4 @@ All callbacks now use the form `onCallbackName:(JWEvent *)event`.
| `JWStretchNone` (JWStretching) | `JWStretchingNone` |
| `vastPlugin` (JWAdClient) | `JWAdClientVast` |
| `googIMA` (JWAdClient) | `JWAdClientGoogima` |
| `freewheel` (JWAdClient) | `JWAdClientFreewheel` |
| `freewheel` (JWAdClient) | `JWAdClientFreewheel` |

0 comments on commit 6fc366b

Please sign in to comment.