On 17 Oct 2009, at 00:46, Charles Srstka wrote:
On Oct 16, 2009, at 5:42 PM, Ian Piper wrote:
The Text View is simply used as a place for the user to put any
rich text and or images. Is there a way either to search or to get
all of the plain text out from such a Text View? It's probably a
On 17 Oct 2009, at 05:18, Jens Alfke wrote:
On Oct 16, 2009, at 3:42 PM, Ian Piper wrote:
The Text View is simply used as a place for the user to put any
rich text and or images. Is there a way either to search or to get
all of the plain text out from such a Text View? It's probably a
On Oct 16, 2009, at 10:31 PM, Mike Wright wrote:
1. Single Fonts with the .ttf file extension have only a data
fork, and the name of the file seems to be the name of the font.
Not necessarily. The filename is not part of the font, so it can be
arbitrary, and a lot of the time it's not the
On Oct 16, 2009, at 11:21 PM, Ian Piper wrote:
That would suit me well if I could just understand how to tap into
it. I can set up filterPredicates in IB for other attributes in my
data model but not for the one that is displaying its content in the
NSTextView.
Why are you using
On 16.10.2009, at 11:43, Graham Cox wrote:
On 16/10/2009, at 7:12 PM, Uli Kusterer wrote:
But you don't have to let Xcode frustrate you like this - you can
define your own templates for all of the stubs it inserts.
How? Where?!!! :-D
Hi,
I'm having difficulty getting a NSSearchField to work properly in an
NSStatusItem. What I would like to do is something similar to the
spotlight status bar item and the search field that pops up.
After I create my view containing the NSSearchField and a also a
simple menu in
Hmm. Ok.
Could I sub class NSManagedObject then add the following code to make it
observe objects as they are added or fetched?
- (void) awakeFromFetch {
[self addObserver:[NSApp delegate] forKeyPath:@name
options:NSKeyValueObservingOptionNew context:nil];
}
- (void) awakeFromInsert {
On 17/10/2009, at 6:24 PM, Uli Kusterer wrote:
What do project templates have to do with code completion? The
comments don't mention how to customize code completion stubs
either. Did I overlook something?
I didn't say anything about code completion. I understood the OP to be
talking
On Oct 17, 2009, at 02:37 AM, Jens Alfke wrote:
On Oct 16, 2009, at 10:31 PM, Mike Wright wrote:
1. Single Fonts with the .ttf file extension have only a data
fork, and the name of the file seems to be the name of the font.
Not necessarily. The filename is not part of the font, so it can
On 2009 Oct 17, at 04:55, Joshua Garnham wrote:
Could I sub class NSManagedObject to make it observe objects as they
are added or fetched?
Well, first of all, let me rephrase your question. What you're
suggesting is to add an observer of the name property as objects are
inserted or
In the Garbage Collection Programming Guide: Architecture [1], an example is
given of a set of non-GC getters and setters which use @synchronized(self)
to control the access to the ivar, and in the setter to protect the
releasing of the old object and retaining of the new. Then, a GC example is
On 17.10.2009, at 17:38, BJ Homer wrote:
In the Garbage Collection Programming Guide: Architecture [1], an
example is
given of a set of non-GC getters and setters which use @synchronized
(self)
to control the access to the ivar, and in the setter to protect the
releasing of the old object
On Oct 17, 2009, at 8:38 AM, BJ Homer wrote:
But assuming that you
wanted it there in the first place, why does the GC version not need
the
synchronization?
Under GC, object reference assignments -- scanned pointer assignments,
technically -- are, in and of themselves, atomic. Note
Hi Kevin.
This occurs with both IB 3.2.1 on 10.6 and IB 3.1.2 on 10.5.
In the IB info window I get these warnings:
1) The 'delegate' outlet of 'AHTSessionWindow' is connected to 'File's
Owner' but 'delegate' is no longer defined on AHTWindow.
2) The 'window' outlet of 'File's Owner' is
On Sat, Oct 17, 2009 at 12:18 PM, Bill Bumgarner b...@mac.com wrote:
On Oct 17, 2009, at 8:38 AM, BJ Homer wrote:
But assuming that you
wanted it there in the first place, why does the GC version not need the
synchronization?
Under GC, object reference assignments -- scanned pointer
Exactly. I know. I am still working on that, but I don't want to
invest too much time in any one method until i know it can solve the
issue. But that's my point. I can seem to find any really good way to
do this in UITextField. So i am playing around with different methods
and posted the
After further experimentation, I've found the problem. Interface
Builder doesn't find private header files in a framework. When I
changed the header file from private to public, Interface Builder
found it.
rdar://problem/7312530 Interface Builder doesn't find private
headers in framework
On Sat, Oct 17, 2009 at 11:30 AM, Jeff Johnson
publicpost...@lapcatsoftware.com wrote:
After further experimentation, I've found the problem. Interface Builder
doesn't find private header files in a framework. When I changed the header
file from private to public, Interface Builder found it.
I *just* noticed the following error in the XCode Debugger Console:
__CFServiceControllerBeginPBSLoadForLocalizations timed out while
talking to pbs
.. and I'm getting it at the very top of -init for my NSDocument??
I have no clue as to when it started .. I kinda think maybe with
How can someone programmatically select all the text in an UITextField
control?
___
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
Wow, reading comprehension failure on my part. Apologies for the noise.
--Kyle Sluder
___
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
Hi all,
I've started getting some dangling references which I cannot figure
out. Basically, I've got the following class setup:
A -- B -- C
where A has-many to B, C has -many to B and B has-one to both A and C.
What happens on quit is that I get the following error:
Has Apple provided documentation on their standard source list
background color? I haven't found it in the HIG docs, or with Google
(I have not come up with the right terms to make the search specific
enough).
I have also tried just sampling the colors from the running
applications
On 17 Oct 2009, at 03:52, XiaoGang Li wrote:
Your solution is good. At first, I think it is simple to list all the
limited fonts in the plist file, and it is easy to enumerate these
fonts.
But, I think, when other font files are added to the bundle by other
engineer, I will update my plist
Well... suppose from my application, I want to convert a Word document to PDF.
How would I do that? I did quite a bit of research and the only way I found
was to use CUPS-PDF and have Word print to that printer. Then, I can retrieve
the converted PDF document. Is there any other way?
You are
On 17 Oct 2009, at 2:14 PM, Tron Thomas wrote:
How can someone programmatically select all the text in an
UITextField control?
Look up the UIResponderStandardEditActions informal protocol. It
includes a selectAll: method. The docs say most descendants of
UIResponder should implement it.
On 17 Oct 2009, at 03:12, Sean McBride wrote:
On 10/10/09 11:15 AM, Sander Stoks said:
First, do I really have to add all types to my Info.plist file? If
the OS gets an update which adds a new file type to Image I/O, I have
to update my Info.plist?
Since no one else replied... I'm pretty
On 17 Oct 2009, at 21:32, Michael Cinkosky wrote:
Has Apple provided documentation on their standard source list
background color? I haven't found it in the HIG docs, or with
Google (I have not come up with the right terms to make the search
specific enough).
I have also tried just
In 10.6, there is a spell checking dictionary named LocalDictionary
that contains words learned outside the context of a particular
language.
How does one use NSSpellChecker -learnWord: and -unlearnWord: so that
those methods write to LocalDictionary?
For other language dictionaries, one
On Oct 17, 2009, at 5:31 PM, Alastair Houghton wrote:
On 17 Oct 2009, at 21:32, Michael Cinkosky wrote:
Has Apple provided documentation on their standard source list
background color? I haven't found it in the HIG docs, or with
Google (I have not come up with the right terms to make the
Thanks, Alastair, this helps a lot. Not understanding the
perceptual, absolute and relative stuff in the Color Sync util,
I had to play around a bit, but I am getting closer to the right color.
Michael
On Oct 17, 2009, at 3:31 PM, Alastair Houghton wrote:
On 17 Oct 2009, at 21:32,
Thanks! I got close with Alastair's suggestion and I will give this a
try!
Michael
On Oct 17, 2009, at 4:19 PM, Ross Carter wrote:
static NSColor *sourceListBackgroundColor = nil;
if (sourceListBackgroundColor == nil) {
NSOutlineView *outlineView = [[NSOutlineView alloc]
Hi all,
I have a Core Data entity that has an attribute called charge (stored
as a float). So I am storing a number of records each of which has a
charge. I simply want to be able to show a running total of charges as
I add or remove items. I was hoping that I might be able to use a
On Sat, Oct 17, 2009 at 1:19 PM, Michael Ash michael@gmail.com wrote:
On Sat, Oct 17, 2009 at 12:18 PM, Bill Bumgarner b...@mac.com wrote:
On Oct 17, 2009, at 8:38 AM, BJ Homer wrote:
But assuming that you
wanted it there in the first place, why does the GC version not need the
On Sat, Oct 17, 2009 at 5:35 PM, Michael Ash michael@gmail.com wrote:
This just leaves the writes. I assume that the GC write barrier
includes a memory barrier, unless someone wants to tell me otherwise.
If so, then there's no problem at all.
Strictly speaking, this isn't really an
When an UITextField becomes active in a Cocoa Touch application, the
device automatically displays a keyboard for character input. The
keyboard always appears in alphabet mode so letters can be typed.
I have an application containing a singular UITextField that is
intended for entering
On 17 Oct 2009, at 7:53 PM, Tron Thomas wrote:
I have an application containing a singular UITextField that is
intended for entering numeric data. I would like the keyboard to
come up in numeric mode and stay in that mode unless the user click
the button to toggle to letter mode, even if
On Sat, Oct 17, 2009 at 5:52 PM, Kyle Sluder kyle.slu...@gmail.com wrote:
On Sat, Oct 17, 2009 at 5:35 PM, Michael Ash michael@gmail.com
wrote:
This just leaves the writes. I assume that the GC write barrier
includes a memory barrier, unless someone wants to tell me otherwise.
If so,
On Sat, Oct 17, 2009 at 6:20 PM, Ken Ferry kenfe...@gmail.com wrote:
The issue concerns the order of in which changes to memory are observable by
other processors.
Okay, and the read example is immune because you have to read the
address before you can read the thing at that address, and it's
On Sat, Oct 17, 2009 at 6:32 PM, Kyle Sluder kyle.slu...@gmail.com wrote:
On Sat, Oct 17, 2009 at 6:20 PM, Ken Ferry kenfe...@gmail.com wrote:
The issue concerns the order of in which changes to memory are observable
by
other processors.
Okay, and the read example is immune because you
On 16/10/2009, at 4:17 PM, WareTo Development wrote:
Looking at this problem, we could perform better memory management, so deep
garbage collection does not happen that often. This reduces the problem, but
can never eliminate it, since sooner or later the garbage clean operation
must be
On 17/10/2009, at 10:25 PM, Graham Cox wrote:
If there is a way to disable these insertions independently and I've missed
it, please someone, let me know how to do it.
I can't recommend the ODCompletionDictionary plug-in for Xcode highly enough:
On Sat, Oct 17, 2009 at 6:36 PM, Ken Ferry kenfe...@gmail.com wrote:
This is the kind of reasoning you want to avoid, actually. That's true on
most but not all architectures. That article does explain.
It's true on all architectures on which Cocoa is available, but even so, to
write clear
On Oct 16, 2009, at 8:01 AM, John Love wrote:
In my app, I have a very long for-loop
It appears however, that in my app there is no background Thread
that begins and the reason for that is because my app's window stays
in the background until all NSOperations are complete. Any clues?
I
On Oct 17, 2009, at 2:24 AM, Uli Kusterer wrote:
What do project templates have to do with code completion? The
comments don't mention how to customize code completion stubs
either. Did I overlook something?
For controlling code completion, search for
XCCodeSenseFormattingOptions on this
So, I like the LCD-style font that Instruments uses to show the time
counter at the top center of the window. Thought I might use it
myself for an in-house project (not for release). Copied the TrueType
font from Instruments into my project, added the necessary key to my
Info.plist, set
You need to post a screenshot of what you're seeing.
I can think of two possibilities off the top of my head:
1) You're rendering text into a CALayer (especially a CATextLayer).
Without some tweaking, CALayer can't do subpixel antialiasing (aka LCD
antialiasing), because it doesn't have the
On 10/17/09 10:21 PM, Alastair Houghton said:
On 17 Oct 2009, at 03:12, Sean McBride wrote:
On 10/10/09 11:15 AM, Sander Stoks said:
First, do I really have to add all types to my Info.plist file? If
the OS gets an update which adds a new file type to Image I/O, I have
to update my
(Due to a misconfiguration I did send this message more than once -
sorry for that to all)
Hi there,
thanks to your and esp. Todds hints everything works quiet fine now.
Two additional detail question remain:
1- How can I set up the BAS to proceed an install process without the
HelperTool
Thanks, Scott! I had started to look at the printing prefs file as it contained
information about the printers in use. Appreciate the sharing!
Cheers!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin
http://nemesys.dyndns.org
Logiciels Nemesys
I'm new to core data and bindings and need some help.
In my model, I've got an attribute called story. This holds text,
so I set the attribute type to string.
I used bindings in IB to connect the story attribute to an NSTextView.
When I ran my app, an exception was thrown. The message in
numbers and punctuation in IB textfield properties for keyboard type
--
yandy
On Oct 17, 2009, at 8:53 PM, Tron Thomas wrote:
When an UITextField becomes active in a Cocoa Touch application, the
device automatically displays a keyboard for character input. The
keyboard always appears
Thanks a million for this, awesome!
--
yandy
On Oct 17, 2009, at 10:01 PM, Rob Keniger wrote:
On 17/10/2009, at 10:25 PM, Graham Cox wrote:
If there is a way to disable these insertions independently and
I've missed it, please someone, let me know how to do it.
I can't recommend
There's also the possibility that the text isn't being drawn properly
aligned to the pixel grid.
Sent from my iPhone
On Oct 17, 2009, at 19:52, Kyle Sluder kyle.slu...@gmail.com wrote:
You need to post a screenshot of what you're seeing.
I can think of two possibilities off the top of my
On Oct 17, 2009, at 18:48, Rob Keniger wrote:
What happens if you explicitly disable Garbage Collection when the
user starts drawing and enable it when the user finishes?
That might be a practical answer, but I think maybe a key point got
skipped over earlier in the thread. If the
Hello Cocoa List,
My Googling reveals this question has been asked before, but no answer
was given. Hopefully someone knows how to do this now.
I have a vertical NSRulerView attached to an NSTextView. I have
movable NSRulerMarkers and that's all working good. My only problem
is that
I'm in the midst of debugging an extremely unusual problem, and I was
wondering if anybody might have any insight into what might be going
wrong:
In a controller class from a NIB, I take an NSPanel I from that same
NIB, and then show it app modally on an NSWindow (that was created by
hand in
On Oct 17, 2009, at 8:09 AM, Mike Wright wrote:
FYI, I haven't found any of the Font Suitcase files that have a
data fork. The font is in the 'FOND' resource -- and all of those
fonts work fine under Snow Leopard. Some of this legacy stuff is
probably pretty hard to eliminate without
On Oct 17, 2009, at 7:46 PM, Ben Haller wrote:
Copied the TrueType font from Instruments into my project, added the
necessary key to my Info.plist, set the font using [NSFont
fontWithName:...], and hey presto, there the font is in my app.
Only... it doesn't look as nice. It's less crisp.
59 matches
Mail list logo