Explorar el Código

【综合】隐藏引导界面

wangshuai hace 3 meses
padre
commit
80790df479

+ 3 - 1
PDF Office/PDF Master/Class/AIInfo/AIUserInfoController/AIUserInfoController.swift

@@ -22,7 +22,7 @@ import Cocoa
     @IBOutlet weak var emptyTipButton: KMButton!
     @IBOutlet weak var emptyShowAIBtn: NSButton!
     
-    
+    @IBOutlet weak var newFuncBtn: NSButton!
     @IBOutlet weak var creditsContendBox: NSBox!
     @IBOutlet weak var creditsInfoBox: KMBox!
     @IBOutlet weak var validCreditLabel: NSTextField!
@@ -47,6 +47,8 @@ import Cocoa
         super.viewDidLoad()
         // Do view setup here.
         
+        newFuncBtn.isHidden = true
+        whatNewlabel.isHidden = true
         self.view.wantsLayer = true
         if KMAppearance.isDarkMode() {
             self.view.layer?.backgroundColor = NSColor(red: 43/255, green: 43/255, blue: 43/255, alpha: 1).cgColor

+ 5 - 4
PDF Office/PDF Master/Class/AIInfo/AIUserInfoController/AIUserInfoController.xib

@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="23504" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="23504"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
@@ -23,6 +23,7 @@
                 <outlet property="emptyShowAIBtn" destination="XLU-ab-HmG" id="nmr-Py-H1V"/>
                 <outlet property="emptyTipButton" destination="uJ1-HE-KIh" id="dbE-HW-Tvg"/>
                 <outlet property="emptyTitleLabel" destination="8m3-0H-Jn2" id="lad-b4-DEX"/>
+                <outlet property="newFuncBtn" destination="hPi-Ml-o9F" id="1hM-xY-tma"/>
                 <outlet property="remainLabel" destination="5Ie-gP-WAM" id="Rcu-Fs-KwZ"/>
                 <outlet property="showAIRobotBtn" destination="1oj-bO-SIV" id="nZg-bQ-PI7"/>
                 <outlet property="titleLabel" destination="xGE-Qj-Kve" id="JCg-2L-25z"/>
@@ -52,7 +53,7 @@
                                     <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                 </textFieldCell>
                             </textField>
-                            <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="dmF-GY-xqk">
+                            <textField hidden="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="dmF-GY-xqk">
                                 <rect key="frame" x="345" y="350" width="37" height="16"/>
                                 <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="ra3-eU-09w">
                                     <font key="font" usesAppearanceFont="YES"/>
@@ -60,7 +61,7 @@
                                     <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                 </textFieldCell>
                             </textField>
-                            <button translatesAutoresizingMaskIntoConstraints="NO" id="hPi-Ml-o9F">
+                            <button hidden="YES" translatesAutoresizingMaskIntoConstraints="NO" id="hPi-Ml-o9F">
                                 <rect key="frame" x="347" y="350" width="33" height="16"/>
                                 <buttonCell key="cell" type="bevel" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="bc1-Vk-eFj">
                                     <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>

+ 1 - 1
PDF Office/PDF Master/Class/Home/ViewController/KMHomeViewController.swift

@@ -182,7 +182,7 @@ import Cocoa
         
         NotificationCenter.default.addObserver(self, selector: #selector(importFromCamera), name: Notification.Name("kDeviceCameraMenuItemNotification"), object: nil)
         NotificationCenter.default.addObserver(self, selector: #selector(importFromScanner), name: Notification.Name("kDeviceScannerMenuItemNotification"), object: nil)
-        self.loadFunctionGuide()
+//        self.loadFunctionGuide()
         
     }