Re: respondsToSelector - #import OR compiler warnings?

2008-12-29 Thread Steve Cronin
Ken; I think I get it now. In the simple case you describe below, use: someThing = [myObject performSelector:@selector(myMethod)] instead of someThing = [myObject myMethod] This seems quite useful!! performSelector's more ambitious cousins seem a tad less 'friendly' but I get th

Re: NSOutlineView

2008-12-29 Thread chaitanya pandit
Hi, Mahaboob, Did you try calling [outlineView reloadData] in ur launch method? -Chaitanya On 30-Dec-08, at 10:33 AM, Mahaboob wrote: My application uses an NSPopupButton and NSOutlineView. PopupButton shows all the table names in the database and the outlineView displays the data in the cor

Re: respondsToSelector - #import OR compiler warnings?

2008-12-29 Thread Quincey Morris
On Dec 29, 2008, at 22:06, Steve Cronin wrote: In the meantime, tweaked your snippet and just added this at the end of the header of the class where the -respondsToSelector: issue arose: //respondsToSelector silencer - see -myMethodName @interface NSObject (MyClassName) - (id) foo; @end This

Re: respondsToSelector - #import OR compiler warnings?

2008-12-29 Thread Ken Thomases
On Dec 30, 2008, at 12:06 AM, Steve Cronin wrote: Ken - I don't understand what you said about the method's signature's compliance with NSObject _protocol_. I looked at the protocol definition in the documentation and I just don't understand well enough to see what I could do to "side-step"

Re: NSColorWell shows no color

2008-12-29 Thread Quincey Morris
On Dec 27, 2008, at 02:13, tobias assmann wrote: I use some NSColorWell objects in a preference section of my view. User can chosse so me colors there. All works fine exept one thing. The NSColorWell objects are initialized with default values out of a NSColorList when the UI is opened. But

Tweaking a window size

2008-12-29 Thread Graham Cox
One of my windows has a delegate implementing the - windowWillResize:toSize: method. This forces the window size to be certain whole multiples of rows in a matrix of icons, the idea being to prevent the user from sizing the window so that only a partial row is visible, which is ugly. It work

Re: iTunes Scripting Bridge examples?

2008-12-29 Thread Scott Anguish
get.. I wasn't using get.. works perfectly now.. thanks! thanks scott On 30-Dec-08, at 12:51 AM, Charles Steinman wrote: On Mon, Dec 29, 2008 at 9:15 PM, Scott Anguish wrote: Does anyone have any examples of using the Scripting Bridge with iTunes? Specifically how you get the currently s

Re: Notification when NSPersistentDocument done loading model

2008-12-29 Thread Dave Fernandes
On Dec 28, 2008, at 7:31 PM, Richard Ashwell wrote: If I understand Philip, I am having the same challenge, It isn't enough for me to let NSPersistentDocument do the load, I want a notification or some way of knowing after the load is completed so that I can fix up other related stuff. Is

Re: Saving unseen NSView with subviews to NSImage

2008-12-29 Thread Rob Keniger
On 30/12/2008, at 4:11 PM, John Kestner wrote: So am I right in believing that drawRect: should not need to be explicitly called in each subview from within my custom view's drawRect:? In any case, see if you can make sense of this... Seems way too complicated to me. I have this in a cate

Re: Help using NSAppleScript

2008-12-29 Thread Rob Keniger
On 29/12/2008, at 9:04 AM, automa...@gmail.com wrote: I am new to Cocoa/Objective-C and new to the forum, so apologies if this is a newbie questions. I am trying to use NSAppleScript from Objective-C to execute the following one liner, and covert the result into an NSRect: "Tell applicat

Re: Saving unseen NSView with subviews to NSImage

2008-12-29 Thread John Kestner
So am I right in believing that drawRect: should not need to be explicitly called in each subview from within my custom view's drawRect:? In any case, see if you can make sense of this... // This is in my controller: - (IBAction) saveAllVisualizations: (id)sender { NSRect pRect = NSM

Re: respondsToSelector - #import OR compiler warnings?

2008-12-29 Thread Steve Cronin
Folks; Thanks for the rapid and thought-provoking responses!! Ken - I don't understand what you said about the method's signature's compliance with NSObject _protocol_. I looked at the protocol definition in the documentation and I just don't understand well enough to see what I could do to

Re: respondsToSelector - #import OR compiler warnings?

