Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desktop app to view, control, and change info from outside the simulator #51

Open
wants to merge 61 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
cf62110
- implemented NSStringFromBOOL(...); added subviews info to log
Mar 22, 2012
00af129
- added superview to UIView log
Mar 26, 2012
0cab9df
- added NSStringFromBOOL function
Mar 26, 2012
efa400c
- updated subview info output
Apr 26, 2012
56a070c
- added shake to activate; added activation log
cbess Apr 29, 2012
52632dd
- removed unneeded import
Apr 30, 2012
172aaff
- fixed non-debug builds
Apr 30, 2012
0a39e2a
- initial import of CBIntrospect
cbess May 3, 2012
9292d9a
- initial import of CBIntrospector client desktop app
cbess May 3, 2012
ba4626a
- updated debug conditional blocks
May 3, 2012
57215f6
- updated debug cond. blocks; updated recomm. proj settings
May 3, 2012
a8fe1da
- refactored sendEvent override/replace to modify UIApplication; rena…
cbess May 3, 2012
44221f4
- refactored sendEvent override
cbess May 3, 2012
f1fb7ef
- fixed non-debug builds
May 3, 2012
03140ba
- fixed app background introspector background issue
cbess May 4, 2012
9f18674
- fixed app background issue, which prevents keyboard events from bei…
cbess May 4, 2012
f10db7b
- implemented current view changing from the json; updated share header
cbess May 5, 2012
79288d1
- updated main window, added tree outline view
cbess May 5, 2012
59fa3f6
- implemented tree view UI setup logic
cbess May 5, 2012
70423cd
- updated current view JSON sync
cbess May 6, 2012
85fb459
- implemented control to uiview editing/update
cbess May 6, 2012
3a5994c
- reinstated UIWindow sendEvent override; reload data command now wor…
May 8, 2012
a671e37
- fixed some compile time error
May 8, 2012
71253a5
- updated dclog non-debug macro
May 8, 2012
be5d210
- fixed non-debug build
May 8, 2012
9581138
- implemented tree node selection when selecting a view in the simulator
May 9, 2012
27707de
- adjusted highlight color
May 9, 2012
e6de082
- added view description to desktop UI; refactored describe* methods …
May 11, 2012
0fcfd85
- disabled tree view keyboard actions; text view no longer word-wraps
May 12, 2012
494d7ea
- update sizing/layout
May 12, 2012
2c2afda
- update textview style
May 12, 2012
66b5837
added find bar to textview, press (cmd+F) while textview is focused
May 12, 2012
d7903b5
- fixed unexpected inspector control reset; added reload tree action …
May 12, 2012
8a417f1
- reorganized supporting files
May 12, 2012
8cecca0
- moved files
May 12, 2012
16d1c5c
removed log
May 12, 2012
1143ed7
now skips/ignores common UI subviews
May 12, 2012
5cd72d9
update static assignment logic
May 12, 2012
9413886
add keyboard actions to re/select nodes (press enter to reselect node)
May 12, 2012
5c94f56
add error message when unable to reload view tree
May 12, 2012
69114f8
- added NSView icon to tree
May 12, 2012
968a2ec
- build headers
May 14, 2012
fa95fa2
enable minimize button
May 14, 2012
37ce249
- fixed potential crash during node selection/update
May 14, 2012
7ef6756
- bumped desktop app version
May 14, 2012
54ddc66
- added options->show all subviews toggle menu item
May 23, 2012
4c1945e
- added window->open ios sim folder menu item
May 23, 2012
28e37ae
change menu item name
May 23, 2012
f621d5e
- started implementing the project window
cbess Jun 5, 2012
d350629
- implemented project opening logic
cbess Jun 5, 2012
bf01418
- updated proj window min size
cbess Jun 5, 2012
16998a5
- updated version
cbess Jun 5, 2012
4eef714
- updated the project window font size
Jun 5, 2012
92c28ab
- sends changes to simulator when [enter] key is pressed from text fi…
Jun 5, 2012
a6be5fb
- updated version regex
Jun 5, 2012
aeb7694
- implemented [CBIntrospectorWindow reloadTreeWithFilePath:]
Jun 6, 2012
4209ea4
- added app icon
Jun 6, 2012
ad0eeb1
- attempts to reloads the tree when the window is activated
Jun 8, 2012
4625ed7
- updated version
Jun 8, 2012
82b1f84
- removed prompt when opening projects
Jun 8, 2012
8c1e3e9
Merge branch 'cbintrospector'
Jun 18, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
560 changes: 560 additions & 0 deletions CBIntrospector/CBIntrospector.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions CBIntrospector/CBIntrospector/CBAppDelegate.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//
// CBAppDelegate.h
// CBIntrospector
//
// Created by Christopher Bess on 5/2/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface CBAppDelegate : NSObject <NSApplicationDelegate>

@property (assign) IBOutlet NSWindow *window;

@end
30 changes: 30 additions & 0 deletions CBIntrospector/CBIntrospector/CBAppDelegate.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//
// CBAppDelegate.m
// CBIntrospector
//
// Created by Christopher Bess on 5/2/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "CBAppDelegate.h"

@implementation CBAppDelegate

@synthesize window = _window;

- (void)dealloc
{
[super dealloc];
}

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
// Insert code here to initialize your application
}

- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication hasVisibleWindows:(BOOL)flag
{
[self.window makeKeyAndOrderFront:nil];
return NO;
}
@end
36 changes: 36 additions & 0 deletions CBIntrospector/CBIntrospector/CBIntrospector-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string>appicon.icns</string>
<key>CFBundleIdentifier</key>
<string>com.cbess.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.3.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2012 Christopher Bess. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
10 changes: 10 additions & 0 deletions CBIntrospector/CBIntrospector/CBIntrospector-Prefix.pch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//
// Prefix header for all source files of the 'CBIntrospector' target in the 'CBIntrospector' project
//

#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#import "CBMacros.h"
#import "CBUtility.h"
#import "CBSharedHeader.h"
#endif
14 changes: 14 additions & 0 deletions CBIntrospector/CBIntrospector/CBIntrospectorWindow.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//
// CBWindow.h
// CBIntrospector
//
// Created by Christopher Bess on 5/2/12.
// Copyright (c) 2012 C. Bess. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface CBIntrospectorWindow : NSWindow
@property (nonatomic, strong) NSDictionary *treeContents;
- (void)switchProjectToDirectoryPath:(NSString *)path;
@end
Loading