Commit Graph

21 Commits

Author SHA1 Message Date
Arkadiusz Fal
ce7ba207ea Fix API availability issues for macOS 11.0 and tvOS 15.0
This commit resolves multiple build errors caused by using APIs that
require newer OS versions than the deployment targets (macOS 11.0 and
tvOS 15.0).

macOS fixes:
- Add missing init(frame:) initializer to PlayerLayerView
- Add availability checks for textSelection modifier (macOS 12.0+)
- Add availability checks for AttributedString (macOS 12.0+)
- Add availability checks for listStyle.inset(alternatesRowBackgrounds:) (macOS 12.0+)
- Add availability checks for focusScope modifier (macOS 12.0+)
- Correct listRowSeparator availability from macOS 12.0 to 13.0

tvOS fixes:
- Use older onChange(of:) signature compatible with tvOS 15.0
- Add availability check for Menu with primaryAction (tvOS 17.0+)

All changes include appropriate fallbacks for older OS versions to
maintain backward compatibility.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 18:53:06 +01:00
Arkadiusz Fal
be4e1adb9b Fix all SwiftLint violations across codebase
Resolves 130+ violations including deployment target checks, code style issues, and formatting inconsistencies. Adds SwiftLint disable comments for compiler-required availability checks while maintaining deployment target compliance.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 18:14:35 +01:00
Arkadiusz Fal
7741e531f4 Swiftformat fixes 2024-05-16 19:01:02 +02:00
Toni Förster
b04385ceae macOS: disable hit testing when not expanded
fixes overspilling of text when clicking on collapsed descriptions
2023-12-05 00:36:12 +01:00
Toni Förster
d384a4c520 iOS click on collapsed description text expands it 2023-11-26 15:42:47 +01:00
Toni Förster
ed5fa8e4aa no preview shows nothing now 2023-11-26 15:42:47 +01:00
Toni Förster
5d78946320 add stepper for previewed line (broken on macOS) 2023-11-26 15:42:47 +01:00
Toni Förster
a57645f824 make description collapsible 2023-11-26 15:42:46 +01:00
Toni Förster
5a5f5a8696 code formatting 2023-11-22 10:21:21 +01:00
Toni Förster
ed69780d52 removed superfluous braces 2023-11-21 01:13:01 +01:00
Toni Förster
691a3305e7 make links in description clickable
Adds clickable links to macOS. I it is a naive approach, but it works.

Probably closes #51
2023-11-21 00:58:40 +01:00
Arkadiusz Fal
94915b0496 Revert "Drop iOS 14 and macOS 11 support"
This reverts commit dcef7f47ff.
2023-10-15 13:35:23 +02:00
Arkadiusz Fal
dcef7f47ff Drop iOS 14 and macOS 11 support 2023-07-24 19:45:30 +02:00
Arkadiusz Fal
e827b97cd5 Fix lint issues 2023-07-24 19:45:30 +02:00
Arkadiusz Fal
6596a440a5 New chapters layout 2023-04-22 23:39:43 +02:00
Arkadiusz Fal
d52ccf2ce6 Add video description expanding 2023-04-22 23:39:43 +02:00
Arkadiusz Fal
af85c67163 Minor fixes 2023-02-05 14:24:14 +01:00
Arkadiusz Fal
0d333b5583 Replace environment objects with observed objects 2022-12-05 10:13:19 +01:00
Arkadiusz Fal
2dbc50dc71 Fix url parsing 2022-12-04 13:32:28 +01:00
Arkadiusz Fal
c31a5ee2e0 Fix redrawing video description 2022-12-04 13:32:28 +01:00
Arkadiusz Fal
4ee1383f3a New video details 2022-12-04 13:32:26 +01:00