- Open with text editor
/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/IDETextKeyBindingSet.plist
| // | |
| // AppleTVRemoteNative.swift | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
| // of the Software, and to permit persons to whom the Software is furnished to do so, | |
| // subject to the following conditions: | |
| // |
| // | |
| // Feel free to use this code in your project. | |
| // Inspired by SO answer https://stackoverflow.com/a/65743126 | |
| // Uses DeviceKit as a dependency https://github.com/devicekit/DeviceKit | |
| // | |
| import Foundation | |
| import MessageUI | |
| import DeviceKit |
| #!/bin/sh | |
| # make sure you have imagemagick installed: brew install imagemagick | |
| # your app_icons.sh file should have the correct permissions: run `chmod 775 app_icons.sh` in your terminal from where you put this file | |
| # put your `my_icon.png` next to this file and run ./app_icons.sh to export your app icons | |
| x=my_icon.png | |
| y=${x%.*} | |
| # delete the export directory so we start clean |
| #!/bin/bash | |
| # | |
| # Script to bump the build number and optionally the marketing version found | |
| # in *.info files. | |
| # | |
| # Usage: bump-version.sh [ARG] | |
| # | |
| # Without ARG, just increment the build number. When ARG is present, it indicates | |
| # which part of the marketing version to increment: | |
| # |
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
| import Foundation | |
| extension Date { | |
| func toString(format: String = "yyyy-MM-dd") -> String { | |
| let formatter = DateFormatter() | |
| formatter.dateStyle = .short | |
| formatter.dateFormat = format | |
| return formatter.string(from: self) | |
| } |