Skip to content

Commit

Permalink
Opened with Xcode 6.1 and updated for Yosemite
Browse files Browse the repository at this point in the history
  • Loading branch information
hjuutilainen committed Oct 19, 2014
1 parent ee56dd3 commit 62b3723
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion SUS Inspector/UI Controllers/SICatalogsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ - (void)updateSourceList
- (void)awakeFromNib
{
NSSortDescriptor *sortByIndex = [NSSortDescriptor sortDescriptorWithKey:@"sortIndex" ascending:YES selector:@selector(compare:)];
NSSortDescriptor *sortByOSVersion = [NSSortDescriptor sortDescriptorWithKey:@"catalogReference.catalogOSVersion" ascending:NO selector:@selector(compare:)];
NSSortDescriptor *sortByOSVersion = [NSSortDescriptor sortDescriptorWithKey:@"catalogReference.catalogOSVersion" ascending:NO selector:@selector(localizedStandardCompare:)];
NSSortDescriptor *sortByTitle = [NSSortDescriptor sortDescriptorWithKey:@"title" ascending:YES selector:@selector(localizedStandardCompare:)];
[self.sourceListTreeController setSortDescriptors:[NSArray arrayWithObjects:sortByIndex, sortByOSVersion, sortByTitle, nil]];

Expand Down
14 changes: 7 additions & 7 deletions SUS Inspector/UI Controllers/SIProductsViewController.xib
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="13D65" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="6250" systemVersion="14A389" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment defaultVersion="1080" identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5056"/>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="6250"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="SIProductsViewController">
Expand All @@ -18,7 +18,7 @@
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView id="1">
<rect key="frame" x="0.0" y="0.0" width="914" height="471"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
Expand All @@ -31,7 +31,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" autosaveColumns="NO" headerView="5" id="7" customClass="SITableView">
<rect key="frame" x="0.0" y="0.0" width="914" height="414"/>
<rect key="frame" x="0.0" y="0.0" width="914" height="19"/>
<autoresizingMask key="autoresizingMask"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
Expand Down Expand Up @@ -204,7 +204,7 @@
<rect key="frame" x="0.0" y="431" width="914" height="40"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<subviews>
<searchField verticalHuggingPriority="750" id="157">
<searchField wantsLayer="YES" verticalHuggingPriority="750" id="157">
<rect key="frame" x="744" y="10" width="150" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" placeholderString="Any" usesSingleLineMode="YES" bezelStyle="round" id="158">
Expand Down Expand Up @@ -249,7 +249,7 @@
</binding>
</connections>
</textField>
<textField verticalHuggingPriority="750" id="7W6-Ff-zNc">
<textField hidden="YES" verticalHuggingPriority="750" id="7W6-Ff-zNc">
<rect key="frame" x="18" y="13" width="204" height="14"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" title="Label" id="fPn-7i-nXf">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ - (void)windowDidLoad
[self.window center];

NSSortDescriptor *sortByTitle = [NSSortDescriptor sortDescriptorWithKey:@"catalogDisplayName" ascending:YES selector:@selector(compare:)];
NSSortDescriptor *sortByOSVersion = [NSSortDescriptor sortDescriptorWithKey:@"catalogOSVersion" ascending:NO selector:@selector(compare:)];
NSSortDescriptor *sortByOSVersion = [NSSortDescriptor sortDescriptorWithKey:@"catalogOSVersion" ascending:NO selector:@selector(localizedStandardCompare:)];
[self.catalogsArrayController setSortDescriptors:[NSArray arrayWithObjects:sortByOSVersion, sortByTitle, nil]];
}

Expand Down
8 changes: 8 additions & 0 deletions SUS Inspector/UserDefaults.plist
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
<string>http://swscan.apple.com</string>
<key>defaultCatalogs</key>
<array>
<dict>
<key>catalogOSVersion</key>
<string>10.10</string>
<key>catalogURL</key>
<string>http://swscan.apple.com/content/catalogs/others/index-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog</string>
<key>catalogDisplayName</key>
<string>Yosemite</string>
</dict>
<dict>
<key>catalogOSVersion</key>
<string>10.9</string>
Expand Down

0 comments on commit 62b3723

Please sign in to comment.