Skip to content

Commit

Permalink
#44 파일이름으로 정렬 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
susemi99 committed Mar 8, 2019
1 parent f0f7ad3 commit b980128
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GPXTracker/GPXTracker/FileController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class FileController {
let temporaryDirectory = NSURL.fileURL(withPath: NSTemporaryDirectory(), isDirectory: true)
result.append(contentsOf: addFilesInDirectory(path: temporaryDirectory))

return result
return result.sorted {$0.name.lowercased() < $1.name.lowercased()}
}

static func addFilesInDirectory(path: URL) -> [GTFile] {
Expand Down
4 changes: 2 additions & 2 deletions GPXTracker/GPXTracker/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.2</string>
<string>3.3</string>
<key>CFBundleVersion</key>
<string>3.2</string>
<string>3.3</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
Expand Down

0 comments on commit b980128

Please sign in to comment.