Re: setting NSScrollView content width to NSText width

2010-03-16 Thread Martin Hewitson
artin.hewitson%40aei.mpg.de > > This email sent to martin.hewit...@aei.mpg.de Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Universitaet Hannover Callinstr. 38, 30167 Hannover, Germany Tel: +49-511-762-17121, Fax: +49-

Re: NSTextView backed by core data, undo problems

2010-03-12 Thread Martin Hewitson
Thanks a lot, I'll proceed as suggested. Martin On Mar 12, 2010, at 9:07 AM, Kyle Sluder wrote: > On Thu, Mar 11, 2010 at 11:38 PM, Martin Hewitson > wrote: >> Thanks, Kyle. I figured the answer would be something like this. OK, then >> I'll need to rethink t

Re: NSTextView backed by core data, undo problems

2010-03-11 Thread Martin Hewitson
more difficult to achieve. If anyone has any good suggestions, I'd be delighted to hear them. Thanks again, Martin On Mar 11, 2010, at 8:52 PM, Kyle Sluder wrote: > On Thu, Mar 11, 2010 at 7:50 AM, Martin Hewitson > wrote: >> The nasty little problem I have is that if I

NSTextView backed by core data, undo problems

2010-03-11 Thread Martin Hewitson
h 'update continuously' off I get the more common behaviour of undoing the last word or at least recent group of actions. Does anyone have any insights in to what I might be doing wrong? I tried with a toy project and I'm getting the same results. Best wishes, Martin ~~~~~~

Re: NSTextView attachments and context menus

2010-03-09 Thread Martin Hewitson
here, only having to do the extra work and convert the > event's -locationInWindow to an index manually.) > Thanks a lot, Keith. That looks like the thing I need but somehow I didn't find it. I'll give it a try. Martin > All the best, > Keith > > > - O

Re: NSTextView attachments and context menus

2010-03-09 Thread Martin Hewitson
th a right-click instead of a single-click? > > I have another question about attachments, but I'll post that separately. > > Thanking you in advance, > > Martin > > > Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravi

Re: NSTextView attachments and context menus

2010-03-09 Thread Martin Hewitson
"Capture Selection from Screen". > > Before you display your menu, call [menu setAllowsContextMenuPlugIns:NO] to > disable those kinds of additions. Great! Thanks, Martin > > I hope that helps, > > ~Martin > Mar

NSTextView attachments and context menus

2010-03-08 Thread Martin Hewitson
o achieve what I want? 2) Where do these additional menu items come from? Are they services? 3) How could I do this with a right-click instead of a single-click? I have another question about attachments, but I'll post that separately. Thanking you in advance, Martin ~~~~~~

Re: Quotation marks in NSMenu

2010-03-06 Thread Martin Hewitson
Perfect. Thank you! Martin On Mar 6, 2010, at 10:35 AM, Ken Thomases wrote: > On Mar 6, 2010, at 2:53 AM, Martin Hewitson wrote: > >> I guess this is an easy question, but I couldn't find the answer with google >> (probably due to difficulties in phrasing the question).

Quotation marks in NSMenu

2010-03-06 Thread Martin Hewitson
I put quotation marks in a string in my own menu (setTitle:) then I just get 'normal' quotation marks. Does anyone know how to achieve the 'proper' quotation marks? Best wishes, Martin ~~~~ Martin Hewitson A

Re: NSOutlineView style issue.

