On May 22, 2011, at 11:52 AM, James Merkel wrote:
> I would like to add a capability to an application to search
> directories and sub-directories eventually opening all image files
> (basically using NSDirectoryEnumerator).
> Obviously, I can't allow the user to start at say the volume level
Ulf, das ist ein Array, warum tust Du also nicht einfach alle Extensions da
rein?
Oder habe ich Deine Frage nicht verstanden?
Gruß,
atze
Am 24.05.2011 um 22:38 schrieb Ulf Dunkel:
> Hi Kyle.
>
> On 24.05.2011 17:10, Kyle Sluder wrote:
>> On Tue, May 24, 2011 at 7:05 AM, Ulf Dunkel wr
Sorry for replying in German. I wanted to reply off list only but hit 'reply to
all'.
Translation:
That’s an array. Why don’t you just put all your extensions into it?
Am 25.05.2011 um 16:38 schrieb Alexander Spohr:
> Ulf, das ist ein Array, warum tust Du also nicht einfach alle Extensions da
On May 24, 2011, at 1:41 PM, Koen van der Drift wrote:
> I did some Cocoa/ObjC coding several years ago, but haven't really
> touched it since. I want to dive back in, and am looking for resources
> to brush up my knowledge, especially related to subjects like
> CoreData, CoreAnimation, etc. Besi
I spent a couple hours last night re-disovering Apple Bug ID #5905139 which was
supposedly opened three years ago by Mike Ash [1]. Mike said:
"I set LSUIElement to 1 in my Info.plist and use TransformProcessType() to bump
to a foreground application. This
works except that it fails to show my a
I have set the text property of myUITextView. Now I want to add more text that
is preceded by a crlf. I do this:
m_notes.text = [m_notes.text stringByAppendingString:[m_backing
objectAtIndex:index]];
where objectAtIndex:index is @"\r\n\r\nText to add"
The result is not what I expected ... \
The following code works for me on 10.6.7. Leaving out any of the calls after
TransformProcessType result in the problem you describe.
ProcessSerialNumber psn;
pid_t pid = getpid();
OSStatus err;
err = GetProcessForPID(pid, &psn);
err = TransformProcessType(&psn,
kP
Thank you for knocking my head on the table, Atze. That simple solution
made my day. (Sometimes the Xcode project settings interface drives me
nuts.)
- - - - -
On 25.05.2011 17:06, Alexander Spohr wrote:
Sorry for replying in German. I wanted to reply off list only but hit 'reply to
all'.
T
On 2011-05-25, at 2:10 PM, koko wrote:
>
> How does one get crlf into a UITextView?
I've put things on a new line by doing essentially:
m_notes.text = [m_notes.text stringByAppendingFormat:@"\n\n%@", [m_backing
objectAtIndex:index]];
At which point, the object would be @"Text to add". I'm not
Thank you, Phillip. I used your example exactly.
I had changed the string I was appending to @"\n\nText to Add" which also did
not work.
koko
"Don't fight the framework."
--Kyle Sluder
On May 25, 2011, at 1:23 PM, Phillip Mills wrote:
> On 2011-05-25, at 2:10 PM, koko wrote:
>>
>> How does
On May 25, 2011, at 1:10 PM, koko wrote:
> I have set the text property of myUITextView. Now I want to add more text
> that is preceded by a crlf. I do this:
>
> m_notes.text = [m_notes.text stringByAppendingString:[m_backing
> objectAtIndex:index]];
>
> where objectAtIndex:index is @"\r\n\
koko wrote:
I had changed the string I was appending to @"\n\nText to Add"
which also did not work.
You need to identify whether your string is a literal string in your
Objective-C source, or whether it's something loaded from somewhere
else.
If it's loaded from somewhere else, you nee
Hello list,
I am working on an application in which a user may insert, resize, and edit
text boxes in a workspace. We anticipate that a single user will have many
(possibly hundreds) of text items in a workspace. The user is also able to pan
and zoom in/out of a workspace. Because of the per
On May 25, 2011, at 2:37 PM, Ajay Sabhaney wrote:
> - Instead of trying to scale text linearly, use a transformation to scale the
> NSTextView and image representation appropriately. While this is easy to do
> with an image, I am having some issues scaling an NSTextView. I've tried
> subclas
On Wed, May 25, 2011 at 2:37 PM, Ajay Sabhaney wrote:
> Currently, zooming modifies the font sizes in the attributed string. I.e. if
> the text in a particular text box is 12pt at 100%, then zooming to 200%
> increases the font size to 24pt. Image representations of text are generated
> by us
Also, you should disable screen font substitution via -[NSLayoutManager
setUsesScreenFont:NO].
This is the main source of glyph advancement differences you're seeing.
Aki
On 2011/05/25, at 14:41, Douglas Davidson wrote:
>
> On May 25, 2011, at 2:37 PM, Ajay Sabhaney wrote:
>
>> - Instead of
I replaced NSDefaultRunLoopMode with NSModalPanelRunLoopMode, it is running
fine now. Open another modal window won't stop network process.
Thanks Graham.
On 24 May 2011, at 8:12 PM, Graham Cox wrote:
>
> On 24/05/2011, at 8:03 PM, Peter C wrote:
>
>> [iStream scheduleInRunLoop:[NSRunLoop cu
On Wed, 25 May 2011 08:52:31 ronald b. kopelman wrote:
On May 22, 2011, at 11:52 AM, James Merkel wrote:
I would like to add a capability to an application to search
directories and sub-directories eventually opening all image files
(basically using NSDirectoryEnumerator).
Obviously, I can't a
On Wed, May 25, 2011 at 7:34 PM, James Merkel wrote:
> Security shouldn't be an issue -- this application is for home use only.
Unless by "home use" you mean "my own personal home use," then you're
taking the wrong tack with respect to security.
It is your responsibility to follow best security
On May 25, 2011, at 7:34 PM, James Merkel wrote:
> Security shouldn't be an issue -- this application is for home use only.
> Allowing searches only of the home directory might be a reasonable approach.
Seems like a bad restriction. People may keep some of their files outside their
home directo
On May 25, 2011, at 8:18 PM, Kyle Sluder wrote:
On Wed, May 25, 2011 at 7:34 PM, James Merkel
wrote:
Security shouldn't be an issue -- this application is for home use
only.
Unless by "home use" you mean "my own personal home use," then you're
taking the wrong tack with respect to securit
On May 25, 2011, at 8:27 PM, Jens Alfke wrote:
On May 25, 2011, at 7:34 PM, James Merkel wrote:
Security shouldn't be an issue -- this application is for home use
only.
Allowing searches only of the home directory might be a reasonable
approach.
Seems like a bad restriction. People may
22 matches
Mail list logo