Git Product home page Git Product logo

otio-swift-example's Introduction

OpenTimelineIO Swift Example

This repository serves as a minimal example of using OpenTimelineIO in a Swift application.

Allowable use of the code in this repository includes copying and pasting portions into your own projects without attribution.

Getting started

To get started, use git to clone this repository:

git clone https://github.com/OpenTimelineIO/otio-swift-example.git

...then open the otio-swift-example.xcodeproj in Xcode, and press Run.

Please also consult with the OpenTimelineIO documentation for more information about OpenTimelineIO in general.

Good luck and happy coding!

Contributions

If you have any suggested changes to the template repository itself, please provide them via pull request or create an issue as appropriate.

All contributions back to the template repository must align with the contribution guidelines of the OpenTimelineIO project.

otio-swift-example's People

Contributors

camkerr avatar jminor avatar meshula avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

camkerr

otio-swift-example's Issues

README Title Typo

Looks like a typo leftover from the C++ README.md file, the title should say Swift.

Line 1: # OpenTimelineIO C++ Example

std::move error when building

Just did a fresh clone to try and build the example, but get errors around std::move:

In file included from /Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/OpenTimelineIO/typeRegistry.cpp:1:
In file included from /Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/opentimelineio/typeRegistry.h:3:
In file included from /Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/opentimelineio/any.h:3:
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:117:18: error: no member named 'move' in namespace 'std'
any(std::move(rhs)).swap(*this);
~~~~~^
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:163:26: error: no type named 'move' in namespace 'std'
any tmp(std::move(rhs));
~~~~~^
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:163:20: warning: parentheses were disambiguated as a function declaration [-Wvexing-parse]
any tmp(std::move(rhs));
^~~~~~~~~~~~~~~~
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:163:21: note: add a pair of parentheses to declare a variable
any tmp(std::move(rhs));
^
(
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:285:33: error: no member named 'move' in namespace 'std'; did you mean simply 'move'?
new (&dest.stack) T(std::move(reinterpret_cast<T&>(src.stack)));
^~~~~~~~~
move
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:281:21: note: 'move' declared here
static void move(storage_union& src, storage_union& dest) noexcept
^
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:410:21: error: no member named 'move' in namespace 'std'
return std::move(*p);
~~~~~^
1 warning and 4 errors generated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.