Ken;
Thanks for the quick and helpful response!
You seem to have assumed that you can only compile against the 10.4
SDK by going back to Xcode 2.5 (and thus using an earlier compiler).
No I brought the application back to the 10.5 machine and have left it
compiling against the 10.4 SDK
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
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,
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%
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
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
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
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
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
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?
-
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 transformer
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
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...
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 Oct 18,
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 not respond to
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
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)
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.
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 a
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... But
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 - the
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 consistently
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 appropriate for
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
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
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
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
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
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
36 matches
Mail list logo