Quincey Morris (quinceymor...@earthlink.net) on 2009-08-21 12:56 AM said:
>since we're comparing comparing BOOLs, I'll contribute my preferred
>version:
>
>- (void)setHappy: (BOOL)newHappy
>{
> if (!happy != !newHappy) // Another way of safely comparing BOOLs
I prefer:
if (!!happy != !!new
> Someone has to say it: Why?! :-)
>
> I can't imagine any possible reason why any design should make it possible
> for prefs saving to fail. Just because I can't imagine it doesn't make it
> impossible, but it sounds very, very wrong.
Well it seems my attempt to over-simplify the situation has
> What led you to believe you needed to call the setter recursively? All you
> need is:
The only reason I did that was to show that the correct KVO
notifications would be invoked by reverting the happy property from
within the setter. It was a gross oversimplification, and I'm sorry.
:)
I realize
On Friday, August 21, 2009, at 12:17PM, "Jerry Krinock" wrote:
>
>On 2009 Aug 21, at 06:39, Vijay Kanse wrote:
>
>> I want my radio buttons to have multi line text
>
>I've found this to be one of those things that "just doesn't work".
>Set the title to an empty string, and display the title in
On Aug 22, 2009, at 00:14, Dave Keck wrote:
What led you to believe you needed to call the setter recursively?
All you
need is:
The only reason I did that was to show that the correct KVO
notifications would be invoked by reverting the happy property from
within the setter. It was a gross ov
> not the correct effect. Attempting to nest willChange/didChange is a Bad
> Idea because KVO notifications aren't nestable.)
Is that documented? I would have thought that a nested
willChange/didChange pair would have simply been ignored.
> The immediate problem here is the presence of willChange
Some extra newlines preceeding your title should make it _look_ like
your screenshot (for odd numbers of lines in the lable, anyway), but it
still wont work quite the same, as there will be a clickable area above
your lable. (if that makes sense).
I dont know how that'll affect the spacing betwe
Hello, I'm writing a code editor and so far, i've been using Flex for
regex-matching the whole document every time the text is changed and
coloring appropriately... I got this idea from some CocoaBuilders or
CocoaDev forum/mailing list awhile ago, but it's terribly inefficient and
slow, especially
Le 22 août 2009 à 14:33, Keitaroh Kobayashi a écrit :
Hello, I'm writing a code editor and so far, i've been using Flex for
regex-matching the whole document every time the text is changed and
coloring appropriately... I got this idea from some CocoaBuilders or
CocoaDev forum/mailing list awhil
Hey,
That works well, until I add modifiers. To do my modifiers i put the
modifier keys down before the character part, but this doesn't seem to
work when the command key is down or something :/
Is there any way to supply modifiers into a single CGEvent?
Cheers,
Joe Turner
On Aug 21, 2009
Hi,
I would like to display a simple svg image in my app using webkit.
Unfortunately I also need to be able to scale the image to the size of
the view. The webview class has makeTextLarger and makeTextSmaller
which works, but limits the scaling to about 10 'steps'. Apparently
you can do
II saw an NSSVGImageRep in webcore - I would have thought that you
could use that with NSImage and do the normal scaling there. I haven't
tried it, and could make use of it myself if it works, so would be
interested if anyone else has had experience using it.
Gideon
I would like to displ
Thanks,
NSDictionary is my friend.
Max
Il giorno 22/ago/09, alle ore 07:39, Andrew Farmer ha scritto:
On 21 Aug 2009, at 03:53, Massimiliano Gargani wrote:
I have a mutable array with inside something like "luke","l...@luke.com
","mark","m...@mark.com", ..
...
- (id) tableView: (NSTable
Le 22 août 2009 à 16:27, Peter Zegelin a écrit :
Hi,
I would like to display a simple svg image in my app using webkit.
Unfortunately I also need to be able to scale the image to the size
of the view. The webview class has makeTextLarger and
makeTextSmaller which works, but limits the s
On Aug 22, 2009, at 10:24 AM, Joe Turner wrote:
That works well, until I add modifiers. To do my modifiers i put the
modifier keys down before the character part, but this doesn't seem
to work when the command key is down or something :/
Is there any way to supply modifiers into a single C
But then I must have the CGKeyCode for the character i would like to
post, which is what I'm trying to get away from.
When I do "CGEventSetFlags" on an event I've set a unicode string for,
it doesn't work.
Joe
On Aug 22, 2009, at 11:46 AM, Bill Cheeseman wrote:
On Aug 22, 2009, at 10:24
I wonder if someone can just point me in the correct direction. I am
at the stage of not really knowing if the error is simply a missed
connection, etc or a fundamental misunderstanding.
I have a checkbox, which I wish to bind to an iVar in my model ( which
is a windowController).
What I
On Aug 22, 2009, at 16:16, Michael de Haan wrote:
I wonder if someone can just point me in the correct direction. I
am at the stage of not really knowing if the error is simply a
missed connection, etc or a fundamental misunderstanding.
Fundamental misunderstanding. :)
I have a checkbox,
On Aug 22, 2009, at 01:21, Dave Keck wrote:
Aye aye. Here's a simple project that uses that setter:
http://themha.com/happy.zip
When clicking the checkbox in the window, it stays checked. Regardless
of what you do to the happy ivar within the setter, the checkbox
assumes the intuitive value tha
Too Easy! Works perfectly in the MiniBrowser demo project.
Many thanks!
Peter
On 23/08/2009, at 1:15 AM, Jean-Daniel Dupas wrote:
Le 22 août 2009 à 16:27, Peter Zegelin a écrit :
Hi,
I would like to display a simple svg image in my app using webkit.
Unfortunately I also need to be ab
On Aug 22, 2009, at 5:47 PM, Quincey Morris wrote:
On Aug 22, 2009, at 16:16, Michael de Haan wrote:
..or a fundamental misunderstanding.
Fundamental misunderstanding. :)
That figures!
I have a checkbox, which I wish to bind to an iVar in my model
( which is a windowControll
Hi,
I have a large list of files that are being copied in my app, and
after each file I need it to update the NSTextField so that it reads
something like this:
Processing file X of X
The problem is that the text field is way too slow in updating its
value. So slow infact that nothing app
On Aug 22, 2009, at 6:41 PM, PCWiz wrote:
Any faster way to do this?
Isn't this kind of the same question as your NSProgressIndicator query?
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
On Aug 22, 2009, at 18:11, Michael de Haan wrote:
OK...that certainly clarifies one thingso, one **cannot** bind
to an object, but to that object's properties? (Hence the error when
I tried that).
The error occurred because you bound a binding that requires a numeric
value to somethin
On Aug 22, 2009, at 6:41 PM, PCWiz wrote:
I have a large list of files that are being copied in my app, and
after each file I need it to update the NSTextField so that it
reads something like this:
Processing file X of X
The problem is that the text field is way too slow in updating its
On Aug 22, 2009, at 18:41, PCWiz wrote:
I have a large list of files that are being copied in my app, and
after each file I need it to update the NSTextField so that it reads
something like this:
Processing file X of X
The problem is that the text field is way too slow in updating its
va
I've got an OpenGL application that implements its own widgets for
text entry and display. The application is a Cocoa application. When
in windowed mode, it uses a subclass of NSView for its GL context. In
full-screen mode, it captures the display with CGL.
I need to support internationa
Hello list,
I've found that when enlarging the OutLineView having grouped rows
some annoying white vertical lines and other garbage artifacts appear
briefly in the newly displayed area.
This is most noticeable if the group row happens to display also
images (subclassing the NSTextCell to
On 22/ago/09, at 00:17, Seth Willits wrote:
In some Apple sample code...
// If it is a "full width" cell, we don't have to go through the rows
NSCell *fullWidthCell = [self preparedCellAtColumn:-1 row:row];
if (fullWidthCell) {
} else {
}
It's not documented what
On 22/ago/09, at 00:33, Seth Willits wrote:
On Aug 21, 2009, at 3:27 PM, Ernesto Giannotta wrote:
It's not documented what preparedCellAtColumn:-1 returns though.
Anyone know for sure?
yep! it's the cell that you can return in the delegate method:
- (NSCell *)outlineView:(NSOutlineView *)
Hi. I'm trying to get a Help Book to open for my application.
I have a pile of .htm and .css files that were given to me by someone
who generated them from Robo Help.
I put them in a folder called "XX Help", dropped the folder onto Help
Indexer which generated a filed called "XX Help.helpin
On Aug 21, 2009, at 1:45 PM, Ernesto Giannotta wrote:
After a lot of tests I've noticed that this bug is greatly reduced
if drawsBackground is set to false, but I still can see a white line
and a ghost right image while enlarging.
Have you seen this?
http://www.cocoabuilder.com/archive/me
On Aug 22, 2009, at 7:08 PM, Quincey Morris wrote:
If you did that, you could add a "measurementUnits" property to your
window controller:
+ (NSSet*) keyPathsForValuesAffectingMeasurementUnits
{
return [NSSet setWithObject: @"state"];
}
- (NSString*) measurementUnits
{
retur
On Aug 22, 2009, at 12:57 PM, Wade Williams wrote:
When the application was Carbon, as I recall, I would setup a new
TSM document, and that would automatically give me the bottom-line
text input bar and I would process the input with my Carbon event
handlers. I've been doing some searchin
So, it isn't Garbage Collection + Core Animation that is breaking the
transition, I just refactored my entire project to remove GC support
(big pain) and the animation hasn't changed at all.
Now I'm looking at my custom NSView that is being animated and I'm
wondering now if that is the prob
The of your "index.html" needs some tags like this:
BookMacster Help
Also, make sure that there is only one file in the Help folder with
these tags. If there's more than one, it will fail.
If it works, reply and let us know which one or more of those
Here's a walkthrough, in case it might be helpful:
http://bravobug.com/news/?p=160
On Fri, Aug 21, 2009 at 4:19 PM, Brant Sears wrote:
> Hi. I'm trying to get a Help Book to open for my application.
>
> I have a pile of .htm and .css files that were given to me by someone who
> generated them fro
37 matches
Mail list logo