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
ld 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/Unsubscribe/Update
> On 14 Dec 2015, at 22:51, Roland King wrote:
>
>
>> On 15 Dec 2015, at 04:10, Luc Van Bogaert > <mailto:luc.van.boga...@me.com>> wrote:
>>>
>>
>>
>> I tried what you suggested and made a button subclass and just declared
>>
agged 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 accepted as confor
> On 14 Dec 2015, at 00:18, Quincey Morris
> wrote:
>
> On Dec 13, 2015, at 14:59 , Luc Van Bogaert <mailto:luc.van.boga...@me.com>> wrote:
>>
>> I have a NSButton subclass that I want to conform to
>> NSValidatedUserInterfaceItem, so I can call valida
uires 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
_
> On 30 Nov 2015, at 22:57, Quincey Morris
> wrote:
>
> On Nov 30, 2015, at 12:18 , Luc Van Bogaert wrote:
>>
>> I can see this is being called when I make any selection change; except when
>> I delete the (last) selected row. Deleting the second last row doe
> On 30 Nov 2015, at 20:28, Quincey Morris
> wrote:
>
> On Nov 30, 2015, at 11:07 , Luc Van Bogaert <mailto:luc.van.boga...@me.com>> wrote:
>>
>> I have noticed that TableviewSelectionDidChange(_:) is not called in my
>> tableview delegate when after
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,
> On 07 Nov 2015, at 10:09, Luc Van Bogaert wrote:
>
>> On 07 Nov 2015, at 01:56, Quincey Morris
>> > <mailto:quinceymor...@rivergatesoftware.com>> wrote:
>>
>> On Nov 6, 2015, at 15:23 , Luc Van Bogaert > <mailto:luc.van.boga...@me.com>>
> On 07 Nov 2015, at 01:56, Quincey Morris
> wrote:
>
> On Nov 6, 2015, at 15:23 , Luc Van Bogaert <mailto:luc.van.boga...@me.com>> wrote:
>>
>> In a tableview with a content binding and a value binding on the table cell
>> view textfields to the m
alidateKey(_ :) 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 wr
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
hat 'grows' upwards.
--
Luc Van Bogaert
DotSketcher - www.rixhon.be
> Op 03 Oct 2014 om 03:15 heeft Graham Cox het
> volgende geschreven:
>
>
>> On 3 Oct 2014, at 7:13 am, Luc Van Bogaert wrote:
>>
>> I want the table to populate 'from the bottom to the
ssed more clear what I 'm looking for.
--
Luc Van Bogaert
> Op 02 Oct 2014 om 23:06 heeft Jonathan Hull het volgende
> geschreven:
>
> Have you considered just inverting the data source?
>
> Thanks,
> Jon
>
>
>> On Oct 2, 2014, at 12:45 PM, Luc
tableview 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-de
On 13 Sep 2014, at 00:11, Luc Van Bogaert wrote:
>
>> Op 12 Sep 2014 om 23:40 heeft Quincey Morris
>> het volgende geschreven:
>>
>>> On Sep 12, 2014, at 13:57 , Luc Van Bogaert wrote:
>>>
>>> When I try to close the inspector panel in my
> Op 12 Sep 2014 om 23:40 heeft Quincey Morris
> het volgende geschreven:
>
>> On Sep 12, 2014, at 13:57 , Luc Van Bogaert wrote:
>>
>> When I try to close the inspector panel in my document base application, I'm
>> getting the default alert message
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
Descripti
On 10 Sep 2014, at 23:32, Ken Thomases wrote:
> On Sep 10, 2014, at 4:07 PM, Luc Van Bogaert wrote:
>
>> No succes so far with this.
>>
>> I subclassed NSPanel and overridden:
>>
>> - (BOOL) becomesKeyOnlyIfNeeded
>> {
>> ret
On 10 Sep 2014, at 01:56, Kyle Sluder wrote:
> On Tue, Sep 9, 2014, at 06:42 PM, Graham Cox wrote:
>>
>> On 10 Sep 2014, at 7:13 am, Luc Van Bogaert
>> wrote:
>>
>>> This opens the panel without making it key, which is OK, but it still makes
>&
ing it key, 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 ma
could do this little magnification trick 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
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 wrote:
> you may wish to investigate the quartz blend modes, e.g.
> kCGBlendModeDifference might work for you.
>
>
> On Sep
cces. Is this at all 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.a
ind of layout issue with the subview playing
its role, but I really haven't got much 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
__
', and the document gets all the
notifications, but 'new' as well as 'old' value in the change dictionary are
always 'null', even though I can get a hold of the selected object using
'[object selectedObjects]'. So why is t
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" het
> volgende geschreven:
>
> Is there a way to create multiple color wells in a way similar to how
this doen't every time though, but just
from time to time.
For now, I add 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
On 10 Aug 2014, at 19:15, Quincey Morris
wrote:
> On Aug 10, 2014, at 09:01 , Luc Van Bogaert wrote:
>
>> I was thinking of using a weak property for my custom view to reference the
>> document and set this property from the same windowDidLoad: method, but I'm
>&g
m the same 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
ath when sending addObject: or removeObject: 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?
ss" functionality. Again, this almost 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
___
Coco
NSDocumentController
and override 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 mail
On 11 Nov 2012, at 19:03, Quincey Morris
wrote:
> On Nov 11, 2012, at 04:09 , Luc Van Bogaert wrote:
>
>> However, when my application is not active when the file is dropped, the
>> message to the windowcontroller is never sent.
>>
>> Here&
I'd rather not take focus away 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 th
g offered for free on the App Store 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
___
xtfield.
On 27 Oct 2012, at 16:06, Luc Van Bogaert 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 inde
s that I'm 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 wrote:
> On Oct 27, 2012, at 4:26 AM, Luc Van Bogaert wrote:
>
>> The textfield alignment is b
I set the enum 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 modera
On 10 Oct 2012, at 11:45, Ken Thomases 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
&
nil];
}
Here also, I'm only seeing the original English text instead of the localized
version that's available in the Localized.strings file.
All the other string recources in my code get translated correctly.
Could anyone please help me find out what it is I'm missin
nd results 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,
--
o create 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 V
advice 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(at)lists.apple.com
Help/Unsubscr
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
>> documen
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
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/Unsubs
orarily 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
___
Cocoa-dev mailing list (Cocoa-dev@li
nd then use the animator proxies. Afterwards,
I'm restoring the delegate and the autoresizing behaviour back to their
original values. Again, this all works if the subviews were not first collapsed
by dragging the divider.
--
Luc Van Bogaert.
___
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 cleani
k fine this way, 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
--
ve those around in my model array?
>
> If the latter; what kind of identifier could be used for this? Some kind of
> ivar with a unique value? How to generate something like this?
--
Luc Van Bogaert
___
Cocoa-dev mailing list (Cocoa-dev@
s?
Thanks for any advice 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
Hel
hanks 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 the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/U
nerally add 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 moderato
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) a
resentedObject.printSettings.checkboxvalue"],
nil];
}
Any help much 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.
Contac
election 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
his
code is used 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 f
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
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?
>
&g
what would be needed, in this context, to get the Dot views
to redraw 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.
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 a
g part of the latter 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 (Co
lly the subviews are animated to their desired position
and size, the result is not what was expected.
I solved this problem by temporarily replacing the splitview delegate with
'self' as a delegate (only implementing 'splitView:shouldHideDividerAtIndex:')
prior to
>> 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.
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
>> action
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.
>>
>
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
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?
>
>
doesn't work, as the
windowcontrollers 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
ld be used to implement 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
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
> chan
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:
>>
>> NSResp
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 con
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.
ng an extra view with textfields 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.
--
elegate
instead of in my 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
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.
Contac
ppreciated.
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/U
rection?
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-admins(at)lists.apple.com
Hel
runs, the sheet is displayed correctly "tied" to the
window, and I can 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 pro
all 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
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
___
Coco
o open 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
thods. I'm sure it's pretty obvious, but
clearly I'm still missing something.
When allocating and initializing the HistoryController from the app delegate, I
suppose I could somehow pass a reference to 'self' to the HistoryController
ins
y.xib with it's 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
__
if (self) {
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
t, and have 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)
Ple
90 matches
Mail list logo