2008-12-29 Thread Bill Bumgarner
On Dec 29, 2008, at 9:09 PM, Ken Thomases wrote: To be clear, it's not the -respondsToSelector: expressions that are causing the warnings, it's the eventual invocations of the methods when you decide that some object does respond to them. If the method satisfies the signature requirements of

Re: Create UILabel to fit into text size

2008-12-29 Thread Dave DeLong
If you look in the NSString (UIStringDrawing) documentation, you'll see that NSString has a -sizeWithFont: method that returns a CGSize, which will be the bounding box for that string when its drawn with the passed in UIFont. You can then use that size as part of the CGRect for constructin

iTunes Scripting Bridge examples?

2008-12-29 Thread Scott Anguish
Does anyone have any examples of using the Scripting Bridge with iTunes? Specifically how you get the currently selected tracks returned as an array of iTunesTrack items. Thanks Scott ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: respondsToSelector - #import OR compiler warnings?

2008-12-29 Thread Ken Thomases
On Dec 29, 2008, at 10:56 PM, Kyle Sluder wrote: On Mon, Dec 29, 2008 at 11:49 PM, Steve Cronin wrote: Call me finicky if you want but I love spanking clean compiles. Not finicky; appropriately cautious. But this is going to happen whenever you start deciding to invoke methods based on -re

NSOutlineView

2008-12-29 Thread Mahaboob
My application uses an NSPopupButton and NSOutlineView. PopupButton shows all the table names in the database and the outlineView displays the data in the corresponding table selected from the popupButton. It is working fine. I also need to display one default table's data in the outlineView when I

Create UILabel to fit into text size

2008-12-29 Thread Tharindu Madushanka
Hi I am new to iPhone application development and please help me on this. I need to add the contents in a text field to a UILabel. But I can't guess how long the string in the text field be. There fore, can I make a UILabel from the text ( I mean to fit the text to UILabel size). I have searched bu

Newline and Carriage return problem..

2008-12-29 Thread Ramachandra V N
Hi all, I need to parse a file that existed in server and that file and its data is created by Window's exe. Since after each line two characters will be appended, that is one is new line and carriage return. However, if I create the file(Created by Mac App), after appending new line cha

Re: Notification when NSPersistentDocument done loading model

2008-12-29 Thread Richard Ashwell
If I understand Philip, I am having the same challenge, It isn't enough for me to let NSPersistentDocument do the load, I want a notification or some way of knowing after the load is completed so that I can fix up other related stuff. Is there someway to at a minimum: 1) In some overridd

Help using NSAppleScript

2008-12-29 Thread automandc
I am new to Cocoa/Objective-C and new to the forum, so apologies if this is a newbie questions. I am trying to use NSAppleScript from Objective-C to execute the following one liner, and covert the result into an NSRect: "Tell application \"Finder\" to return (bounds of window of desktop)"

SOAP Client - OpenSource - looking for supporting developpers

2008-12-29 Thread Marc De Roover
Ladies & Gentlemen, Allow me te introduce to you some superb developer tools by Todd Ditchendorf: http://www.scan.dalo.us/ One of these tools is SOAP Client: SOAP Client is a free Cocoa-based developer tool for Mac OS X Tiger that allows you access and debug WSDL & SOAP-based Web Se

NSColorWell shows no color

