First stab at a new 'Subscribe to Feed' Safari App Extension.

This commit is contained in:
Daniel Jalkut
2018-06-19 13:18:36 -04:00
parent 06b4c451a6
commit 3cb6ee35ab
9 changed files with 505 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
//
// SafariExtensionViewController.swift
// Subscribe to Feed
//
// Created by Daniel Jalkut on 6/11/18.
// Copyright © 2018 Ranchero Software. All rights reserved.
//
import SafariServices
class SafariExtensionViewController: SFSafariExtensionViewController {
// This would be the place to handle a popover that could, for example, list the possibly multiple feeds offered by a site.
static let shared: SafariExtensionViewController = {
let shared = SafariExtensionViewController()
shared.preferredContentSize = NSSize(width:320, height:240)
return shared
}()
}