SortOption.swift 686 B

12345678910111213141516171819202122
  1. /*****************************************************************************
  2. * SortOption.swift
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2018 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Carola Nitz <nitz.carola # gmail.com>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. public enum SortOption: String {
  13. case alphabetically = "Name"
  14. case insertonDate = "Date"
  15. case size = "Size"
  16. var localizedDescription: String {
  17. return NSLocalizedString(self.rawValue, comment: "")
  18. }
  19. }