Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions DCIntrospect/DCIntrospect.m
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,10 @@ - (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range r
if (self.currentView.alpha > 0.0f)
self.currentView.alpha -= 0.05f;
}
else if ([string isEqualToString:kDCIntrospectKeysToggleHidden])
{
self.currentView.hidden = !self.currentView.hidden;
}
else if ([string isEqualToString:kDCIntrospectKeysEnterGDB])
{
UIView *view = self.currentView;
Expand Down
2 changes: 2 additions & 0 deletions DCIntrospect/DCIntrospectSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

#define kDCIntrospectKeysIncreaseViewAlpha @"+" // increases/decreases the selected views alpha value
#define kDCIntrospectKeysDecreaseViewAlpha @"-" //
#define kDCIntrospectKeysToggleHidden @"x"


#define kDCIntrospectKeysSetNeedsDisplay @"d" // calls setNeedsDisplay on selected view
#define kDCIntrospectKeysSetNeedsLayout @"l" // calls setNeedsLayout on selected view
Expand Down