d, which I guess is by design.
On the contrary, when the formatter decides the input is valid, my validation
method indeed gets called.
Thanks for your suggestion on using a custom validation method.
--
Luc Van Bogaert
Follow my Blog @ http://folkwire.wordpress.com
> On 27 Feb 2017, at 22:58, Q
y help with this would be greatly appreciated.
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsub
> On 14 Dec 2015, at 22:51, Roland King <r...@rols.org> wrote:
>
>
>> On 15 Dec 2015, at 04:10, Luc Van Bogaert <luc.van.boga...@me.com
>> <mailto:luc.van.boga...@me.com>> wrote:
>>>
>>
>>
>> I tried what you sugg
ject is correctly tagged in swift as already conforming.
> I don’t see another way to do it.
I tried what you suggested and made a button subclass and just declared
conformance in objective-c, and then imported the class into Swift.
This seems to do the trick, my button subclass is now a
my subclass to
implement two methods: action() and tag(). The compiler complains about the
selectors being identical to the 'action' and 'tag' selectors in superclass
NSControl.
Is there a way to solve this?
--
Luc Van Bogaert
___
Cocoa-dev mailing
> On 30 Nov 2015, at 22:57, Quincey Morris
> <quinceymor...@rivergatesoftware.com> wrote:
>
> On Nov 30, 2015, at 12:18 , Luc Van Bogaert <luc.van.boga...@me.com> wrote:
>>
>> I can see this is being called when I make any selection change; except when
the slection, or doesn't it?
If this behaviour I'm seeing is indeed as intended; I'm wondering what other
approach I should take to handle selection changes. Maybe observing the array
controller's selectionIndexes or something else?
Thanks,
--
Luc Van Bogaert
> On 30 Nov 2015, at 20:28, Quincey Morris
> <quinceymor...@rivergatesoftware.com> wrote:
>
> On Nov 30, 2015, at 11:07 , Luc Van Bogaert <luc.van.boga...@me.com
> <mailto:luc.van.boga...@me.com>> wrote:
>>
>> I have noticed that Tablev
> On 07 Nov 2015, at 01:56, Quincey Morris
> <quinceymor...@rivergatesoftware.com> wrote:
>
> On Nov 6, 2015, at 15:23 , Luc Van Bogaert <luc.van.boga...@me.com
> <mailto:luc.van.boga...@me.com>> wrote:
>>
>> In a tableview with a content binding a
> On 07 Nov 2015, at 10:09, Luc Van Bogaert <luc.van.boga...@me.com> wrote:
>
>> On 07 Nov 2015, at 01:56, Quincey Morris
>> <quinceymor...@rivergatesoftware.com
>> <mailto:quinceymor...@rivergatesoftware.com>> wrote:
>>
>> On Nov 6, 20
(_ :) throws), for each
of the properties, but the validation method only seems to get called for
scallar types and not for eg. String types. I've made sure I checked "Validates
immediately" in the binding attributes.
Any ideas about what I may be doing wrong?
--
Luc V
this method should be called.
Thanks for any help,
--
Luc Van Bogaert
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
' upwards.
--
Luc Van Bogaert
DotSketcher - www.rixhon.be
Op 03 Oct 2014 om 03:15 heeft Graham Cox graham@bigpond.com het
volgende geschreven:
On 3 Oct 2014, at 7:13 am, Luc Van Bogaert luc.van.boga...@me.com wrote:
I want the table to populate 'from the bottom to the top', so
but that didn't seem to make any difference. I didn't think it would
be that easy anyway, but I have no idea where to start...
Thanks,
--
Luc Van Bogaert
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev
what I 'm looking for.
--
Luc Van Bogaert
Op 02 Oct 2014 om 23:06 heeft Jonathan Hull jh...@gbis.com het volgende
geschreven:
Have you considered just inverting the data source?
Thanks,
Jon
On Oct 2, 2014, at 12:45 PM, Luc Van Bogaert luc.van.boga...@me.com wrote:
Hi,
I
On 13 Sep 2014, at 00:11, Luc Van Bogaert luc.van.boga...@me.com wrote:
Op 12 Sep 2014 om 23:40 heeft Quincey Morris
quinceymor...@rivergatesoftware.com het volgende geschreven:
On Sep 12, 2014, at 13:57 , Luc Van Bogaert luc.van.boga...@me.com wrote:
When I try to close the inspector
Hi,
When I try to close the inspector panel in my document base application, I'm
getting the default alert message to save the document if it has unsaved edits.
Is there a way to disable this behaviour when closing an inspector panel?
Thanks.
--
Luc Van Bogaert
smime.p7s
Description: S
Op 12 Sep 2014 om 23:40 heeft Quincey Morris
quinceymor...@rivergatesoftware.com het volgende geschreven:
On Sep 12, 2014, at 13:57 , Luc Van Bogaert luc.van.boga...@me.com wrote:
When I try to close the inspector panel in my document base application, I'm
getting the default alert
On 10 Sep 2014, at 01:56, Kyle Sluder k...@ksluder.com wrote:
On Tue, Sep 9, 2014, at 06:42 PM, Graham Cox wrote:
On 10 Sep 2014, at 7:13 am, Luc Van Bogaert luc.van.boga...@me.com
wrote:
This opens the panel without making it key, which is OK, but it still makes
the panel key when I
On 10 Sep 2014, at 23:32, Ken Thomases k...@codeweavers.com wrote:
On Sep 10, 2014, at 4:07 PM, Luc Van Bogaert luc.van.boga...@me.com wrote:
No succes so far with this.
I subclassed NSPanel and overridden:
- (BOOL) becomesKeyOnlyIfNeeded
{
return YES;
}
- (BOOL
, which is OK, but it still makes the
panel key when I click any of the responder objects in the panel, such as a
collectionview...
Thanks for any help.
--
Luc Van Bogaert
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list
upon startup, but that wouldn't be
the best solution I guess, and it doesn't explain the observer behaviour.
Any advice would be appreciated.
Thanks
--
Luc Van Bogaert
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list
Thanks, I've read the docs on Quartz and blend modes and found a working
solution.
--
Luc Van Bogaert
On 02 Sep 2014, at 01:19, edward taffel etaf...@me.com wrote:
you may wish to investigate the quartz blend modes, e.g.
kCGBlendModeDifference might work for you.
On Sep 1, 2014, at 3
possible using the
standard cocoa drawing features, or will I need OpenGL or some other graphics
library?
Thanks
--
Luc Van Bogaert
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
experience with view hierarchy, so I'm
hoping someone could jump in with some advise.
Thank you,
--
Luc Van Bogaert
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
dictionary are
always 'null', even though I can get a hold of the selected object using
'[object selectedObjects]'. So why is this object not in the change dictionary?
Thanks for any help.
--
Luc Van Bogaert
smime.p7s
Description: S/MIME cryptographic signature
Hello,
I've used NSCollectionView for this purpose, albeit for a smaller nummer of
colorwells.
--
Luc Van Bogaert
Op 21 Aug 2014 om 18:56 heeft C.W. Betts computer...@hotmail.com het
volgende geschreven:
Is there a way to create multiple color wells in a way similar to how
NSMatrix
and remove the custom view as an observer from
MyWindowController, which seems to work fine, but I'm still not sure why I
can't do this in the MyView object itself.
--
Luc Van Bogaert
On 10 Aug 2014, at 23:05, Quincey Morris quinceymor...@rivergatesoftware.com
wrote:
On Aug 10, 2014, at 13:16 , Luc
windowDidLoad: method, but I'm not
sure if this is a good approach to take. Any advise on this?
Thank you,
--
Luc Van Bogaert
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
On 10 Aug 2014, at 19:15, Quincey Morris quinceymor...@rivergatesoftware.com
wrote:
On Aug 10, 2014, at 09:01 , Luc Van Bogaert luc.van.boga...@me.com wrote:
I was thinking of using a weak property for my custom view to reference the
document and set this property from the same
: to the controller.
The same happens when observing other keypaths like selectedObjects or
selectedObjects.count.
As a result I'm redrawing my custom view time many times when it's not
required.
Is there a way to avoid this?
Thank you,
--
Luc Van Bogaert
smime.p7s
Description: S/MIME
works as
expected, with just one problem: after downloading, decompressing the archive
and loading the document into my app, all the pages seem to have lost their
icon.
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
addDocument: so I could check against the document version before
allowing the app to actually open it.
Any advice on how to do this would be greatly appreciated.
Thanks,
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
On 11 Nov 2012, at 19:03, Quincey Morris quinceymor...@rivergatesoftware.com
wrote:
On Nov 11, 2012, at 04:09 , Luc Van Bogaert luc.van.boga...@me.com wrote:
However, when my application is not active when the file is dropped, the
message to the windowcontroller is never sent.
Here's
from the user like this.
Any help would be appreciated.
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
including various
localisations. So, this got me wondering where these developers turn for help.
Again, sorry if this post is off-topic. Please consider it as a general inquiry
about technical translation work.
Thanks,
--
Luc Van Bogaert
___
Cocoa-dev
2012, at 16:06, Luc Van Bogaert luc.van.boga...@me.com wrote:
Yes, I'm using a synthesised setter to change the property value. I am also
observing the property (to redraw the controller's view whenever something
changes) and this way I can confirm that the property is indeed changed in a
KVO
property of an existing viewcontroller object to some other
value, the textfield alignment is not adjusted accordingly.
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
using a NSValueTransformer with the
binding to translate the enum property values to the proper alignment setting
for the textfield.
On 27 Oct 2012, at 11:58, Ken Thomases k...@codeweavers.com wrote:
On Oct 27, 2012, at 4:26 AM, Luc Van Bogaert wrote:
The textfield alignment is bound
.
All the other string recources in my code get translated correctly.
Could anyone please help me find out what it is I'm missing here?
Many thanks,
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
On 10 Oct 2012, at 11:45, Ken Thomases k...@codeweavers.com wrote:
On Oct 10, 2012, at 4:25 AM, Luc Van Bogaert wrote:
I'm in the process of localising my application, and I'm having a problem
getting some of the string resources in my code localised. In several places
in my code, I'm
in the sheet
being displayed separately instead of on the window. I've also checked
NSWindowDelegate methods for something usable but so far without success. What
would be the preferred place to display the modal sheet?
Thanks,
--
Luc Van Bogaert
a 512x512 pixel icns
icon for my app to use if I ever succeed of getting it on the App Store. I was
also thinking of having a custom icon for my application made by a graphics
designer, so any recommendations about this would be helpful as well.
Thanks,
--
Luc Van Bogaert
be appreciated.
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your
On 14 Mar 2012, at 20:12, Seth Willits wrote:
On Mar 14, 2012, at 3:26 AM, Luc Van Bogaert wrote:
I would like to implement undo/redo for a model object which in turn is also
a ivar backed property of a document object. I'm already using the
document's undo manager to undo/redo setting
On 13 Mar 2012, at 22:07, Kyle Sluder wrote:
On Mar 13, 2012, at 1:49 PM, Luc Van Bogaert wrote:
Hi,
In my document-based app, I am using NSDocument's NSUndoManager to implement
undo/redo. As part of my document objects, I have to deal with a custom
object, for which I would also
this for a custom object?
Thanks,
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe
with this!
PS: as it turns out, there doesn't seem to be a need to temporarily disable my
split view delegate during animation. It all comes down to correctly disabling
and re-enabling autoresize, but the latter *after* the animation has completely
finished.
--
Luc Van Bogaert
behaviour back to their
original values. Again, this all works if the subviews were not first collapsed
by dragging the divider.
--
Luc Van Bogaert.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
On 06 Feb 2012, at 09:29, Martin Hewitson wrote:
Hi Luc,
Attached is a split view controller which I think does what you want, or at
least should enough to go on. This is cobbled together from various examples
I found on the web. The code is experimental and probably needs some cleaning
, but when I uncollapse a subview, the
views contents are only drawn partially, similar to the effect one sees when
the splitview delegate does not implement the methods to constrain the subview
size.
Any ideas?
Thanks
--
Luc Van Bogaert
on this
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your
to generate something like this?
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe
Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https
the
NSAlert at the 'higher' or at the 'lower' level, if it matters at all?
Thanks for any advice.
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
On 26 Dec 2011, at 02:44, Quincey Morris wrote:
On Dec 25, 2011, at 14:05 , Luc Van Bogaert wrote:
I'm adding a custom user setting to a NSPrintPanel by adding an accessory
view controller for a view that contains just one control (a checkbox) and
which is loaded from a nib file
Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http
of the nscollectionview, will again
trigger the observing viewcontroller, etc.
Does anyone have some suggestions about how to solve this in an elegant way?
Thanks,
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
in several different classes, I need to put it someplace where I
can easily reference it. AppDelegate comes to mind. So, I'm wondering if
putting this code in a public method in the application delegate would be the
correct cocoa way of doing things?
Thanks for any advice.
--
Luc Van Bogaert
On 14 Oct 2011, at 00:21, Quincey Morris wrote:
On Oct 13, 2011, at 13:44 , Luc Van Bogaert wrote:
Use a NSIndexSet property instead of a NSMutableIndexSet, and change the
property by assigning it a new (immutable) index set -- that is, via the
setter.
This works! Thanks for your help
On 12 Oct 2011, at 23:22, Quincey Morris wrote:
On Oct 12, 2011, at 13:31 , Luc Van Bogaert wrote:
I'm wondering if I should create a NSIndexSet property in my model object
and bind it to the NSArrayController's 'selectedIndexes' key?
Yes, but you've got the terminology wrong
themselves once their 'selected' property has been changed...
I hope all this is making some sense to someone on this list and I apologize
for not being able to explain my problem more clearly.
Thanks for any suggestions.
--
Luc Van Bogaert
___
Cocoa
On 06 Sep 2011, at 21:51, Quincey Morris wrote:
On Sep 6, 2011, at 12:20 , Luc Van Bogaert wrote:
I've been struggling trying to set a viewcontroller (loaded by its own nib)
as the delegate of another (main) viewcontroller's view in IB, while at the
same time avoiding 'awakefromnib
viewcontroller's nib. I haven't
succeeded so far, so I finally decided to use code. But, I'm still wondering if
this is at all possible using IB. Any ideas?
Thanks,
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
the original delegate post animation.
Because of some other considerations, I also chose to implement your code in a
subclass rather than a category.
--
Luc Van Bogaert
http://users.skynet.be/luc.van.bogaert
___
Cocoa-dev mailing list (Cocoa-dev
should be instantiated from my document objects. right?
So, that leaves me the option to use the First Responder object. This does
work, but I'm still wondering if maybe there is a better approach.
Thanks,
--
Luc Van Bogaert
___
Cocoa-dev mailing
On 21 Aug 2011, at 15:43, Jerry Krinock wrote:
On 2011 Aug 21, at 05:02, Luc Van Bogaert wrote:
Adding a windowcontroller to the mainmenu nib also doesn't work, as the
windowcontrollers should be instantiated from my document objects. right?
That is correct.
So, that leaves me
On 21 Aug 2011, at 19:34, Quincey Morris wrote:
On Aug 21, 2011, at 09:59 , Luc Van Bogaert wrote:
But this still leaves me with the question of how to reference my
windowcontroller objects from the mainmenu nib? I need this because I want
to modify the title of some menu items, depending
On 21 Aug 2011, at 20:40, Quincey Morris wrote:
On Aug 21, 2011, at 11:13 , Luc Van Bogaert wrote:
I have found a way to get what I want using the sharedDocumentController
object and the current document's list of windows.
But actually, I'd prefer using 'validateUserInterfaceItems
On 21 Aug 2011, at 21:57, Quincey Morris wrote:
On Aug 21, 2011, at 12:22 , Luc Van Bogaert wrote:
What I was trying to explain: I want to change the title of a menuitem,
which opens a submenu. Of course the menu items in that submenu all have
actions, but the action of the menuitem I'm
My solution was to assign the menu item (the one with the submenu) a dummy
action that does nothing. Then I used the normal
'validateUserInterfaceItem:' mechanism to enable or disable the menu item
with that action, based on whether all of the submenu items were enabled or
not. You could
such a configuration, nor do I
understand how the various subviews should by organized, so that hiding one
view moves the remaining views into place. Could anyone provide or share some
tips please?
Thank you,
--
Luc Van Bogaert
___
Cocoa-dev mailing list
On 15 Jun 2011, at 23:12, Quincey Morris wrote:
On Jun 15, 2011, at 13:12, Luc Van Bogaert wrote:
As I said above, you aren't logging the responder chain, you're logging the
nextResponder tree, and not even all of that. Plus, all three tree structures
change over time as the UI
to the content pane. It seems
that the extra view and textfields have somehow broken the mechanism of the
responder chain to which the two other views belong.
I'm obviously missing something here, and hoping someone can point me in the
right direction.
--
Luc Van Bogaert
On 14 Jun 2011, at 22
On 14 Jun 2011, at 22:39, Quincey Morris wrote:
When you connect an action to First Responder, that doesn't mean that it's
sent to the first responder object, but rather that it's sent to the first
object in the responder chain that implements the action.
OK, I'm sure I understand this.
On 15 Jun 2011, at 19:25, Quincey Morris wrote:
On Jun 15, 2011, at 08:56, Luc Van Bogaert wrote:
I'm not sure I understand how to accomplish this. What I have already tried,
is message the window with makeFirstResponder: passing my view controllers
as a parameter. This initially seemed
On 15 Jun 2011, at 21:49, Quincey Morris wrote:
On Jun 15, 2011, at 12:12, Luc Van Bogaert wrote:
Because things still don't work, I have tried to visualize the responder
chain by adding this into applicationDidFinishLaunching:
NSResponder *nextResponder = [self.window nextResponder
view controllers, or is there some better way to solve this
problem?
--
Luc Van Bogaert
http://users.skynet.be/luc.van.bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
I'm using RapidWeaver, available from the AppStore.
--
Luc Van Bogaert
http://users.skynet.be/luc.van.bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
.
Thanks,
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your
would like to keep using IB to add my custom view to its container, and
benefit from the sizing and location attributes IB has to offer. How do I go
about to using the custom view, its nib file and the view controller in IB?
Could someone please point me in the right direction?
Thanks,
--
Luc Van
also close it correctly by sending it an orderOut: message.
I don't understand what is causing the window to be displayed non-modal the
first time after it is loaded from the nib. Could anyone please provide some
insights. Thank you.
--
Luc Van Bogaert
luc.van.boga...@me.com
these different files?
Thanks in advance.
--
Luc Van Bogaert
luc.van.boga...@me.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
Hello,
I would like to solicite some recommendations for an authoring tool to create
help books. I'm looking for a preferably freeware application, with a decent
html editor.
Thanks,
--
Luc Van Bogaert
luc.van.boga...@me.com
___
Cocoa-dev
the window.
Any help would be appreciated.
Thanks,
--
Luc Van Bogaert
luc.van.boga...@me.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev
datasource object (the app delegate) which is in
MainMenu.xib.
I hope this does not sound too complicated to some of you, and that someone
could provide some hints on how to proceed.
Thank you,
--
Luc Van Bogaert
luc.van.boga...@me.com
___
Cocoa-dev
.
When allocating and initializing the HistoryController from the app delegate, I
suppose I could somehow pass a reference to 'self' to the HistoryController
instance. Would this be the way to proceed?
--
Luc Van Bogaert
luc.van.boga...@me.com
) {
var1 = ...;
var2 = ...;
var3 = [self computerVar3With:var1:var2];
}
return self;
}
Or is it better to write the algorithm directly as part of the initializer?
Thanks,
--
Luc Van Bogaert
luc.van.boga...@me.com
the
NSTextField display a cursor instead, as if it was being edited manually. Could
anyone provide some help on how to so this? Thank you!
--
Luc Van Bogaert
luc.van.boga...@me.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
89 matches
Mail list logo