Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
Added parser for all Types
Browse files Browse the repository at this point in the history
Read all inner types
Updated GUI
  • Loading branch information
ikorich committed Dec 22, 2014
1 parent fc83631 commit 3b9a76f
Show file tree
Hide file tree
Showing 13 changed files with 375 additions and 126 deletions.
38 changes: 31 additions & 7 deletions Resources/Base.lproj/MainMenu.xib
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="6254" systemVersion="14B25" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="6254"/>
</dependencies>
<objects>
Expand All @@ -16,6 +17,7 @@
<outlet property="collectionView" destination="Biv-Hp-2We" id="hgt-C5-ARe"/>
<outlet property="exportPath" destination="zYP-It-bHI" id="gM0-Zc-QFV"/>
<outlet property="spinerView" destination="WWy-px-EHy" id="NSC-zY-yfO"/>
<outlet property="typesBox" destination="meb-rf-rRg" id="Yjb-iX-1Id"/>
<outlet property="window" destination="QvC-M9-y7g" id="mKP-zD-IdU"/>
</connections>
</customObject>
Expand Down Expand Up @@ -666,14 +668,15 @@
</menu>
<window title="iResource" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="QvC-M9-y7g">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
<rect key="contentRect" x="335" y="390" width="649" height="550"/>
<rect key="contentRect" x="335" y="390" width="650" height="550"/>
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1058"/>
<value key="minSize" type="size" width="320" height="240"/>
<view key="contentView" id="EiT-Mj-1SZ">
<rect key="frame" x="0.0" y="-5" width="649" height="550"/>
<rect key="frame" x="0.0" y="0.0" width="650" height="550"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<scrollView autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="86M-EY-7Zg">
<rect key="frame" x="20" y="61" width="609" height="469"/>
<rect key="frame" x="20" y="61" width="610" height="441"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<clipView key="contentView" id="VqR-zJ-nhk">
<rect key="frame" x="1" y="1" width="438" height="318"/>
Expand All @@ -699,7 +702,7 @@
</scroller>
</scrollView>
<button verticalHuggingPriority="750" id="z1v-QW-x0W">
<rect key="frame" x="535" y="13" width="100" height="32"/>
<rect key="frame" x="536" y="13" width="100" height="32"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
<buttonCell key="cell" type="push" title="Export All" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="uvh-ar-Znn">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
Expand All @@ -710,8 +713,8 @@
</connections>
</button>
<textField verticalHuggingPriority="750" id="zYP-It-bHI">
<rect key="frame" x="20" y="19" width="513" height="22"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<rect key="frame" x="20" y="19" width="514" height="22"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="J0r-B4-RGE">
<font key="font" metaFont="system"/>
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
Expand All @@ -725,9 +728,30 @@
<rect key="frame" x="308" y="279" width="32" height="32"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
</progressIndicator>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="wtt-My-F1h">
<rect key="frame" x="18" y="511" width="44" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Types:" id="HwV-iA-y5E">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<comboBox verticalHuggingPriority="750" id="meb-rf-rRg">
<rect key="frame" x="68" y="506" width="123" height="26"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" allowsUndo="NO" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" completes="NO" numberOfVisibleItems="5" id="sI0-FR-m4t">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</comboBoxCell>
<connections>
<outlet property="delegate" destination="Voe-Tx-rLC" id="Mj5-ag-N9w"/>
</connections>
</comboBox>
</subviews>
</view>
<point key="canvasLocation" x="488.5" y="335"/>
<point key="canvasLocation" x="488" y="335"/>
</window>
<collectionViewItem id="98m-3m-C57" customClass="ResourceCollectionItem">
<connections>
Expand Down
Binary file modified Resources/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 30 additions & 14 deletions iResource.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@
A59625CE1A45F4250056303D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = A59625CD1A45F4250056303D /* AppDelegate.m */; };
A59625D01A45F4250056303D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = A59625CF1A45F4250056303D /* main.m */; };
A59625E41A45F4250056303D /* iResourceTests.m in Sources */ = {isa = PBXBuildFile; fileRef = A59625E31A45F4250056303D /* iResourceTests.m */; };
A59625F71A45FE8E0056303D /* ResourceEntities.m in Sources */ = {isa = PBXBuildFile; fileRef = A59625F41A45FE8E0056303D /* ResourceEntities.m */; };
A59625F81A45FE8E0056303D /* ResourceCollectionItemView.m in Sources */ = {isa = PBXBuildFile; fileRef = A59625F61A45FE8E0056303D /* ResourceCollectionItemView.m */; };
A59626021A460BDB0056303D /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = A59625FA1A460BDB0056303D /* MainMenu.xib */; };
A59626031A460BDB0056303D /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = A59625FD1A460BDB0056303D /* Credits.rtf */; };
A59626041A460BDB0056303D /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = A59625FF1A460BDB0056303D /* InfoPlist.strings */; };
A59626051A460BDB0056303D /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A59626011A460BDB0056303D /* Images.xcassets */; };
A59626101A4610570056303D /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A596260D1A4610570056303D /* Cocoa.framework */; };
A5B600351A48134800039CDF /* ResourceManager.m in Sources */ = {isa = PBXBuildFile; fileRef = A5B600311A48134800039CDF /* ResourceManager.m */; };
A5B600361A48134800039CDF /* RSRCManager.m in Sources */ = {isa = PBXBuildFile; fileRef = A5B600341A48134800039CDF /* RSRCManager.m */; };
A5B600391A4816E400039CDF /* ResourceEntities.m in Sources */ = {isa = PBXBuildFile; fileRef = A5B600381A4816E400039CDF /* ResourceEntities.m */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -38,8 +40,6 @@
A59625DD1A45F4250056303D /* iResourceTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = iResourceTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
A59625E21A45F4250056303D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
A59625E31A45F4250056303D /* iResourceTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iResourceTests.m; sourceTree = "<group>"; };
A59625F31A45FE8E0056303D /* ResourceEntities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResourceEntities.h; sourceTree = "<group>"; };
A59625F41A45FE8E0056303D /* ResourceEntities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ResourceEntities.m; sourceTree = "<group>"; };
A59625F51A45FE8E0056303D /* ResourceCollectionItemView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResourceCollectionItemView.h; sourceTree = "<group>"; };
A59625F61A45FE8E0056303D /* ResourceCollectionItemView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ResourceCollectionItemView.m; sourceTree = "<group>"; };
A59625FB1A460BDB0056303D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = MainMenu.xib; sourceTree = "<group>"; };
Expand All @@ -49,6 +49,13 @@
A596260D1A4610570056303D /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
A596260E1A4610570056303D /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
A596260F1A4610570056303D /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
A5B600301A48134800039CDF /* ResourceManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResourceManager.h; sourceTree = "<group>"; };
A5B600311A48134800039CDF /* ResourceManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ResourceManager.m; sourceTree = "<group>"; };
A5B600321A48134800039CDF /* ResourceManager_Protocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResourceManager_Protocol.h; sourceTree = "<group>"; };
A5B600331A48134800039CDF /* RSRCManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSRCManager.h; sourceTree = "<group>"; };
A5B600341A48134800039CDF /* RSRCManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSRCManager.m; sourceTree = "<group>"; };
A5B600371A4816E400039CDF /* ResourceEntities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResourceEntities.h; sourceTree = "<group>"; };
A5B600381A4816E400039CDF /* ResourceEntities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ResourceEntities.m; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -93,10 +100,9 @@
A59625C91A45F4250056303D /* iResource */ = {
isa = PBXGroup;
children = (
A5B6002F1A48134800039CDF /* ResourceManager */,
A59625CC1A45F4250056303D /* AppDelegate.h */,
A59625CD1A45F4250056303D /* AppDelegate.m */,
A59625F31A45FE8E0056303D /* ResourceEntities.h */,
A59625F41A45FE8E0056303D /* ResourceEntities.m */,
A59625F51A45FE8E0056303D /* ResourceCollectionItemView.h */,
A59625F61A45FE8E0056303D /* ResourceCollectionItemView.m */,
A59625CA1A45F4250056303D /* Supporting Files */,
Expand Down Expand Up @@ -151,6 +157,20 @@
name = Frameworks;
sourceTree = "<group>";
};
A5B6002F1A48134800039CDF /* ResourceManager */ = {
isa = PBXGroup;
children = (
A5B600371A4816E400039CDF /* ResourceEntities.h */,
A5B600381A4816E400039CDF /* ResourceEntities.m */,
A5B600321A48134800039CDF /* ResourceManager_Protocol.h */,
A5B600301A48134800039CDF /* ResourceManager.h */,
A5B600311A48134800039CDF /* ResourceManager.m */,
A5B600331A48134800039CDF /* RSRCManager.h */,
A5B600341A48134800039CDF /* RSRCManager.m */,
);
path = ResourceManager;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -252,8 +272,10 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A59625F71A45FE8E0056303D /* ResourceEntities.m in Sources */,
A59625D01A45F4250056303D /* main.m in Sources */,
A5B600351A48134800039CDF /* ResourceManager.m in Sources */,
A5B600391A4816E400039CDF /* ResourceEntities.m in Sources */,
A5B600361A48134800039CDF /* RSRCManager.m in Sources */,
A59625CE1A45F4250056303D /* AppDelegate.m in Sources */,
A59625F81A45FE8E0056303D /* ResourceCollectionItemView.m in Sources */,
);
Expand Down Expand Up @@ -312,8 +334,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
Expand All @@ -328,7 +348,6 @@
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
Expand All @@ -353,8 +372,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
Expand All @@ -371,7 +388,6 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
Expand All @@ -387,11 +403,11 @@
A59625E81A45F4250056303D /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "IGR Software";
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = iResource/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.8;
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand All @@ -400,11 +416,11 @@
A59625E91A45F4250056303D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "IGR Software";
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = iResource/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.8;
PRODUCT_NAME = "$(TARGET_NAME)";
};
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions iResource/AppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@

@interface AppDelegate : NSObject <NSApplicationDelegate>

@property (weak) IBOutlet NSWindow *window;
@property (weak) IBOutlet NSCollectionView *collectionView;
@property (weak) IBOutlet NSProgressIndicator *spinerView;
@property (weak) IBOutlet NSTextField *exportPath;

- (void)saveResource:(ResourceEntities *)resourceEntity;

@end
Loading

0 comments on commit 3b9a76f

Please sign in to comment.