|
Re: Observing changes in TableView
I just tried it again, and now Xcode told me that: “ Action ‘boxClicked:' sent by 'Check Box' is connected to 'File's Owner,' an invalid target (Objects inside view based table views may only be
I just tried it again, and now Xcode told me that: “ Action ‘boxClicked:' sent by 'Check Box' is connected to 'File's Owner,' an invalid target (Objects inside view based table views may only be
|
By
Gerriet M. Denkmann
·
#387
·
|
|
Re: Opening File in Finder
It does indeed. Thanks very much for telling me.
Kind regards,
Gerriet.
It does indeed. Thanks very much for telling me.
Kind regards,
Gerriet.
|
By
Gerriet M. Denkmann
·
#386
·
|
|
Re: Observing changes in TableView
Though in concept, I love the idea of KV observers, in practice, I’ve found that they lead to too many crashes.
I’ve switched over to sending notifications and it’s much less to worry about and
Though in concept, I love the idea of KV observers, in practice, I’ve found that they lead to too many crashes.
I’ve switched over to sending notifications and it’s much less to worry about and
|
By
Alex Zavatone
·
#385
·
|
|
Re: Observing changes in TableView
Gerriet, I am doing the same thing now on iOS.
Here’s what I am doing and am open to better approaches.
Being able to do this requires a special set up where the cell contents are retrieved from
Gerriet, I am doing the same thing now on iOS.
Here’s what I am doing and am open to better approaches.
Being able to do this requires a special set up where the cell contents are retrieved from
|
By
Alex Zavatone
·
#384
·
|
|
Re: Opening File in Finder
So, doesn’t NSWorkspace’s activateFileViewerSelecting method do that?
So, doesn’t NSWorkspace’s activateFileViewerSelecting method do that?
|
By
Quincey Morris
·
#383
·
|
|
Opening File in Finder
I want to have a Finder window with “/a/hugeFolder/someThin"g selected.
[ NSWorkspace.sharedWorkspace openFile: @“/a/hugeFolder/someThing” withApplication: @“Finder" ]
results in an
I want to have a Finder window with “/a/hugeFolder/someThin"g selected.
[ NSWorkspace.sharedWorkspace openFile: @“/a/hugeFolder/someThing” withApplication: @“Finder" ]
results in an
|
By
Gerriet M. Denkmann
·
#382
·
|
|
Re: Observing changes in TableView
It was the app delegate.
I found another solution:
The contentArray contains only a few dictionaries - less than a dozen.
So I decided to observe all of them:
for( NSDictionary *d in
It was the app delegate.
I found another solution:
The contentArray contains only a few dictionaries - less than a dozen.
So I decided to observe all of them:
for( NSDictionary *d in
|
By
Gerriet M. Denkmann
·
#381
·
|
|
Re: Observing changes in TableView
This ought to work, so I think you should focus on finding out why it isn’t. What are you specifying for the target? It should be something that doesn't depend on the cell itself, like the view
This ought to work, so I think you should focus on finding out why it isn’t. What are you specifying for the target? It should be something that doesn't depend on the cell itself, like the view
|
By
Quincey Morris
·
#380
·
|
|
Observing changes in TableView
macOS 12.6
I have an ArrayController which has ContentArray bound to AppDelegate.contentArray
The contentArray contains MutableDictionaries with a key “Flag”, value: boxed BOOL.
And a TableView
macOS 12.6
I have an ArrayController which has ContentArray bound to AppDelegate.contentArray
The contentArray contains MutableDictionaries with a key “Flag”, value: boxed BOOL.
And a TableView
|
By
Gerriet M. Denkmann
·
#379
·
|
|
Re: Documentation on printing in NSView, etc.
Just after posting, a web search turned up this, which is I think what I was looking
Just after posting, a web search turned up this, which is I think what I was looking
|
By
Graham Cox
·
#378
·
|
|
Documentation on printing in NSView, etc.
Hi all,
Can anyone link any sort of documentation that explains what all the stuff NSView does for printing does? I’m sure there used to be documentation explaining this but I just can’t find it.
Hi all,
Can anyone link any sort of documentation that explains what all the stuff NSView does for printing does? I’m sure there used to be documentation explaining this but I just can’t find it.
|
By
Graham Cox
·
#377
·
|
|
Hello
Dear all,
My name is Akifumi Takata.
Regards,
Akifumi Takata
Dear all,
My name is Akifumi Takata.
Regards,
Akifumi Takata
|
By
Akifumi Takata
·
#376
·
|
|
Re: LInker errors where there were none before
Did you try removing and re-adding the linked binary?
It could be that the changes required for the newer versions to work would not function because of an API change if you wanted it to work on
Did you try removing and re-adding the linked binary?
It could be that the changes required for the newer versions to work would not function because of an API change if you wanted it to work on
|
By
Alex Zavatone
·
#375
·
|
|
Re: LInker errors where there were none before
Thanks,
I have managed to get it working, but the reason is something of a mystery.
Xcode 9 showed the same problem, so that wasn’t it. I created a new project and just added the CCToneGenerator
Thanks,
I have managed to get it working, but the reason is something of a mystery.
Xcode 9 showed the same problem, so that wasn’t it. I created a new project and just added the CCToneGenerator
|
By
Graham Cox
·
#374
·
|
|
Re: LInker errors where there were none before
what I usually do to debug these things is pull the link line from the detailed build log, go to the same directory, run it by hand and ensure I see the same result.
Then I
what I usually do to debug these things is pull the link line from the detailed build log, go to the same directory, run it by hand and ensure I see the same result.
Then I
|
By
Roland King
·
#373
·
|
|
Re: LInker errors where there were none before
All looks OK.
I’m going to try Xcode 9, just in case (grasping at straws perhaps). I did upgrade Xcode and the OS separately, but this particular project wasn’t recompiled until
All looks OK.
I’m going to try Xcode 9, just in case (grasping at straws perhaps). I did upgrade Xcode and the OS separately, but this particular project wasn’t recompiled until
|
By
Graham Cox
·
#372
·
|
|
Re: LInker errors where there were none before
It sounds like the one of a few things might help.
Look in your "link to binaries” build section to see if any binaries are added twice, or are missing.
Also, check to see in the build file phases
It sounds like the one of a few things might help.
Look in your "link to binaries” build section to see if any binaries are added twice, or are missing.
Also, check to see in the build file phases
|
By
Alex Zavatone
·
#371
·
|
|
Re: LInker errors where there were none before
I’m using 8.3.3 ;)
Yes, that was an update! Maybe I should try 9, but somehow an issue like this doesn’t quite seem like an Xcode problem.
—Graham
I’m using 8.3.3 ;)
Yes, that was an update! Maybe I should try 9, but somehow an issue like this doesn’t quite seem like an Xcode problem.
—Graham
|
By
Graham Cox
·
#370
·
|
|
Re: LInker errors where there were none before
Which version of Xcode?
I haven’t had problems with Xcode 9.0, but 9.0.1 was released and some people are reporting various errors.
Are you using 9.0 or 9.0.1?
Which version of Xcode?
I haven’t had problems with Xcode 9.0, but 9.0.1 was released and some people are reporting various errors.
Are you using 9.0 or 9.0.1?
|
By
Alex Zavatone
·
#369
·
|
|
LInker errors where there were none before
Hi all,
I’m suddenly running into some linker errors against AudioToolbox on a project after upgrading Xcode and installing High Sierra (not sure which of these did it).
Undefined symbols for
Hi all,
I’m suddenly running into some linker errors against AudioToolbox on a project after upgrading Xcode and installing High Sierra (not sure which of these did it).
Undefined symbols for
|
By
Graham Cox
·
#368
·
|