On Oct 18, 2008, at 1:36 AM, Steve Cronin wrote:
...(bug fixes) which are only enabled for binaries linked against
the 10.5 SDK. This is both a good and bad thing. It means your
program works consistently on Tiger and Leopard, which makes
testing easier. But it might behave consistently
I have a simple external Cocoa framework I have built that loads and displays a
single nib-based window from a nib file contained in the framework. I add the
framework to a separate application. Everything works fine - the window loads
and appears on screen and all the outlets are valid.
But wh
It's a security flaw. Assuming you had an error in your code that
allowed that allowed the string to be exploited, the system call would
allow a person to do anything in the computer, subject to the
permissions your process has.
On 17-Oct-08, at 5:17 PM, Jonathon Kuo wrote:
On Oct 17, 20
On 18 Oct 2008, at 2:50 pm, Russ wrote:
When I do this programmatically after creating the main window's
NSView, it scarfs up the bounding box of the succeeding views, not
sure why that is.
This is another common symptom of using 'rect' as the view's bounds.
Are you *sure* 100% positive
Le 18 oct. 08 à 05:50, Russ a écrit :
Check to make sure [window isFlushWindowDisabled] is NO and [window
isAutodisplay] is YES.
Yes, both OK.
Also, try dropping a standard control (e.g. a button) in and see if
it
redraws to the pressed state when you press it.
When I do this programmatic
On Oct 17, 2008, at 2:29 PM, Jim Correia wrote:
For object types, in a non-garbage collected application
(traditional retain/release style memory management) you never want
to use assign. It is the equivalent of hand writing an accessor that
does a pointer assignment (with no additional mem
Ken;
Once again, thanks for the exemplary response!
(You are a great resource for the Cocoa community!)
So... while yes, the 10.5 SDK does have bug fixes, using it and
deploying to 10.4 potentially bifurcates the product into different
behaviors.
(It is really tough to determine where and w
I have written a class which is missing important behaviors that must
be provided by subclasses. I create one like this:
+ (id)fooWithBar:(Bar*)bar_ {
// A Bar instance knows which subclass of Foo is appropriate for
it.
// To find out, send it a -fooClass message.
id ins
On Oct 18, 2008, at 7:43 AM, Jerry Krinock wrote:
I have written a class which is missing important behaviors that
must be provided by subclasses. I create one like this:
+ (id)fooWithBar:(Bar*)bar_ {
// A Bar instance knows which subclass of Foo is appropriate for
it.
// To find ou
Foo might qualify as a class cluster, but personally I don't think it
needs to conform to a named pattern. It's nice when you can borrow
from previously thought-out patterns, but not necessary.
Would it make sense to reorganize so the instantiation is done by the
Bar class?
- (id)fooInst
thanx for this.
i've been using the willDisplayCell: delegate method to "swap"
formatters as necessary, but i'd never thought of using it to "swap"
the cell's value! i will add this to my "bag o' tricks" for possible
future use.
for my current situation, i removed the use of the value transf
Hi everyone.
I have been attempting to create a NSAlert popup and get the result (so it
can run an if statement) for the last few hours, but I still can't get it to
work. My current code is below, if anyone wants to have a look see... If
anyone could point me in the right direction, it would be m
On Oct 18, 2008, at 14:35 , Pierce Freeman wrote:
Hi everyone.
I have been attempting to create a NSAlert popup and get the result
(so it
can run an if statement) for the last few hours, but I still can't
get it to
work. My current code is below, if anyone wants to have a look
see... If
Thanks for your help. However, Xcode gives me this warning when I build:
NSAlert' may not respond to
'+alertWithMessageText:defaultButton:aleternateButton:otherButton:informativ
eTextWithFormat:'
Sincerely,
Pierce F.
On 10/18/08 12:26 PM, "Jason Coco" <[EMAIL PROTECTED]> wrote:
>
> On Oc
On Oct 18, 2008, at 15:43 , Pierce Freeman wrote:
Thanks for your help. However, Xcode gives me this warning when I
build:
NSAlert' may not respond to
'+
alertWithMessageText:defaultButton:aleternateButton:otherButton:informativ
eTextWithFormat:'
alternateButton is spelled wrong ;)
J
Wow, I am completely out of it today. ;)
Thanks for your help,
Pierce F.
On 10/18/08 12:46 PM, "Jason Coco" <[EMAIL PROTECTED]> wrote:
>
> On Oct 18, 2008, at 15:43 , Pierce Freeman wrote:
>
>> Thanks for your help. However, Xcode gives me this warning when I
>> build:
>>
>> NSAlert' may
Hi everyone.
I am attempting to create a little application that will take an application
name from the user, and then close it for them. I am attempting do this by
getting the string in Cocoa, then passing this to AppleScript... But I don't
know if Cocoa can pass variables to AppleScript. I ima
Hi again,
I need to change the size of an NSImageView – specifically, the width.
After trying the only thing I knew (setFrame:display:) and having that
fail, I ask: what do I need to do?___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Pleas
On 19 Oct 2008, at 9:03 am, Benjamin Dobson wrote:
Hi again,
I need to change the size of an NSImageView – specifically, the
width. After trying the only thing I knew (setFrame:display:) and
having that fail, I ask: what do I need to do?
-setFrame:display: is a NSWindow method. -setFrame
Hi All,
Wondering if any one has ideas on writing reporting features for Cocoa apps?
We are desinging a billing system and have the need for developing
summary reports (printable).
Thanks.
--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
__
On Sat, Oct 18, 2008 at 7:23 PM, Devraj Mukherjee <[EMAIL PROTECTED]> wrote:
> Wondering if any one has ideas on writing reporting features for Cocoa apps?
Well, only you can determine how to collect the data you need for the report.
Once you've done that, some developers use a WebView. This has
On Sat, Oct 18, 2008 at 4:05 PM, Pierce Freeman
<[EMAIL PROTECTED]> wrote:
> I am attempting to create a little application that will take an application
> name from the user, and then close it for them. I am attempting do this by
> getting the string in Cocoa, then passing this to AppleScript...
On Fri, Oct 17, 2008 at 5:07 PM, Samir Patel <[EMAIL PROTECTED]> wrote:
> I have a simple external Cocoa framework I have built that loads and displays
> a single nib-based window from a nib file contained in the framework. I add
> the framework to a separate application. Everything works fine -
On Sat, Oct 18, 2008 at 9:55 AM, Steve Cronin <[EMAIL PROTECTED]> wrote:
> Since my goal was to deploy to 10.4 all along, by using the 10.4 SDK, the
> app will behave the same on both 10.4 and 10.5 (and 10.6) --> simpler from a
> support perspective.
> In some cases the behavior might be consistent
On Sat, Oct 18, 2008 at 10:43 AM, Jerry Krinock <[EMAIL PROTECTED]> wrote:
> I have written a class which is missing important behaviors that must be
> provided by subclasses. I create one like this:
>
> + (id)fooWithBar:(Bar*)bar_ {
>// A Bar instance knows which subclass of Foo is appropriat
Application
quits when clicking "Ok" button is NSBeginCriticalAlertSheet in Tiger
OS
I
am in a admin account when testing the issue. Please see ISSUE 1 and ISSUE 2
ISSUE
1:
Ive
created a User Interface to add a print queue using lpadmin. In my User
Interface,
i set my authorization not as a
Hi,
Still fairly new to Cocoa here.
I have a high priority thread that that for the moment just calls back
as often as possible to a method that updates a static text object
with the current time. A slider is also updated to a new value. Its a
bit like a stop watch with a position indicato
I am in a admin account when testing the issue.
Ive created a User Interface to add a print queue using lpadmin. In my User
Interface,
i set my authorization not as admin. before my lpa
dmin was called, an authentication dialog asking for user name and password
appears which is expected since
On Oct 18, 2008, at 4:23 AM, Peter Zegelin wrote:
Hi,
Still fairly new to Cocoa here.
I have a high priority thread that that for the moment just calls
back as often as possible to a method that updates a static text
object with the current time. A slider is also updated to a new
value.
On Oct 18, 2008, at 7:27 PM, Andrew Merenbach wrote:
On Oct 18, 2008, at 4:23 AM, Peter Zegelin wrote:
Hi,
Still fairly new to Cocoa here.
I have a high priority thread that that for the moment just calls
back as often as possible to a method that updates a static text
object with the c
I am unable to understand the relation between the frame and the
bounds of an NSView. I've read the documentation in the View
Programming Guide, and also played around with them myself in a
practice project. In the latter, I tried drawing their rectangles in
different colours, but couldn't
"It looks to me like you are sharing one MOC between two threads
(the web service update worker thread and the main thread). You need
two MOC's. Write from the worker thread to the worker thread's MOC,
then tell the main thread to refresh."
I do have two MOC's. Would be kinda weird to get
Thanks for the replies.
Regarding making it a protocol, I don't want to do that because Foo is
really a class which implements many methods that are common to its
subclasses.
On 2008 Oct, 18, at 8:53, Andy Lee wrote:
Would it make sense to reorganize so the instantiation is done by
the B
On 16/10/2008, at 11:59 PM, Corbin Dunn wrote:
Hi Steven,
On Oct 16, 2008, at 2:03 AM, Steven Hamilton wrote:
Hi Folks,
I have a core data bound tableColumn that displays a currency
balance. My NSManagedObject is a custom class that calculates the
balance from a @sum of related transacti
On Oct 18, 2008, at 8:04 PM, DKJ wrote:
I am unable to understand the relation between the frame and the
bounds of an NSView. I've read the documentation in the View
Programming Guide, and also played around with them myself in a
practice project. In the latter, I tried drawing their rectan
35 matches
Mail list logo