2010-03-05 Thread Martin Hewitson
ns(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/martin.hewitson%40aei.mpg.de > > This email sent to martin.hewit...@aei.mpg.de Martin Hewitson Albert-Einstein-

[Solved] Re: Writing string to pasteboard on 10.5 causes crash

2010-03-02 Thread Martin Hewitson
dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/martin.hewitson%40aei.mpg.de > > This email sent to martin.hewit...@aei.mpg.de Martin Hewitson Albert-Ei

Writing string to pasteboard on 10.5 causes crash

2010-03-01 Thread Martin Hewitson
y advice gratefully received. I'd gladly send the app to anyone interested in running it. The SL working version can be found at: http://web.me.com/martinhewitson/BOBsoft/TeXnicle.html Thanks in advance, Martin Martin Hewitson Albert-Ei

Application defaults and toolbar items

2010-01-10 Thread Martin Hewitson
re a recommended way to handle this situation? Should I just tell the user that they should edit the toolbar to add the new button? Can I do something programatically to add the new button? Advice is very much welcome. Best wishes, Martin ~~~~ Ma

Re: A password strength checker

2010-01-09 Thread Martin Hewitson
ator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/martin.hewitson%40aei.mpg.de > > This email sent to martin.hewit...@aei.mpg.de

Re: A password strength checker

2010-01-07 Thread Martin Hewitson
ors at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/martin.hewitson%40aei.mpg.de > > This email sent to martin.hewit...@aei.mpg.de Martin Hewitson

Implementing search field in core-data app

2010-01-07 Thread Martin Hewitson
so nice since the relationship between categories and items is not automatically handled. Is there a 'correct' way to attack such a problem, or has someone else managed to implement a search interface something like Mail.app? Best wishes, Martin ~~~~~~

A password strength checker

2010-01-07 Thread Martin Hewitson
wishes, Martin ~~~~~~~~ Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Universitaet Hannover Callinstr. 38, 30167 Hannover, Germany Tel: +49-511-762-17121, Fax: +49-511-762-5861 E-Mail: martin.hewit...@aei.mpg.de WWW: http:/

problem binding search field predicate to derived core data property

2010-01-05 Thread Martin Hewitson
return contentStr; } + (NSSet *)keyPathsForValuesAffectingContentString { return [NSSet setWithObject:@"content"]; } Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Universitaet Hann

Implementing search field in core-data app

2010-01-04 Thread Martin Hewitson
so nice since the relationship between categories and items is not automatically handled. Is there a 'correct' way to attack such a problem, or has someone else managed to implement a search interface something like Mail.app? Best wishes, Martin ~~~~~~

Problem with NSTableView in NSSplitView

2009-11-22 Thread Martin Hewitson
me.com/martinhewitson/BOBsoft/Home/Entries/2009/11/23_Trouble_with_NSSplitview_and_NSTableView_files/SplitViewWithTable.zip Any clues gratefully received. Oh, forgot to mention, I'm using Xcode 3.2.1 on SL. Best wishes, Martin ~~~~ Martin Hew

Re: Synchronization & Core Data

2009-11-15 Thread Martin Hewitson
ist (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://lists.apple.com/mailman/options/cocoa-dev/martin.hewitson%40

Re: Array of dictionaries containing NSColor in NSUserDefaults

2009-11-12 Thread Martin Hewitson
On Nov 13, 2009, at 6:58 AM, Graham Cox wrote: > > On 13/11/2009, at 4:41 PM, Martin Hewitson wrote: > >> The point is to store an array of 'items' with a 'name' together with a >> 'color'. And later there may be more properties of an &#

Re: Array of dictionaries containing NSColor in NSUserDefaults

2009-11-12 Thread Martin Hewitson
On Nov 13, 2009, at 1:39 AM, Graham Cox wrote: > > On 13/11/2009, at 8:18 AM, Martin Hewitson wrote: > >> Has anyone tried something like this, or can anyone see what I'm doing wrong? > > > I'm a bit mystified by your data structure here. Why do you use a s

Array of dictionaries containing NSColor in NSUserDefaults

2009-11-12 Thread Martin Hewitson
the colors that are causing trouble. Has anyone tried something like this, or can anyone see what I'm doing wrong? Thanks in advance, Martin Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Universitaet Hanno

Re: View swap using "push" animation

2009-11-10 Thread Martin Hewitson
oa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/martin.hewitson%40aei.mpg.de This email sent to martin.hewit...@aei.mpg.de ~~~~ Martin Hewitson Albert-Einstein-Institut Ma

Re: code data export import strategies

2009-11-08 Thread Martin Hewitson
sts.apple.com/mailman/options/cocoa-dev/martin.hewitson%40aei.mpg.de This email sent to martin.hewit...@aei.mpg.de ~~~~~~~~ Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Universitaet Hannover Callinstr. 3

code data export import strategies

2009-11-08 Thread Martin Hewitson
in a couple of places that this was difficult to do, particularly the initWithCoder: part. Anyone tried this already? Many thanks, Martin Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Univers

Re: Core-data binding to all entities

2009-10-09 Thread Martin Hewitson
sController setSelectionIndexPaths:lastSelectedGroupsIndexPaths]; [lastSelectedGroupsIndexPaths release]; lastSelectedGroupsIndexPaths = nil; } } On Oct 02, 2009, at 02:39, Martin Hewitson wrote: Dear list, I have a simple core-data model with an entity 'Category' and an entity '

Core-data binding to all entities

2009-10-01 Thread Martin Hewitson
don't allow multiple selection on the outline view at the // moment. [notesArrayController bind:@"contentArrayForMultipleSelection" toObject:treeController withKeyPath:@"selecti...@distinctunionofarrays.notes"

