ESPN's hidden API endpoints
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
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
| /* | |
| If you use Storyboard, don't forget to set UIlabel to PaddingLabel | |
| */ | |
| import UIKit | |
| class PaddingLabel: UILabel { | |
| var topInset: CGFloat | |
| var bottomInset: CGFloat |
| # addSubview | |
| UIView.transition(with: self.view, duration: 0.25, options: [.transitionCrossDissolve], animations: { | |
| self.view.addSubview(view) | |
| }, completion: nil) | |
| # removeFromSuperview | |
| UIView.transition(with: self.view, duration: 0.25, options: [.transitionCrossDissolve], animations: { | |
| subview.removeFromSuperview() | |
| }, completion: nil) |
Apple will reject apps that are using private url schemes (Ugh, Apple....) if they are pretty much obvius. Some apps are rejected and others are not, so, be aware of this issue before implementing any of those URL's in your app as a feature.