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

Implement bindings #28

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
6c2d6d9
Add new bindings inspector
gcasa Jan 16, 2023
37fe882
Add bindings inspector to object editor so that it can be brought up …
gcasa Jan 16, 2023
48f13bd
Add NSString category
gcasa Jan 17, 2023
ce36666
Add code to generate .gorm file names needed for each binding as well…
gcasa Jan 17, 2023
3a0f7d8
Add method to cap JUST the first letter
gcasa Jan 17, 2023
96aa395
Fix camel case issue
gcasa Jan 17, 2023
8108fe7
Update string methods
gcasa Jan 17, 2023
31f9746
Improvements to bindings inspector
gcasa Jan 18, 2023
c582a05
Add code to support selection of inspector on object load and when se…
gcasa Jan 18, 2023
ed2115d
Add calls to the loaded bindings inspector
gcasa Jan 18, 2023
5e5ddc0
Add code to properly load the bindings inspector into the container v…
gcasa Jan 18, 2023
f47491b
Fix issue with connection to the wrong instance of NSBox, also correc…
gcasa Jan 19, 2023
6029f18
Update tab view editor to eliminate warnings
gcasa Feb 11, 2023
ae01b82
Merge master into bindings branch
gcasa Jul 2, 2023
2cad4a3
Add new bindings inspector
gcasa Jan 16, 2023
c84557c
Add bindings inspector to object editor so that it can be brought up …
gcasa Jan 16, 2023
12c4d66
Add NSString category
gcasa Jan 17, 2023
de5bb26
Add code to generate .gorm file names needed for each binding as well…
gcasa Jan 17, 2023
36d394b
Add method to cap JUST the first letter
gcasa Jan 17, 2023
8cde4c6
Fix camel case issue
gcasa Jan 17, 2023
59c452a
Update string methods
gcasa Jan 17, 2023
2f9842e
Improvements to bindings inspector
gcasa Jan 18, 2023
6df8b72
Add code to support selection of inspector on object load and when se…
gcasa Jan 18, 2023
81260e4
Add calls to the loaded bindings inspector
gcasa Jan 18, 2023
94fff19
Add code to properly load the bindings inspector into the container v…
gcasa Jan 18, 2023
bcda9e2
Fix issue with connection to the wrong instance of NSBox, also correc…
gcasa Jan 19, 2023
24d4438
Update tab view editor to eliminate warnings
gcasa Feb 11, 2023
c979d65
Remove old gorm files at root of apps-gorm
gcasa Jul 24, 2023
f4bc0d5
Update bindings and add content inspector
gcasa Jul 25, 2023
8670ba4
Merge branch 'master' into implement_bindings
gcasa Aug 17, 2023
ef2e4d9
Merge branch 'master' into implement_bindings
gcasa Dec 17, 2023
970d93e
Merge branch 'master' into implement_bindings
gcasa May 8, 2024
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
Prev Previous commit
Next Next commit
Add calls to the loaded bindings inspector
gcasa committed Jul 24, 2023
commit 81260e4084493b7096f6e0536128caa446abf17f
11 changes: 7 additions & 4 deletions GormCore/GormBindingsInspector.m
Original file line number Diff line number Diff line change
@@ -97,16 +97,16 @@ - (void) _loadInspector
if (![NSBundle loadNibNamed: inspectorName owner: _inspectorObject])
{
NSLog(@"Could not load inspector for binding %@", inspectorName);
return;
}
}
else
{
_inspectorObject = nil; // make certain this is nil, if load failed...
NSLog(@"Could not instantiate class for %@", inspectorName);
}
}

- (void) _populatePopUp: (NSArray *)array
- (void) _populate: (NSArray *)array
{
[_bindingsPopUp removeAllItems];
[_bindingsArray removeAllObjects];
@@ -141,19 +141,22 @@ - (void) setObject: (id)obj

[super setObject: obj];
array = [[self object] exposedBindings];
[self _populatePopUp: array];

[self _populate: array];
[_inspectorObject setObject: obj];

NSLog(@"Bindings = %@, inspectors = %@", array, _bindingsArray);
}

- (void) ok: (id)sender
{
[super ok: sender];
[_inspectorObject ok: sender];
}

- (void) revert: (id)sender
{
[super revert: sender];
[_inspectorObject revert: sender];
}

- (IBAction) selectInspector: (id)sender