parsekit on snow leopard

2009-08-30 Thread Martin Hewitson
ght I'd give it a try. Does anyone have a clue what I could try next, or does anyone know of any alternative to parsekit? I suppose I could also try installing the 10.5 SDK and go with that... Best wishes, Martin Martin Hewitson Al

Re: Snow Leopard SDK for non "Premier" or "Select" ADC members

2009-08-28 Thread Martin Hewitson
Martin Hewitson: As far as I can tell, even with the SL DVD and XCode 3.2 installed, you still can't access the documentation without being a Select or Premier developer. D'oh! I guess it's a matter of time Then I'm going to keep my fingers crossed that they will d

Re: Snow Leopard SDK for non "Premier" or "Select" ADC members

2009-08-28 Thread Martin Hewitson
sent to martin.hewit...@aei.mpg.de ~~~~ Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Universitaet Hannover Callinstr. 38, 30167 Hannover, Germany Tel: +49-511-762-17121, Fax: +49-511-762-5861

Re: Snow leopard build number

2009-08-28 Thread Martin Hewitson
Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Universitaet Hannover Callinstr. 38, 30167 Hannover, Germany Tel: +49-511-762-17121, Fax: +49-511-762-5861 E-Mail: martin.hewit...@aei.mpg.de WWW: http://www.aei.mpg.de

Re: Snow Leopard SDK for non "Premier" or "Select" ADC members

2009-08-28 Thread Martin Hewitson
t 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://lists.apple.com/mailman/options/cocoa-dev/martin.hewitson%40aei.mpg.de This email sent to martin.hewit...@aei.mpg.de ~

core-data app design question

2009-08-27 Thread Martin Hewitson
text, but am loath to do this. Best wishes, Martin ~~~~~~~~ Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Universitaet Hannover Callinstr. 38, 30167 Hannover, Germany Tel: +49-511-762-17121, Fax: +49-511-

Re: Problem with unbind:

2009-08-23 Thread Martin Hewitson
ntryArrayController setContent:results]; Not sure this is the most elegant way to do this, but it seems to work. On Aug 23, 2009, at 11:30 AM, Martin Hewitson wrote: Dear list, I've been trying to do some programmatic bindings because I want to change a binding depending on the state of a check box.

Problem with unbind:

2009-08-23 Thread Martin Hewitson
g to none or many categories. So I want to be able to show the list of entries that are in one or more categories, but also I want to show a full list, independent of the categories (the 'show all' feature). Best wishes, Martin ~~~

core data nsarraycontroller for all entities

2009-08-21 Thread Martin Hewitson
n IB with an array controller, but I haven't managed to figure out the bindings necessary for that so far. Does anyone have any suggestions? Cheers, Martin ~~~~ Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitatio

Re: NSSortDescriptor in core-data document app

2009-08-20 Thread Martin Hewitson
20, 2009, at 9:12 PM, Martin Hewitson wrote: Hi bryscomat, Thanks for the swift reply. I would implement a method in the File Owner of MyDocument.nib, call it "titleSortDescriptors" or something of the like. Then, in the nib file, I would bind the array controllers s

Re: NSSortDescriptor in core-data document app

2009-08-20 Thread Martin Hewitson
ly - only when the user clicks the 'add' button. Still puzzled over this one. Martin On Aug 20, 2009, at 12:29 PM, Martin Hewitson wrote: Dear all, I have a core-data document based app which uses an NSCollectionView to display entries of a single entity (Entry) in the data

NSSortDescriptor in core-data document app

2009-08-20 Thread Martin Hewitson
- perhaps setting the descriptors on the entryArrayConrtroller too early... Kind regards, Martin ~~~~ Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Universitaet Hannover Callinstr. 38, 30167 Hannover, Germany

Re: Intersection of CGPath and CGRect

2009-06-29 Thread Martin Hewitson
kinds of testing - feel free to use what's there. --Graham ~~~~ Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Universitaet Hannover Callinstr. 38, 30167 Hannover, Germany Tel: +49-511-762-17121, Fax: +49-511-762-5

Intersection of CGPath and CGRect

2009-06-28 Thread Martin Hewitson
Hi, Does anyone know a good way to test if a CGPathRef intersects a CGRect at any point? Thanks, Martin Martin Hewitson Albert-Einstein-Institut Max-Planck-Institut fuer Gravitationsphysik und Universitaet Hannover Callinstr. 38

<    1   2   3   4