summaryrefslogtreecommitdiffstats
path: root/osdep/macOS_swift_extensions.swift
Commit message (Collapse)AuthorAgeFilesLines
* cocoa-cb: remove get_property_* usages and split up mpv helperder richter2019-10-061-75/+0
| | | | | | | | | | all the get_property_* usages were removed because in some circumstances they can lead to deadlocks. they were replaced by accessing the vo and mp_vo_opts structs directly, like on other vos. additionally the mpv helper was split into a mpv and libmpv helper, to differentiate between private and public APIs and for future changes like a macOS vulkan context for vo=gpu.
* cocoa-cb: migrate to swift 5 with swift 4 fallbackder richter2019-07-211-1/+5
| | | | | | | | | | | | | this migrates our current swift code to version 5 and 4. building is support from 10.12.6 and xcode 9.1 onwards. dynamic linking is the new default, since Apple removed static libs from their new toolchains and it's the recommended way. additionally the found macOS SDK version is printed since it's an important information for finding possible errors now. Fixes #6470
* cocoa-cb: remove all force unwrappings of optionalsder richter2019-04-251-8/+8
| | | | | | the force unwrapping of optionals caused many unpredictable segfaults instead of gracefully exiting or falling back. besides that, it is bad practice and the code is a lot more stable now.
* cocoa-cb: add support for custom colored title barder richter2019-04-021-0/+13
|
* cocoa-cb: add support for VOCTRL_GET_DISPLAY_NAMESAkemi2019-02-101-0/+30
|
* cocoa-cb: use Swift Extensions for convenienceAkemi2019-02-101-0/+28
preparations for the following commit.