-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-structured docs for docc combined documentation
- Loading branch information
Showing
37 changed files
with
226 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# ``TimecodeKit`` | ||
|
||
Value types, AV methods and UI components for representing and working with SMPTE/EBU timecode. | ||
|
||
![TimecodeKit](timecodekit-banner.png) | ||
|
||
For core types, math, and conversions see **TimecodeKitCore** documentation. | ||
|
||
For AVFoundation methods, see **TimecodeKitAV** documentation. | ||
|
||
For UI components, see **TimecodeKitUI** documentation. | ||
|
||
## Topics | ||
|
||
### Welcome | ||
|
||
- <doc:Getting-Started> | ||
- <doc:TimecodeKit-2-Migration-Guide> | ||
|
||
### Modules | ||
|
||
- <doc:TimecodeKikCore> | ||
- <doc:TimecodeKikCoreAV> | ||
- <doc:TimecodeKikCoreUI> | ||
|
||
### Formats Addendum | ||
|
||
- <doc:LTC-Linear-Timecode> | ||
- <doc:MTC-MIDI-Timecode> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.8 KB
Sources/TimecodeKit/Documentation.docc/Resources/timecodekit-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# ``TimecodeKitAV`` | ||
|
||
AVFoundation methods for reading and writing timecode tracks to movie files. | ||
|
||
![TimecodeKit](timecodekit-banner.png) | ||
|
||
|
||
## Topics | ||
|
||
### AVAsset | ||
|
||
- <doc:AVAsset-Timecode-Track> | ||
|
||
### VideoFrameRate Initializers | ||
|
||
- ``TimecodeKitCore/VideoFrameRate/init(asset:interlaced:)`` |
Binary file added
BIN
+397 KB
Sources/TimecodeKitAV/Documentation.docc/Resources/app-target-exported-types.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.8 KB
Sources/TimecodeKitAV/Documentation.docc/Resources/timecodekit-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions
18
Sources/TimecodeKitAV/Timecode Extensions/Errors/Timecode Errors.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// Timecode Errors.swift | ||
// TimecodeKit • https://github.com/orchetect/TimecodeKit | ||
// © 2020-2024 Steffan Andrews • Licensed under MIT License | ||
// | ||
|
||
extension Timecode { | ||
public enum MediaParseError: Error { | ||
case missingOrNonStandardFrameRate | ||
case unknownTimecode | ||
case internalError | ||
case noData | ||
} | ||
|
||
public enum MediaWriteError: Error { | ||
case internalError | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ | |
|
||
// Welcome to TimecodeKit :) | ||
|
||
@_documentation(visibility: internal) | ||
@_exported import TimecodeKitCore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.