We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f07da82 + 17a8c73 commit a4c8e92Copy full SHA for a4c8e92
README.md
@@ -62,7 +62,7 @@ import LicensesViewController
62
// ...
63
64
let licensesController = LicensesViewController()
65
-licensesController.loadPlist(NSBundle.mainBundle(), resourceName: "Credits")
+licensesController.loadPlist(Bundle.main, resourceName: "Credits")
66
67
68
```
credits.py
@@ -93,6 +93,8 @@ def plist_from_dir(directory, excludes):
93
for plist_path in plist_paths:
94
license_dict = plist_from_file(plist_path)
95
plist['PreferenceSpecifiers'].append(license_dict)
96
+
97
+ plist['PreferenceSpecifiers'] = sorted(plist['PreferenceSpecifiers'], key=lambda x: x['Title'])
98
return plist
99
100
0 commit comments