Skip to content

Commit

Permalink
Enable hardened runtime, begin preparing for v0.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-taffe committed Nov 28, 2018
1 parent c77acb0 commit f62f8e6
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 11 deletions.
5 changes: 5 additions & 0 deletions BetteReddit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@
FA8F394920BB759C007CAC55 = {
CreatedOnToolsVersion = 9.3.1;
SystemCapabilities = {
com.apple.HardenedRuntime = {
enabled = 1;
};
com.apple.Sandbox = {
enabled = 1;
};
Expand Down Expand Up @@ -684,6 +687,7 @@
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = S4JEZRL8YY;
ENABLE_HARDENED_RUNTIME = YES;
GCC_PREFIX_HEADER = BetteReddit/PrefixHeader.pch;
INFOPLIST_FILE = BetteReddit/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand All @@ -707,6 +711,7 @@
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = S4JEZRL8YY;
ENABLE_HARDENED_RUNTIME = YES;
GCC_PREFIX_HEADER = BetteReddit/PrefixHeader.pch;
INFOPLIST_FILE = BetteReddit/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand Down
22 changes: 11 additions & 11 deletions BetteReddit/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2018 Alex Taffe. All rights reserved.</string>
<key>NSMainStoryboardFile</key>
<string>Main</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<string>0.1</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
Expand All @@ -39,5 +29,15 @@
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2018 Alex Taffe. All rights reserved.</string>
<key>NSMainStoryboardFile</key>
<string>Main</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
92 changes: 92 additions & 0 deletions BetteReddit/Preferences.storyboard
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="Qhg-3F-bbE">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14460.31"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Window Controller-->
<scene sceneID="QfP-h9-I1J">
<objects>
<windowController showSeguePresentationStyle="single" id="Qhg-3F-bbE" sceneMemberID="viewController">
<window key="window" title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" frameAutosaveName="" animationBehavior="default" id="ufN-3T-03W">
<windowStyleMask key="styleMask" titled="YES" closable="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="425" y="461" width="480" height="270"/>
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1417"/>
<connections>
<outlet property="delegate" destination="Qhg-3F-bbE" id="we3-Kf-eGZ"/>
</connections>
</window>
<connections>
<segue destination="Ms3-0j-EDu" kind="relationship" relationship="window.shadowedContentViewController" id="Waa-X7-Yb6"/>
</connections>
</windowController>
<customObject id="gum-CD-UQi" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-748" y="-350"/>
</scene>
<!--Tab View Controller-->
<scene sceneID="FlM-60-IP5">
<objects>
<tabViewController tabStyle="toolbar" id="Ms3-0j-EDu" sceneMemberID="viewController">
<tabViewItems>
<tabViewItem identifier="" id="4t8-Sb-FZJ"/>
<tabViewItem identifier="" id="oLa-rF-ll3"/>
</tabViewItems>
<tabView key="tabView" type="noTabsNoBorder" id="VsS-fd-FjB">
<rect key="frame" x="0.0" y="0.0" width="450" height="300"/>
<autoresizingMask key="autoresizingMask"/>
<font key="font" metaFont="message"/>
<connections>
<outlet property="delegate" destination="Ms3-0j-EDu" id="an4-ov-aBs"/>
</connections>
</tabView>
<connections>
<outlet property="tabView" destination="VsS-fd-FjB" id="XNJ-Z6-LJB"/>
<segue destination="ZGJ-l5-gL6" kind="relationship" relationship="tabItems" id="wEf-Ol-JV6"/>
<segue destination="T50-eE-KEd" kind="relationship" relationship="tabItems" id="ysl-FS-LuD"/>
</connections>
</tabViewController>
<customObject id="KxV-iN-kFh" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-164" y="-319"/>
</scene>
<!--View Controller-->
<scene sceneID="kmS-dH-IWo">
<objects>
<viewController id="ZGJ-l5-gL6" sceneMemberID="viewController">
<view key="view" id="wmg-73-cHJ">
<rect key="frame" x="0.0" y="0.0" width="450" height="300"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="On0-Fo-Jfp">
<rect key="frame" x="124" y="134" width="61" height="18"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="check" title="Check" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="cJy-nE-3Jl">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
</subviews>
</view>
</viewController>
<customObject id="mGO-nI-ypL" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="506" y="-505"/>
</scene>
<!--View Controller-->
<scene sceneID="uBW-k3-Qr5">
<objects>
<viewController id="T50-eE-KEd" sceneMemberID="viewController">
<view key="view" id="iO3-Bm-vBp">
<rect key="frame" x="0.0" y="0.0" width="450" height="300"/>
<autoresizingMask key="autoresizingMask"/>
</view>
</viewController>
<customObject id="4cq-Bq-npB" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="506" y="-133"/>
</scene>
</scenes>
</document>

0 comments on commit f62f8e6

Please sign in to comment.