Change Cocoa imports to AppKit imports, because we don’t need CoreData imported (which Cocoa imports).

This commit is contained in:
Brent Simmons 2018-02-02 22:51:32 -08:00
parent 07052c565c
commit 50dcf436d9
77 changed files with 79 additions and 77 deletions

View File

@ -6,7 +6,7 @@
// Copyright © 2018 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
// Unlike UndoableCommand commands, you instantiate one of each of these and reuse them.

View File

@ -6,7 +6,7 @@
// Copyright © 2018 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import RSCore
import Data

View File

@ -6,7 +6,7 @@
// Copyright © 2018 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import Data
import RSCore

View File

@ -6,7 +6,7 @@
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
import DB5
import Data
import RSTextDrawing

View File

@ -6,7 +6,7 @@
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
import Data
extension Notification.Name {

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
protocol SmallIconProvider {

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
class DinosaursWindowController: NSWindowController {

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
@objc final class FeedListControlsView: NSView {

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
class FeedListSplitViewController: NSSplitViewController {

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import RSTree
import RSCore

View File

@ -6,7 +6,7 @@
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
class FeedListWindowController : NSWindowController {

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import Data
extension Notification.Name {

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import Data
import RSParser

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import Data
import RSWeb
import RSParser

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
import RSCore
import RSTree
import Data

View File

@ -6,7 +6,7 @@
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
import RSCore
import RSTree
import Data

View File

@ -6,7 +6,7 @@
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
import Data
import Account

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import DB5
import Data

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import RSCore
final class MainWindowKeyboardHandler: KeyboardDelegate {

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
let keypadEnter: unichar = 3

View File

@ -6,7 +6,7 @@
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
import Data
import Account

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
class MainWindowSplitView: NSSplitView {

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import DB5
struct SidebarCellAppearance: Equatable {

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import RSCore
// image - title - unreadCount

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import Data
@objc final class FeedPasteboardWriter: NSObject, NSPasteboardWriting {

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import RSCore
@objc final class SidebarKeyboardDelegate: NSObject, KeyboardDelegate {

View File

@ -6,4 +6,6 @@
// Copyright © 2018 Ranchero Software. All rights reserved.
//
import Foundation
import AppKit

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
import RSCore
import Data
import RSWeb

View File

@ -7,7 +7,7 @@
//
import Foundation
import Cocoa
import AppKit
private let padding = appDelegate.currentTheme.edgeInsets(forKey: "MainWindow.SourceList.unreadCount.padding")
private let cornerRadius = appDelegate.currentTheme.float(forKey: "MainWindow.SourceList.unreadCount.cornerRadius")

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import Data
@objc final class ArticlePasteboardWriter: NSObject, NSPasteboardWriting {

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
import DB5
struct TimelineCellAppearance: Equatable {

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
import Data
var attributedTitleCache = [String: NSAttributedString]()

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
import RSTextDrawing
import RSCore

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
class UnreadIndicatorView: NSView {

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
import RSCore
// Doesnt have any shortcuts of its own  theyre all in MainWindowKeyboardHandler.

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software. All rights reserved.
//
import Cocoa
import AppKit
final class TimelineHeaderView: NSView {

View File

@ -6,7 +6,7 @@
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
class TimelineTableRowView : NSTableRowView {

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
class TimelineTableView: NSTableView {

View File

@ -6,7 +6,7 @@
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
private struct PreferencesToolbarItemSpec {

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
func runIndeterminateProgressWithMessage(_ message: String) {

View File

@ -6,7 +6,7 @@
// Copyright © 2018 Olof Hellman. All rights reserved.
//
import Cocoa
import AppKit
import Account
import Data

View File

@ -6,7 +6,7 @@
// Copyright © 2018 Olof Hellman. All rights reserved.
//
import Cocoa
import AppKit
import Account
import Data

View File

@ -6,7 +6,7 @@
// Copyright © 2018 Olof Hellman. All rights reserved.
//
import Cocoa
import AppKit
protocol ScriptingObjectContainer: ScriptingObject {
var scriptingClassDescription:NSScriptClassDescription { get }

View File

@ -6,7 +6,7 @@
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@import AppKit;
//! Project version number for DB5.
FOUNDATION_EXPORT double DB5VersionNumber;

View File

@ -6,7 +6,7 @@
// Copyright (c) 2012 Q Branch LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
NS_ASSUME_NONNULL_BEGIN

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
public class LogWindowController: NSWindowController {

View File

@ -6,7 +6,7 @@
// Copyright © 2018 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
NS_ASSUME_NONNULL_BEGIN

View File

@ -6,7 +6,7 @@
// Copyright © 2018 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
// This is for sending articles to MarsEdit and other apps that implement the send-to-blog-editor Apple events API:
// http://ranchero.com/netnewswire/developers/externalinterface

View File

@ -6,7 +6,7 @@
// Copyright © 2018 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
// Represents an app (the type of app mostly found in /Applications.)
// The app may or may not be running. It may or may not exist.

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
import WebKit
public final class WebViewWindowController: NSWindowController {

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
public extension NSImage {

View File

@ -6,7 +6,7 @@
// Copyright © 2017 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
// To get, for instance, the keyboard integer value for "\r": "\r".keyboardIntegerValue (returns 13)

View File

@ -11,7 +11,7 @@
#if TARGET_OS_IPHONE
@import UIKit;
#else
@import Cocoa;
@import AppKit;
#endif
@implementation NSCalendar (RSCore)

View File

@ -6,7 +6,7 @@
// Copyright (c) 2015 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
@interface NSColor (RSCore)

View File

@ -6,7 +6,7 @@
// Copyright (c) 2015 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
#import "RSBlocks.h"

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
public extension NSOutlineView {

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
public extension NSResponder {

View File

@ -6,7 +6,7 @@
// Copyright © 2015 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
@interface NSStoryboard (RSCore)

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
public extension NSTableView {

View File

@ -6,7 +6,7 @@
// Copyright (c) 2015 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
@interface NSTableView (RSCore)

View File

@ -6,7 +6,7 @@
// Copyright (c) 2015 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
@interface NSView (RSCore)

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
public extension NSWindow {

View File

@ -6,7 +6,7 @@
// Copyright (c) 2015 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
IB_DESIGNABLE

View File

@ -6,7 +6,7 @@
// Copyright (c) 2015 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
#import <RSCore/RSBackgroundColorView.h>

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
public class RSToolbarItem: NSToolbarItem {

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
/*This view has one subview, which it resizes to fit the bounds of this view.*/

View File

@ -6,7 +6,7 @@
// Copyright (c) 2015 Ranchero Software, LLC. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <AppKit/AppKit.h>
#import <XCTest/XCTest.h>
@interface RSCoreTests : XCTestCase

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <AppKit/AppKit.h>
//! Project version number for RSFeedFinder.
FOUNDATION_EXPORT double RSFeedFinderVersionNumber;

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
#import <RSTextDrawing/RSTextRendererProtocol.h>
NS_ASSUME_NONNULL_BEGIN

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
NS_ASSUME_NONNULL_BEGIN

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
#import <RSTextDrawing/RSTextRendererProtocol.h>
NS_ASSUME_NONNULL_BEGIN

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
NS_ASSUME_NONNULL_BEGIN

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
#import <RSTextDrawing/RSSingleLineView.h>
#import <RSTextDrawing/RSMultiLineView.h>

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
@import Cocoa;
@import AppKit;
@protocol RSTextRenderer <NSObject>

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
public extension NSOutlineView {

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <AppKit/AppKit.h>
//! Project version number for RSTree.
FOUNDATION_EXPORT double RSTreeVersionNumber;

View File

@ -6,7 +6,7 @@
// Copyright © 2016 Ranchero Software, LLC. All rights reserved.
//
import Cocoa
import AppKit
public class MacWebBrowser {