Skip to content

Commit

Permalink
Make a bunch of stuff private that should be private
Browse files Browse the repository at this point in the history
  • Loading branch information
NSExceptional committed Nov 19, 2021
1 parent 6066de4 commit ffa658c
Show file tree
Hide file tree
Showing 36 changed files with 24 additions and 48 deletions.
1 change: 0 additions & 1 deletion Classes/FLEX-Core.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@
#import <FLEXMultilineTableViewCell.h>
#import <FLEXKeyValueTableViewCell.h>

#import <FLEXScopeCarousel.h>
8 changes: 0 additions & 8 deletions Classes/FLEX-ObjectExploring.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,7 @@
#import <FLEXObjectExplorer.h>

#import <FLEXShortcut.h>
#import <FLEXShortcutsFactory+Defaults.h>
#import <FLEXShortcutsSection.h>
#import <FLEXBlockShortcuts.h>
#import <FLEXBundleShortcuts.h>
#import <FLEXClassShortcuts.h>
#import <FLEXImageShortcuts.h>
#import <FLEXLayerShortcuts.h>
#import <FLEXViewControllerShortcuts.h>
#import <FLEXViewShortcuts.h>

#import <FLEXCollectionContentSection.h>
#import <FLEXColorPreviewSection.h>
Expand Down
1 change: 0 additions & 1 deletion Classes/Headers/FLEXArgumentInputColorView.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXArgumentInputDateView.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXArgumentInputFontView.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXArgumentInputFontsPickerView.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXArgumentInputNotSupportedView.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXArgumentInputNumberView.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXArgumentInputObjectView.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXArgumentInputStringView.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXArgumentInputStructView.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXArgumentInputSwitchView.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXArgumentInputTextView.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXArgumentInputView.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXArgumentInputViewFactory.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXBlockShortcuts.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXBundleShortcuts.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXCarouselCell.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXClassShortcuts.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXDefaultEditorViewController.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXFieldEditorView.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXFieldEditorViewController.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXImageShortcuts.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXLayerShortcuts.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXMethodCallingViewController.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXNSDataShortcuts.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXNSStringShortcuts.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXScopeCarousel.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXShortcutsFactory+Defaults.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXUIAppShortcuts.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXVariableEditorViewController.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXViewControllerShortcuts.h

This file was deleted.

1 change: 0 additions & 1 deletion Classes/Headers/FLEXViewShortcuts.h

This file was deleted.

18 changes: 13 additions & 5 deletions FLEX.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,18 @@ Pod::Spec.new do |spec|
spec.requires_arc = true
spec.compiler_flags = "-Wno-unsupported-availability-guard"
spec.public_header_files = [ "Classes/*.h", "Classes/Manager/*.h", "Classes/Toolbar/*.h",
"Classes/GlobalStateExplorers/Globals/FLEXGlobalsEntry.h",
"Classes/Core/**/*.h", "Classes/Utility/Runtime/Objc/**/*.h",
"Classes/ObjectExplorers/**/*.h", "Classes/Editing/**/*.h",
"Classes/Utility/Categories/*.h", "Classes/Utility/FLEXAlert.h",
"Classes/Core/Controllers/*.h", "Classes/Core/Views/*.h",
"Classes/Core/Views/Cells/*.h", "Classes/Core/*.h",
"Classes/Utility/Categories/*.h",
"Classes/Utility/Runtime/Objc/**/*.h",
"Classes/ObjectExplorers/*.h",
"Classes/ObjectExplorers/Sections/*.h",

"Classes/Utility/FLEXMacros.h",
"Classes/Utility/FLEXResources.h" ]
"Classes/Utility/FLEXAlert.h",
"Classes/Utility/FLEXResources.h",
"Classes/ObjectExplorers/Sections/Shortcuts/FLEXShortcut.h",
"Classes/ObjectExplorers/Sections/Shortcuts/FLEXShortcutsSection.h",
"Classes/GlobalStateExplorers/Globals/FLEXGlobalsEntry.h"
]
end
3 changes: 3 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ extension Array where Element == CSetting {
return []
}

/// These are the header search paths needed for FLEX to compile, not
/// the headers used by projects linking against FLEX.
///
/// Do not modify the contents of this property by hand;
/// Instead, run `bash generate-spm-headers.sh | grep headerSearchPath | pbcopy`
/// and paste (and indent) the result below. Do this any time new folders are added.
Expand Down
11 changes: 8 additions & 3 deletions generate-spm-headers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,21 @@ generate_headers "" # Top-level headers
generate_headers "Manager"
generate_headers "Toolbar"
generate_headers "Utility/Categories"
generate_headers_recursive "Core"
generate_headers "Core"
generate_headers "Core/Controllers"
generate_headers "Core/Views"
generate_headers "Core/Views/Cells"
generate_headers "ObjectExplorers"
generate_headers "ObjectExplorers/Sections"
generate_headers_recursive "Utility/Runtime/Objc"
generate_headers_recursive "ObjectExplorers"
generate_headers_recursive "Editing"

# Include only headers in these specific folders,
# such as those with subfolders that should not be linked
makeheader "Classes/Utility/FLEXMacros.h"
makeheader "Classes/Utility/FLEXAlert.h"
makeheader "Classes/Utility/FLEXResources.h"
makeheader "Classes/ObjectExplorers/Sections/Shortcuts/FLEXShortcut.h"
makeheader "Classes/ObjectExplorers/Sections/Shortcuts/FLEXShortcutsSection.h"
makeheader "Classes/GlobalStateExplorers/Globals/FLEXGlobalsEntry.h"

# Print all folders in Classes for use in Package.swift
Expand Down

0 comments on commit ffa658c

Please sign in to comment.