2008-12-29 Thread tobias assmann
Hello all, I hope my question is not that stupid. I wouldn`t ask, if I knew anything more to do. Seems like I am stuck with this: I use some NSColorWell objects in a preference section of my view. User can chosse so me colors there. All works fine exept one thing. The NSColorWell objects are i

Re: respondsToSelector - #import OR compiler warnings?

2008-12-29 Thread Graham Cox
On 30 Dec 2008, at 3:49 pm, Steve Cronin wrote: The functionality is fine but the compiler warnings for "no 'foo' method found" bug me. Call me finicky if you want but I love spanking clean compiles. On the contrary, clean compiles with no warnings (even with many extra warnings enabled)

paragraph styles in NSTextView--help

2008-12-29 Thread rethish
hi, I want to use different combinations of paragraph styles in nstextview . for example : combination of linespacing, paragraphspacing, headindent and tailindent . These all styles must be activated in a single operation ,such as in a single buttonclick etc. Is this possible? please help. tha

Re: respondsToSelector - #import OR compiler warnings?

2008-12-29 Thread Kyle Sluder
On Mon, Dec 29, 2008 at 11:49 PM, Steve Cronin wrote: > Call me finicky if you want but I love spanking clean compiles. Not finicky; appropriately cautious. But this is going to happen whenever you start deciding to invoke methods based on -respondsToSelector:. The compiler needs to know some a

respondsToSelector - #import OR compiler warnings?

2008-12-29 Thread Steve Cronin
Folks; I have some methods which might be handled by one of several objects. So I have a set of if ( [objectX respondsToSelector:@selector(foo)] ) {... } else if ( [objectY respondsToSelector:@selector(foo)] ) {... } The functionality is fine but the compiler warnings for "no 'foo'

Scrollwheel ignores line scroll setting in NSScrollView - bug?

2008-12-29 Thread Graham Cox
The scrollwheel input ignores NSScrollView's -setVerticalLineScroll: setting. Is this intentional, or should I file a bug? Is there a way to fix this behaviour other than subclassing that I've missed? It's pretty annoying. --Graham ___ Cocoa-d

Re: [SOLVED!] Re: Printing a range of text in a particular container --

2008-12-29 Thread Martin Wierschin
Considering the prevalence of sidebars and insets in printed material, I'm surprised that there isn't some discussion of this issue somewhere (at least I haven't found it...) Is the Apple Way to just use RTF or XML with style sheet for this kind of embellishment? I think it's probably ex

Re: populate/resize an already open NSMenu in background

2008-12-29 Thread Martin Wierschin
Hi Peter, I have a menu that needs to be populated on demand, so I've set an NSMenu delegate and note the update request in "menuNeedsUpdate:". ... The problem is that the NSMenu will not resize itself to show items added from outside of "menuNeedsUpdate:". ... A third possible cause is tha

Re: Overriding NSHTTPCookieStorage for WebView

2008-12-29 Thread Mr. Gecko
so your saying to make it set up the cookies headers for the NSURLRequest? if I do that, how can I get the setcookie header from the server? On Dec 29, 2008, at 5:25 PM, Mike Abdullah wrote: The system really isn't designed for this sort of thing sadly :( How about instead, setting up a WebR

Re: Overriding NSHTTPCookieStorage for WebView

2008-12-29 Thread Mike Abdullah
The system really isn't designed for this sort of thing sadly :( How about instead, setting up a WebResourceLoadDelegate to modify all outgoing URL requests doing: [aRequest setHTTPShouldHandleCookies:NO] You can then again use the WebResourceLoadDelegate methods to receive the URL respons

Re: Very strange behaviour of NSCollectionView

2008-12-29 Thread Sandro Noel
Matteo, Did you ever get a response on this issue? Did you find a solution ? I am having the exact same problem. Thank you! Sandro Noel. On 20-Nov-08, at 4:21 AM, Matteo Manferdini wrote: Hi everyone. I'm battling against a very strange behaviour of NSCollectionView. To tell the truth this

Re: Overriding NSHTTPCookieStorage for WebView

2008-12-29 Thread Mr. Gecko
Ok I finally got it together, the problem I'm having now is that WebView calls [NSHTTPCookieStorage(NSPrivate) _cookieStorage] and than goes to debugger. I know it works because I tried NSLog(@"%@", [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookies]); and it outputs an empty array like

Re: Quartz Bindings

2008-12-29 Thread Jay Kickliter
Matt, thanks. This suggestion worked: [patchController setValue[NSNumber numberWithFloat:pitch] forKeyPath:@"patch.pitch.value"] The strange thing is that I tried something almost identical to this that didn't work. I can't remember what I did, but your idea is working great. Next step

outlineViewSelectionDidChange not always being called on remove

2008-12-29 Thread christophe mckeon gonzalez de leon
hi, i've got an NSOtlineView, and an NSTreeController working together with core data. i've just added a delete menu item which invokes remove like so if treeController canRemove treeController remove the problem is that sometimes when i delete, my outline view delegate gets sent an outlineV

Re: Saving unseen NSView with subviews to NSImage

2008-12-29 Thread I. Savant
On Mon, Dec 29, 2008 at 4:41 PM, John Kestner wrote: > Yep, they're actual subviews nested in my custom view, double-checked by > going to list view in IB. You may need to post your "Save All Visualizations" code. This is hard to "visualize" without it (pun intended). -- I.S. _

Re: Saving unseen NSView with subviews to NSImage

2008-12-29 Thread John Kestner
Yep, they're actual subviews nested in my custom view, double-checked by going to list view in IB. On Dec 29, 2008, at 4:28 PM, I. Savant wrote: Just by way of a quick reply, are you sure your subviews are actually nested subviews in IB? In other words, you're sure you haven't merely dropped

newbie question, core data app startup

2008-12-29 Thread Chris Benedict
Hello, I'm working on a Core Data Application with a custom atomic store for encrypting the persistent storage file. I believe I finally was able to get the atomic store working however my problem now is that I need to be able to use a user supplied password as an option when initializin

Re: Saving unseen NSView with subviews to NSImage

2008-12-29 Thread I. Savant
On Mon, Dec 29, 2008 at 4:02 PM, John Kestner wrote: > I guess I just don't understand why an NSView will draw all its subviews to > screen, but when I try doing it offscreen into a file, the subviews won't > draw without a lot of work. Any advice is appreciated. Just by way of a quick reply,

Re: Pull Down Toolbar Item

2008-12-29 Thread Carmen Cerino Jr.
I am now 99% sure that its drawing method is doing something awkward. Here are the results of what happened when I implemented my own draw method: http://screencast.com/t/FbOLyvgDS On Mon, Dec 29, 2008 at 3:41 PM, Carmen Cerino Jr. wrote: > For the clipping issue, I am 95% sure it has to do with

Re: Saving unseen NSView with subviews to NSImage

2008-12-29 Thread John Kestner
Hate to be a pest, but had to throw this one up again in case it got lost over the holiday. I figure drawing offscreen with subviews created in IB has got to be common enough that someone would know the right strategy. I can do what I want with [NSString drawAtPoint:withAttributes:] but tha

Re: Pull Down Toolbar Item

2008-12-29 Thread Carmen Cerino Jr.
For the clipping issue, I am 95% sure it has to do with how NSPopUpButton draws the image. If you look at the following screen capture, you will notice the NSButton and NSPopUpButton differ greatly on how they draw their images. http://screencast.com/t/zXY5sLZP On Mon, Dec 29, 2008 at 3:18 PM, Car

Re: Sizing text to fit into UITextView

2008-12-29 Thread Jason Foreman
On Mon, Dec 29, 2008 at 1:57 PM, Steve Wetzel wrote: > Is there any easy way to change the size of the font so a string will fit > into UITextView? You'll probably want to look at the stuff in the NSString UIKit additions. I believe the category is UIDrawing. There you'll find various methods t

Re: Pull Down Toolbar Item

2008-12-29 Thread Andy Lee
On Dec 29, 2008, at 10:00 AM, Carmen Cerino Jr. wrote: [...] However, I am NOT refering to the delayed menu. [...] look at XCode's toolbar item, you will notice the location of the pulldown triangle is different. I am just curious as to how they got it positioned more to the bottom right of the

Sizing text to fit into UITextView

2008-12-29 Thread Steve Wetzel
Is there any easy way to change the size of the font so a string will fit into UITextView? ___ 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

Re: Overriding NSHTTPCookieStorage for WebView

2008-12-29 Thread Andy Lee
You need to look more closely at the docs for +poseAs:. --Andy On Dec 29, 2008, at 12:19 PM, Mr. Gecko wrote: when I change it from NSObject to NSHTTPCookieStorage it says this objc[87581]: MYHTTPCookieStorage: [MYHTTPCookieStorage poseAs:NSHTTPCookieStorage]: MYHTTPCookieStorage defines new

Re: [SOLVED--AGAIN] Re: Printing a range of text in a particular container --

2008-12-29 Thread John Velman
Martin -- still thanks, but, I found a fourth method: NSLayoutManager -setTextContainer:forGlyphRange: This is embarrassing because I've been pouring over all the text guidelines and class documentation for days now, and didn't see this until after I got your response and tried it. I stumbled o

Re: Pull Down Toolbar Item

2008-12-29 Thread j o a r
On Dec 29, 2008, at 10:04 AM, Carmen Cerino Jr. wrote: You need to subclass in order to get validation working. That is the only reason I can think of why it needs to be a subclass Can you describe the type of validation that you're interested in performing? Simple validation should work

Re: Pull Down Toolbar Item

2008-12-29 Thread j o a r
On Dec 29, 2008, at 10:59 AM, Carmen Cerino Jr. wrote: The setArrowPosition and preferedEdge methods do not work for me. I followed the documentation to get the arrow to appear in the lower right corner pointing down and nothing happens. Please file a bug report. At the very least, the doc

Re: Pull Down Toolbar Item

2008-12-29 Thread Carmen Cerino Jr.
The setArrowPosition and preferedEdge methods do not work for me. I followed the documentation to get the arrow to appear in the lower right corner pointing down and nothing happens. On Mon, Dec 29, 2008 at 1:04 PM, Carmen Cerino Jr. wrote: > Any particular reason to use a subclass? You should be

Re: How do I include a URL in a preprocessed Info.plist?

2008-12-29 Thread Isaac Wankerl
On Sat, Dec 27, 2008 at 6:22 AM, Graham Cox wrote: > I'm preprocessing my info.plist file so I can automatically update it with > version number, etc. > > I want to include a URL in my plist (to support Sparkle) but Xcode won't > let me. If I include the URL directly, it causes an error (xml pars

Re: Pull Down Toolbar Item

2008-12-29 Thread Carmen Cerino Jr.
> > Any particular reason to use a subclass? You should be able to use a plain > NSTollbarItem, and set the pop-up button using "-setView:" You need to subclass in order to get validation working. That is the only reason I can think of why it needs to be a subclass As you have noted, you need to

Re: How Does Autorelease Pool Work?

2008-12-29 Thread j o a r
On Dec 29, 2008, at 9:00 AM, Oleg Krupnov wrote: I am a newbie to Cocoa Memory Management (have been using GC so far), and I'd like to make sure that my understanding is correct. - It follows that the actual releasing of objects registered in the auto-release pool is deferred until the ent

[SOLVED!] Re: Printing a range of text in a particular container --

2008-12-29 Thread John Velman
Thanks, Martin. I hadn't found the fact that the form feed character (also \f, inside q quoted string) would cause the break and move to the new container. This works for my current testing (I'm just writing a test program to explore the text system and what tricks I can do with it). If I need

Re: Overriding NSHTTPCookieStorage for WebView

2008-12-29 Thread Mr. Gecko
when I change it from NSObject to NSHTTPCookieStorage it says this objc[87581]: MYHTTPCookieStorage: [MYHTTPCookieStorage poseAs:NSHTTPCookieStorage]: MYHTTPCookieStorage defines new instance variables On Dec 29, 2008, at 10:57 AM, Mike Abdullah wrote: Perhaps you could explain why you've f

Re: Overriding NSHTTPCookieStorage for WebView

2008-12-29 Thread Mr. Gecko
Well I'm not wanting to use the default cookie system because I'm trying to make a secure browser which wont save the cookies and would reset the cookies if inactive and so on so forth. I did some more tests and tried to do poseAsClass in the main and I get this message in the debug output ob

How Does Autorelease Pool Work?

2008-12-29 Thread Oleg Krupnov
I am a newbie to Cocoa Memory Management (have been using GC so far), and I'd like to make sure that my understanding is correct. Let's assume, for the sake of simplicity, that I don't explicitly create nested auto-released pools, don't detach new threads, use Cocoa and AppKit etc., and rely on th

Re: Overriding NSHTTPCookieStorage for WebView

2008-12-29 Thread Mike Abdullah
Perhaps you could explain why you've felt the need to write a custom cookie storage system? I think it would help us figure the best solution. Bear in mind that NSHTTPCookieStorage's design is quite complicated in that it synchronises with all instances in other apps. Mike. On 29 Dec 2008,

Re: Overriding NSHTTPCookieStorage for WebView

2008-12-29 Thread Mr. Gecko
Anybody at least knows how to use poseAsClass in 10.5, I think that's the problem. On Dec 28, 2008, at 7:52 PM, Mr. Gecko wrote: Hello, I'm trying to make my own cookie storage system for WebView and to do that I've found that I need to override NSHTTPCookieStorage but when I do that how c

Re: Google Maps Class / Library

2008-12-29 Thread Robert Marini
There are a few floating around but there are any number of licensing issues that arise as a result. Google doesn't provide their tileset for cheap and I've not heard of any success stories w/r/t obtaining said license from anyone who isn't a huge-ish company. Your best bet would be to co

Re: Pull Down Toolbar Item

2008-12-29 Thread j o a r
On Dec 29, 2008, at 7:00 AM, Carmen Cerino Jr. wrote: In order to create the item, I started with a subclass of NSToolbarItem that has a NSPopupButton for its view. Any particular reason to use a subclass? You should be able to use a plain NSTollbarItem, and set the pop-up button using "-

Pull Down Toolbar Item

2008-12-29 Thread Carmen Cerino Jr.
Howdy, I would like to create a pull down toolbar item similar to what Xcode has for a few of its toolbar items. However, I am NOT refering to the delayed menu. In order to create the item, I started with a subclass of NSToolbarItem that has a NSPopupButton for its view. The image for the toolbar

Google Maps Class / Library

2008-12-29 Thread Joseph Crawford
Anyone know if there is a class or library for working with Google Maps in Cocoa? ___ 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(a

Re: NSSlider: How to set a parameter value?

2008-12-29 Thread Graham Cox
On 30 Dec 2008, at 12:55 am, Marcelo Cicconet wrote: But how can I move the playback position to another point of the sound via a slider? In your controller object, implement an action method like: - (IBAction)soundTimeAction:(id) sender { [mySound setCurrentTime:[sender floatVa

Re: NSSlider: How to set a parameter value?

2008-12-29 Thread Marcelo Cicconet
I'd like to control the playback position of a sound managed by the NSSound class. I just know how to update the playback position based on the sound current time: [playbackSlider setFloatValue:[sound currentTime]/[sound duration]]; But how can I move the playback position to another point of the

NSForm

2008-12-29 Thread AppDev
Hi list, I was reading up on NSForm but the documentation is a bit lacking...(either that or the post christmas period has me in a haze...) I was wondering two things: - Is it possible to have multiple items per row (row 1: text field spanning 2, row 2: 2 text fields) ? - Is it possible to ha

Re: Find with Nonspacing_Mark

2008-12-29 Thread Gerriet M. Denkmann
On 29 Dec 2008, at 14:46, Aki Inoue wrote: The standard operation here is to always match characters at the grapheme cluster boundaries. Since SARA U is a non-spacing mark, we don't allow partial matching. Trying to cause partial matching, even for Thai/Indic/Hebrew/Arabic scripts that so

Re: NSSlider: How to set a parameter value?

2008-12-29 Thread Graham Cox
On 29 Dec 2008, at 9:31 pm, Marcelo Cicconet wrote: Hi.How do I use a slider to set a parameter value? What have you tried? What do *you* mean by 'parameter value'? Hooking up a slider to another object - usually a controller - you can use target/action and bindings, to name the most com

NSSlider: How to set a parameter value?

2008-12-29 Thread Marcelo Cicconet
Hi.How do I use a slider to set a parameter value? Thanks. Marcelo C. ___ 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.c

Re: Framework deployed to 'Resources' not 'Frameworks' in Contents

2008-12-29 Thread Graham Cox
On 29 Dec 2008, at 8:26 pm, Steve Cronin wrote: Folks; I've got two targets built from the same project: Big and Little Big has many resources, source files, as well as several frameworks that are copied and then deployed to a 'Frameworks' directory in the app file's 'Contents'. Little h

Framework deployed to 'Resources' not 'Frameworks' in Contents

2008-12-29 Thread Steve Cronin
Folks; I've got two targets built from the same project: Big and Little Big has many resources, source files, as well as several frameworks that are copied and then deployed to a 'Frameworks' directory in the app file's 'Contents'. Little has many fewer of the resources and sources and only

Re: A Mac App & helper NSStatusItem - how to share preferences

2008-12-29 Thread Steve Cronin
Kyle; Thanks for that pointer! Based on the documentation you cited I've now got the reading of NSUserDefaults functioning! In the hopes that it might be useful to someone else, I include these 'Cocoa friendly' methods. I grant that there are some improvements which could be made, I incl

Re: Find with Nonspacing_Mark

2008-12-29 Thread Aki Inoue
Actually Thai vowels are not considered a diacritics and, thus, not ignored by the flag. Also, note that, even though it is true we sometimes take advantage of ICU from our frameworks, it is an implementation detail and should not be considered always true. In this particular case, we're

Re: Find with Nonspacing_Mark

2008-12-29 Thread Aki Inoue
The standard operation here is to always match characters at the grapheme cluster boundaries. Since SARA U is a non-spacing mark, we don't allow partial matching. Trying to cause partial matching, even for Thai/Indic/Hebrew/Arabic scripts that some of non-spacing marks are vowels, is cosider