Hello,
I'm migrating a non-binding version of an NSTableView over to a binded
version. In the non-binding version (using a data source), one of my table
columns used a subclass of NSSegmentedCell, and I merely overrode
setObjectValue in order to capture the data and set the number of segments,
the
- Original Message
> From: Albert Jordan <[EMAIL PROTECTED]>
>
> What is the recommended way for Object B to inform Object A that it is
> done processing a request for the following scenario?
>
> Object A has a list of phone numbers to send SMS messages
> Object B implements sending a
On Oct 29, 2008, at 00:29 , Adam R. Maxwell wrote:
On Oct 28, 2008, at 9:14 PM, Jason Coco wrote:
On Oct 28, 2008, at 16:53 , Sean McBride wrote:
On 10/28/08 4:03 PM, Jason Coco said:
Also, you should not be using non-ascii characters in string
literals :) hopefully you're just doing th
On 29/10/2008, at 2:43 PM, Joel Norvell wrote:
I have a file with some metadata prepended to a pdf.
I want to strip the metadata off and display the pdf.
I was trying to do this:
- (void) loadFromPath: (NSString *) path
{
NSData *myData = [NSData dataWithContentsOfFile:path];
NSString *myS
Joel,
The PDF is a binary data format. So, trying to decode with an ASCII
encoding vonverter would result in data loss.
I recommend processing it as mere bytes without mapping to a string.
Aki from iPhone
On 2008/10/28, at 21:43, Joel Norvell <[EMAIL PROTECTED]> wrote:
Dear Cocoa-dev Peop
Dear Cocoa-dev People,
I have a file with some metadata prepended to a pdf.
I want to strip the metadata off and display the pdf.
I was trying to do this:
- (void) loadFromPath: (NSString *) path
{
NSData *myData = [NSData dataWithContentsOfFile:path];
NSString *myStr = [[NSString alloc] i
On Oct 28, 2008, at 9:14 PM, Jason Coco wrote:
On Oct 28, 2008, at 16:53 , Sean McBride wrote:
On 10/28/08 4:03 PM, Jason Coco said:
Also, you should not be using non-ascii characters in string
literals :) hopefully you're just doing this to demonstrate the
issue.
You should
be doing so
On Oct 29, 2008, at 00:15 , Albert Jordan wrote:
What is the recommended way for Object B to inform Object A that it
is done processing a request for the following scenario?
Object A has a list of phone numbers to send SMS messages
Object B implements sending an SMS message to a given phon
What is the recommended way for Object B to inform Object A that it is
done processing a request for the following scenario?
Object A has a list of phone numbers to send SMS messages
Object B implements sending an SMS message to a given phone number
Albert
___
On Oct 28, 2008, at 16:53 , Sean McBride wrote:
On 10/28/08 4:03 PM, Jason Coco said:
Also, you should not be using non-ascii characters in string
literals :) hopefully you're just doing this to demonstrate the
issue.
You should
be doing something like this:
char *hiragana_a = { 0xE3, 0x8
Make sure you're spelling the method signature 100% correctly.
I myself have made a minor typo in a method (many times, who hasn't?)
and then spent the next 20 minutes or longer bashing my head looking
for my mistake.
Spelling counts 100%
Capitalization ( my mistake has often been NIB instead
On Tue, Oct 28, 2008 at 6:16 PM, Jerry Krinock <[EMAIL PROTECTED]> wrote:
> Roughly, the lesson is: Don't use message forwarding for "actual work". I
> was just wondering if anyone had ever found otherwise.
I have to say that this is greatly overstating things. I've used
forwarding for all sorts
On Tue, Oct 28, 2008 at 4:59 PM, Daniel <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm working on a project for inserting special characters in text
> fields in all Cocoa apps by means of an Input Manager.
>
> After a given trigger/shortcut I have the need to open a window/panel,
> but I don't get it.
>
On 28-Oct-08, at 10:05 PM, Alex Kac wrote:
That's a great one. So in a way if I'm creating a user inter-actable
view, I could do my drawing in the layer, but handle all my user
interaction in the view. Does that sounds about right? Again I
haven't gotten that deep yet, but am working on a
The Animation Overview book has a chapter that contrasts the
differences in the two approaches.
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/Animation_Overview/ChooseAnimTech/chapter_5_section_1.html#/
/apple_ref/doc/uid/TP40004952-CH5-SW1
On 28-Oct-08, at 5:43 PM, Al
That's a great one. So in a way if I'm creating a user inter-actable
view, I could do my drawing in the layer, but handle all my user
interaction in the view. Does that sounds about right? Again I haven't
gotten that deep yet, but am working on a few things that I will be...
On Oct 28, 2008
On 29 Oct 2008, at 9:16 am, Jerry Krinock wrote:
Roughly, the lesson is: Don't use message forwarding for "actual
work".
Depending on your definition of "actual work" of course ;-)
I use message forwarding to route target/action from UI such as menus
down through a hierarchy of objects w
Well, I couldn't resist. I added a third test to my little test
project, using the new forwardingTargetForSelector: which Michael and
Peter had ferreted out of the Leopard Release Notes.
It is about 40x faster than the old NSInvocation-based message
forwarding. On the Early 2006 Core 2 Du
It just clicked... no need for replies!
On 28 Oct, 2008, at 16:44, DKJ wrote:
When I did this:
myLayer.frame.size.width = rootLayer.frame.size.width;
I got an "illegal lvalue" error. But when I do this:
CGRect r = help.frame;
r.size.width = rootLayer.frame.size.width
Properties allow you to "drill down" and set values to the sub-properties that
are objects (id or NSObject subclasses) of its own properties. However, the
property called "frame" is a CGRect, a struct. Structs have the same syntax as
properties, however it is wrong to assume they are the same th
- Original Message
> From: DKJ <[EMAIL PROTECTED]>
>
> When I did this:
>
> myLayer.frame.size.width = rootLayer.frame.size.width;
>
> I got an "illegal lvalue" error. But when I do this:
>
> CGRect r = help.frame;
> r.size.width = rootLayer.frame.size.width;
>
> the compi
On Oct 28, 2008, at 3:57 PM, Peter Ammon wrote:
Here's something that may help - there's a method on NSRuleEditor: -
(NSData *)_generateFormattingDictionaryStringsFile. It gives you a
strings file (as UTF16 data) appropriate for that control - write
the data to a .strings file and then you c
On 2008 Oct, 28, at 16:10, Peter Ammon wrote:
If you don't want to store or pick apart the message, but only route
it immediately to another object, you should use the
forwardingTargetForSelector: method, which will be faster than
forwardInvocation:.
forwardingTargetForSelector: is new to
Hi Alex-
One difference comes to mind, and is of substance for app design:
- NSView is a subclass of NSResponder, CALayer is not.
So views are happy to field click and keyboard events for you,
participate in the responder chain, handle mouse drag/enter/exit,
etc. I believe a common design
When I did this:
myLayer.frame.size.width = rootLayer.frame.size.width;
I got an "illegal lvalue" error. But when I do this:
CGRect r = help.frame;
r.size.width = rootLayer.frame.size.width;
the compiler says nothing. Why can I use layer.frame.size on the right
of =,
I've made a test project that exhibits this behavior if anyone cares
to look and filed a bug rdar://6327051
http://idisk.mac.com/aclark78-Public/KVONotificationBug.zip
Ashley
On Oct 28, 2008, at 4:30 PM, Ashley Clark wrote:
On Oct 28, 2008, at 2:13 AM, Ashley Clark wrote:
I have a bid re
- Original Message
> From: Jerry Krinock <[EMAIL PROTECTED]>
> Roughly, the lesson is: Don't use message forwarding for "actual
> work". I was just wondering if anyone had ever found otherwise.
I don't think that's really fair. The lesson is not to use NSInvocation in
extremely tight
On Oct 28, 2008, at 8:30 AM, Jerry Krinock wrote:
Although the documentation on message forwarding [1] explains that
alot of stuff needs to happen, it does not say "Warning: Don't do
this in performance-critical applications". So I made a test tool
which forwarded a simple message with on
On Tue, Oct 28, 2008 at 3:09 PM, J. Todd Slack
<[EMAIL PROTECTED]> wrote:
> What is a full proof way to have code executed when a NIB is loaded?
By loading it yourself, by implementing the supported delegate method
if NSApplication is the one loading it, by implementing windowDidLoad
in a subclas
On Oct 28, 2008, at 3:33 PM, Markus Spoettl wrote:
Hi Peter,
Let me know if you have any questions,
I do! I tried to localize the All/Any/None sentence for the German
localization. When I do this I get an exception and the following
console log:
10/28/08 3:20:54 PM myApp[43721] Error
Hi Peter,
On Oct 28, 2008, at 3:33 PM, Markus Spoettl wrote:
10/28/08 3:20:54 PM myApp[43721] Error parsing localization!
Key: %d %@
Value: %1$d %2$@
Error is: The maximum given order was 2, but nothing has order 1.
The localization part looks like this:
Never mind the previou
On Oct 28, 2008, at 3:16 PM, Jerry Krinock wrote:
On 2008 Oct, 28, at 9:09, Bill Bumgarner wrote:
That would not surprise me. An absolute microseconds overhead
isn't a terribly useful measure without knowing the total # of
microseconds. In general, measuring as a factor of speed -- 1.2x
Hi Peter,
On Oct 28, 2008, at 2:10 PM, Peter Ammon wrote:
Apple does not provide any translations of the operator names or
criteria. This is because NSPredicateEditor is designed to be
localized with sentence granularity, not word by word. Translating
each word independently and piecing t
Yes, I thought I had an NSButton, but it turned out I'd wrongly put in a
NSPopupButton.
--- On Tue, 10/28/08, Peter Ammon <[EMAIL PROTECTED]> wrote:
> From: Peter Ammon <[EMAIL PROTECTED]>
> Subject: Re: NSPredicateEditor error
> To: [EMAIL PROTECTED]
> Cc: cocoa-dev@lists.apple.com
> Date: Tu
On 29 Oct 2008, at 9:09 am, J. Todd Slack wrote:
What is a full proof way to have code executed when a NIB is loaded?
When my MainMenu.nib displays its Window, I want to execute some code.
If you have an object in the nib, its -awakeFromNib method will be
called. The object can be an inst
On 2008 Oct, 28, at 9:09, Bill Bumgarner wrote:
That would not surprise me. An absolute microseconds overhead
isn't a terribly useful measure without knowing the total # of
microseconds. In general, measuring as a factor of speed -- 1.2x
20x 200x is more widely applicable (tends to be m
On Oct 28, 2008, at 4:09 PM, J. Todd Slack wrote:
What is a full proof way to have code executed when a NIB is loaded?
There aren't any notifications for loading nibs other than -
awakeFromNib.
When my MainMenu.nib displays its Window, I want to execute some code.
You could do a one-ti
Hi Nick,
On Oct 28, 2008, at 3:09 PM, J. Todd Slack wrote:
I have a controller.m and it has an awakeFromNib method.
I have a NIB that is loaded on startup (specified in info.plist)
I have code that is not getting called in awakeFromNib when the Nib
is loaded.
What am I forgetting to setu
Oooops. It looks like I lied.
Actually, I am using
[[[myFileManager fileSystemAttributesAtPath:[mountedDiskImagePath
stringByDeletingLastPathComponent]
...]
I think it was because sometimes the path included a filename. I am
going to change it to use the full path. I never
At 6:51 PM -0500 10/27/08, Ken Thomases wrote:
On Oct 27, 2008, at 4:05 PM, [EMAIL PROTECTED] wrote:
if i call -[anObject performSelectorOnMainThread:aSelector
withObject:nil waitUntilDone:NO] and then later throw an exception
(of my own), which i catch, the deferred execution of aSelector
ne
On Oct 28, 2008, at 3:09 PM, J. Todd Slack wrote:
I have a controller.m and it has an awakeFromNib method.
I have a NIB that is loaded on startup (specified in info.plist)
I have code that is not getting called in awakeFromNib when the Nib
is loaded.
What am I forgetting to setup?
-awa
One question I have that maybe this list can help me understand. If
you have views that are layer backed - why would one use any of the
view methods instead of the layer methods? I have to admit in some
ways I am somewhat perplexed why a CALayer doesn't replace the view
itself completely. T
When I was but a newbie,
I heard a wise man say,
"When using CALayers,
Put NSViews away."
Yet I set a CALayer,
Then added NSView;
Now many hours later,
I wail, "T'is true, t'is true!"
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do no
On Oct 28, 2008, at 2:13 AM, Ashley Clark wrote:
I have a bid revision object that holds a to-many NSSet reference to
a group of items that constitute a tree. Some of those items are
roots and have a nil parent. In my bid revision object I've set up a
rootItems method that uses a predicate
NSWorkspace has:
- (NSImage *)iconForFile:(NSString *)fullPath
HTH,
Dave
On Oct 28, 2008, at 3:20 PM, Jean-Nicolas Jolivet wrote:
I was wondering how I can get an "NSImage" from a file's icon
(assuming I have that file's path)...
___
Cocoa-dev m
I was wondering how I can get an "NSImage" from a file's icon (assuming
I have that file's path)...
I've read about FileWrapper's icon method ([fileWrapper icon]) which
returns exactly what I need, but I'm not really familiar with file
wrappers and from what I understand from the Class documen
On Tue, Oct 28, 2008 at 2:15 PM, Paul Archibald <[EMAIL PROTECTED]> wrote:
> This is pretty obscure, I think.
>
> My app makes files which can be quite large. It also allows the user to
> distribute copies of those files to various locations. So, to test this I
> have tried creating and mounting a
This is pretty obscure, I think.
My app makes files which can be quite large. It also allows the user
to distribute copies of those files to various locations. So, to test
this I have tried creating and mounting a disk image which I tried
making a copy to.
The problem is that it seems I c
On Oct 28, 2008, at 1:12 PM, Markus Spoettl wrote:
Hello List,
is there a way to make NSPredicateEditor play nice with localized
versions of an application, meaning that it's rule operators and
criteria are translated to the language the rest of the application
is using?
Right now it
Hi All,
I have a controller.m and it has an awakeFromNib method.
I have a NIB that is loaded on startup (specified in info.plist)
I have code that is not getting called in awakeFromNib when the Nib is
loaded.
What am I forgetting to setup? I need to run some code after the nib
has loaded.
Hi,
I'm working on a project for inserting special characters in text
fields in all Cocoa apps by means of an Input Manager.
After a given trigger/shortcut I have the need to open a window/panel,
but I don't get it.
I've tried to load a NIB file, but the Console reported
-[NSWindowController lo
On 10/28/08 4:03 PM, Jason Coco said:
>Also, you should not be using non-ascii characters in string
>literals :) hopefully you're just doing this to demonstrate the issue.
>You should
>be doing something like this:
>
>char *hiragana_a = { 0xE3, 0x81, 0x82, 0x00 };
>NSLog(@"%@", [NSString stringWit
Note that the documentation is slightly wrong, as it is also valid
when the menu pops up.
Please see the "DragNDropOutlineView" demo app which shows how to
properly create a dynamic contextual menu.
..corbin
On Oct 28, 2008, at 1:34 PM, chaitanya pandit wrote:
Thanks Randall, funny that
Thanks Randall, funny that my subject says "...clicked row" and i
missed clickedRow :-)
On 29-Oct-08, at 1:51 AM, Randall Meadows wrote:
On Oct 28, 2008, at 2:11 PM, chaitanya pandit wrote:
Hi list,
I have a NSTableView, and i display a menu when the user right
clicks a row, this menu all
On Oct 28, 2008, at 2:11 PM, chaitanya pandit wrote:
Hi list,
I have a NSTableView, and i display a menu when the user right
clicks a row, this menu allows the user to delete that item.
My problem is, how do i get the row which was right clicked?
Consider this: currently the row#1 is selecte
On Oct 28, 2008, at 12:58, Quincey Morris wrote:
return [NSSet set withObject: @"filePath"];
Er, I meant:
return [NSSet setWithObject: @"filePath"];
Also, I think it's worth adding that it's also not bad practice to
have properties that are not KVO-complia
On 28-Oct-08, at 4:03 PM, Jason Coco wrote:
This is a known issue... you can see where the mangling happens in
the source code online when writing to stderr... the characters
are properly encoded when sent to syslog and will show up correctly
in asl queries and the console application, as
Well, I think that pretty much answers all my questions! Thanks a lot
for the detailed explanation! I understand the KVC/KVO principle much
better now! :)
Jean-Nicolas Jolivet
Quincey Morris wrote:
On Oct 28, 2008, at 12:30, Jean-Nicolas Jolivet wrote:
One more thing, you mentioned the term
Hello List,
is there a way to make NSPredicateEditor play nice with localized
versions of an application, meaning that it's rule operators and
criteria are translated to the language the rest of the application is
using?
Right now it appears that NSPredicateEditor uses English operator
Hi list,
I have a NSTableView, and i display a menu when the user right clicks
a row, this menu allows the user to delete that item.
My problem is, how do i get the row which was right clicked?
Consider this: currently the row#1 is selected and the user right
clicks row#3 the row#3's cell wi
On Oct 28, 2008, at 14:01 , Karl Moskowski wrote:
I've been experimenting with replacing my app's logging with Apple
System Logger. When it comes to multi-byte characters, every thing
looks OK in Console.app. However, Xcode's console shows things
incorrectly. It probably won't come up ofte
On Oct 28, 2008, at 12:30, Jean-Nicolas Jolivet wrote:
One more thing, you mentioned the term "KVO Compliance"... I
understand that this means to send the proper notifications when a
change to my property has been made...
But: would it be considered bad practice if my file class does have
You may fill a feature request to ask Apple to publish this API that
is part of the Security Framework:
http://www.opensource.apple.com/darwinsource/10.5.5/libsecurity_codesigning-33803/lib/SecStaticCode.h
Le 28 oct. 08 à 10:36, [EMAIL PROTECTED] a écrit :
Hello list
Having implemented co
Mmmm seems like value transformer would be another way to do it! I will
definitely look into both methods! Since my property is in fact only
used for display purposes, I guess it would make sense to use a
transformer to display it...
Jean-Nicolas Jolivet
David Duncan wrote:
On Oct 28, 2008,
Thanks a lot, this was extremely helpful!
One more thing, you mentioned the term "KVO Compliance"... I understand
that this means to send the proper notifications when a change to my
property has been made...
But: would it be considered bad practice if my file class does have a
property that
On Oct 27, 2008, at 10:07 PM, Chris Idou wrote:
I'm getting the following error:
In , different number of items (3)
than predicate template views (4) for template 0x12487e0: [move:] [] NSStringAttributeType>
From experimenting, the only difference between the
NSPredicateEditorRowTemplat
On Oct 28, 2008, at 00:19, Jean-Nicolas Jolivet wrote:
Is it ok to bind my column to a property that is, in fact, not a
property but just a method that returns a string... or should I
create an actual instance variable "NSString *fileName" with a
regular getter and setter?
A property
On Oct 28, 2008, at 12:19 AM, Jean-Nicolas Jolivet wrote:
Now, assuming I want to bind an array of those File objects to a
Table View, however, what I would like to display in the table's
column is not the complete path of the file, but just the file name
(that I get with [filePath lastPath
I'm reading about binding and KVC/KVO... and I have a question for which
I can't seem to find an answer... I'll use a simple example, it'll be
easier to explain that way...
Let's say I have a simple class called "File"... my File class has a
property called filePath which is an NSString repres
Coming from a Flex/Flash background I will have to say that there is
BIG differences between ActionScript 2.0 and 3.0. AS 3.0 is a powerful
OOP language and AS 2.0 is not. That being said, the same object
oriented principles do apply in ActionScript 3.0 the same as Obj-C and
the Cocoa Frame
Please, take this discussion off-list. Either to cocoa-dev-admins, or
to private email.
Discussing this here isn't going to solve the problem, and it isn't
helping with the signal to noise ratio.
I'll post new guidelines for the list just as soon as I have them.
scott
[moderator]
On 28-O
I've been experimenting with replacing my app's logging with Apple
System Logger. When it comes to multi-byte characters, every thing
looks OK in Console.app. However, Xcode's console shows things
incorrectly. It probably won't come up often, but I'm wondering if
it's fixable.
For example
I've asked for clarification.
In the meantime, this type of feedback should be sent to cocoa-dev-
admins rather than to the list at large
On 28-Oct-08, at 10:42 AM, Nicko van Someren wrote:
On 28 Oct 2008, at 10:51, Colin Barrett wrote:
On Tue, Oct 28, 2008 at 1:27 AM, Torsten Curdt <[EMAI
> even a removed localisation would then be fatal
Just a clarification: removing a localization does not affect the
signature (http://atomic-bird.com/blog/2007/11/leopard-code-signing-questions-and-answers
).
Regards,
Conor
___
Cocoa-dev mailing l
Hello!
I posted a number questions to this discussion list. They were all
questions about programming in the Cocoa environment. Sometimes my
questions have been ignored / not replied to, however this is mostly
because of my own poor writing skills rather than anything most
siniister. Ther
On Oct 28, 2008, at 10:37 AM, Adil Saleem wrote:
Thank you, implementing the delegate method and returning nothing
from it worked.
By the way, this is pretty basic stuff. I think there should have
been a line or two about it in the NSTextField documentation.
Feel free to file a bug again
Thank you, implementing the delegate method and returning nothing from it
worked.
By the way, this is pretty basic stuff. I think there should have been a line
or two about it in the NSTextField documentation.
Thank you.
--- On Tue, 10/28/08, John Joyce <[EMAIL PROTECTED]> wrote:
From: John
On Tue, Oct 28, 2008 at 11:30 AM, Jerry Krinock <[EMAIL PROTECTED]> wrote:
> Although the documentation on message forwarding [1] explains that alot of
> stuff needs to happen, it does not say "Warning: Don't do this in
> performance-critical applications".
Such a warning would be foolish, since t
I am aware of the -o kill flag but I am not sure that killing my code
stone dead is what I require in this case.
Any resource change, even a removed localisation would then be fatal.
For me a string representation of the code signing is more of a sanity
check.
I just pass the "-o kill" flags
On Tue, Oct 28, 2008 at 12:09 PM, Glover,David
<[EMAIL PROTECTED]> wrote:
> I am now using [NSFileManager defaultManager], and all is working well
> (noob!) :o)
There are a lot of objects like this that follow the singleton
design pattern. Always consult the documentation when using an
unfamili
> The pulldown is bound as follows:
> content: arrangedObjects[PurchaseOrder Array Controller(NSArray Controller)]
> content values: Purchase ORder Array Controller
> arrangedObjects.orderReference
These bindings seem fine. How about selection? One of the popup's
selection bindings should be bou
On 28 Oct, 2008, at 08:55, DKJ wrote:
Maybe I should just make my help info into a PDF file, and display
that on a CATextLayer.
Oops, it's the contents property of a CALayer I was thinking of here.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple
On Oct 28, 2008, at 8:30 AM, Jerry Krinock wrote:
Although the documentation on message forwarding [1] explains that
alot of stuff needs to happen, it does not say "Warning: Don't do
this in performance-critical applications". So I made a test tool
which forwarded a simple message with one
I am now using [NSFileManager defaultManager], and all is working well
(noob!) :o)
-Original Message-
From: I. Savant [mailto:[EMAIL PROTECTED]
Sent: 28 October 2008 15:49
To: Glover,David
Cc: Cocoa Development
Subject: Re: Finding files before app loads
On Tue, Oct 28, 2008 at 11:44 AM,
On Mon, Oct 27, 2008 at 2:25 PM, Gregor Jasny <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm looking for documentation of the binary format that is written by
> NSArchiver. The file utility tells me that it's called
> "NeXT/Apple typedstream data, little endian, version 4, system 1000".
I'm not aware th
On Mon, Oct 27, 2008 at 5:43 PM, Michael Nickerson <[EMAIL PROTECTED]> wrote:
>
> On Oct 27, 2008, at 12:52 AM, Michael Ash wrote:
>
>> On Mon, Oct 27, 2008 at 12:07 AM, Michael Nickerson
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> You can always set things up to ignore child processes:
>>> signal( SIGCH
I can't work out what the controllers and key paths should be.
The pulldown is bound as follows:
content: arrangedObjects[PurchaseOrder Array Controller(NSArray
Controller)]
content values: Purchase ORder Array Controller
arrangedObjects.orderReference
The Table view has 6 columns, one of
On Oct 28, 2008, at 5:59 AM, Adil Saleem wrote:
I am encountering a small problem. I am using a simple NSTextField
in my application. This textfield is editable. When user starts
entering some text, the auto complete is by default ON, so on
pressing escape key a list of suggestions is disp
On 28 Oct, 2008, at 08:31, I. Savant wrote:
I'd turn off
all layers and make sure it's working normally without them.
Alas, after having the Help button method hide theView's CALayer,
there's still no sign of my NSTextView subclass.
Maybe I should just make my help info into a PDF file, a
On Tue, Oct 28, 2008 at 11:44 AM, Glover,David
<[EMAIL PROTECTED]> wrote:
> Sorry, I've found a problem creating an NSFileManager instance, but this
> is resolved and the file checks are now working :o)
Just as an aside, are you using +[NSFileManager defaultManager]? You
shouldn't have to create
On Tue, Oct 28, 2008 at 11:30 AM, Nicko van Someren <[EMAIL PROTECTED]> wrote:
> ... I still think it would be useful to have a clear indication from our
> shadowy overlords.
Agreed, though keep in mind that *our* shadowy overlords have their
*own*, even *more* shadowy overlords called "Apple
Sorry, I've found a problem creating an NSFileManager instance, but this
is resolved and the file checks are now working :o)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
om] On Behalf Of Glover,David
Sent: 28 October 2008 15:34
To: Cocoa Development
Subject: Finding
Hi there,
I need to locate certain files and set the state of some objects in my
nib accordingly before the app is visible to the user.
I'm using fileExistsAtPath to look for the files when the awakeFromNib
method is invoked. The files are definitely present, but
fileExistsAtPath always re
I just pass the "-o kill" flags to codesign. That way if the app has
been tampered with it won't launch. Make sure you are using Xcode 3.1
or later so the codesigning is done after the stripping.
Dave
___
Cocoa-dev mailing list (Cocoa-dev@lists.app
On Tue, Oct 28, 2008 at 11:27 AM, DKJ <[EMAIL PROTECTED]> wrote:
> I should have made clear in my first post that the animation layers of
> theView are CALayer objects. Maybe I'll try hiding those.
Yes, that changes things a bit. :-) I'm not convinced, though, that
you have the view geometry &
Although the documentation on message forwarding [1] explains that
alot of stuff needs to happen, it does not say "Warning: Don't do this
in performance-critical applications". So I made a test tool which
forwarded a simple message with one integer argument to a class which
would add it to
On 28 Oct 2008, at 15:18, I. Savant wrote:
On Tue, Oct 28, 2008 at 11:13 AM, Nicko van Someren
<[EMAIL PROTECTED]> wrote:
I saw Scott's message about taking complaints to dev relations, and
his
comment about things being 'off topic' but my reading of those
messages
(linked below) is that
On 28 Oct, 2008, at 08:14, I. Savant wrote:
Do away with the animation logic for now. See if it
behaves as expected by setting the frames directly (without calls to
the view's -animator).
The subview appears for an instant, with its origin is in the centre
of the superview, filling the upper-
I am working on an application that uses NSTableViews for data
display. The individual rows need to have context dependent coloring.
I have this working reasonably well by using
NSTableView:tableView:willDisplayCell:forTableColumn:row: to inspect
the cells I need and then set the background
Hi DKJ,
On 28.10.2008, at 14:23, DKJ wrote:
I'm having no luck getting a subview to display. In the awakeFromNib
of the controller I have this:
helpView = [[MyView alloc] init];
[helpView setFrameOrigin:RectCentre( [theView frame] )];
[helpView setFrameSize:NSZeroSize
1 - 100 of 133 matches
Mail list logo