VLCDocumentClass.swift 696 B

12345678910111213141516171819202122
  1. /*****************************************************************************
  2. * VLCDocumentClass.swift
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2018 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Carola Nitz <nitz.carola # googlemail.com>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. import Foundation
  13. @objc(VLCDocumentClass)
  14. class DocumentClass: UIDocument {
  15. override func load(fromContents contents: Any, ofType typeName: String?) throws {
  16. //we should probably test the documenttype here
  17. }
  18. }