Folks,
I recently switched to using an .sdef in my Cocoa app for defining AS event
handlers. The problem is that suddenly it looks like my app defines the
property 'points' and this breaks other apps which send AS events to mine.
In my .sdef, I do not define a 'point' or 'points' property, nor
I generally use UTF8.
On Thu, Feb 5, 2009 at 10:29 AM, Francis Devereux fran...@devrx.org wrote:
Hi,
I am porting an app to Mac OS X (well, actually someone else has ported it
and I am building a cocoa GUI).
I have an NSString with a filename in it that I need to pass to the
portable code
Hi John,
Also worth noting: you can build on Leopard with Xcode 3.x, using the 10.4
SDK, and your app might run fine on a Leopard box. BUT, you still need to
test on a native Tiger platform because the systems dylibs are different
(and yes, the 10.4 API behaves differently between Tiger and
I don't mean to sound patronizing, but unless I have missed some fundamental
premise, didn't you just re-invent DO? Maybe the right way to port this
framework is to make your API a thin wrapper on top of Obj-C messages, and
your set up a wrapper on top of DO setup. Just a thought.
- Dave.S
On
Folks,
I am looking into some legacy code that is called from a third-party
library. The function being called has this signature:
AStringClass PlatformSpecificImplClass::formatMessage(unsigned int code,
va_list* argList)
The problem is that on x86 platforms, |argList| seems to point to a valid
Folks,
Disclaimer: I have no idea what I am talking about.
I have been asked to increase the security level of our WebView-based
browser windows. I guess that on a pc/IE, you can somehow set the security
level to prevent things like injection attacks and stuff like that? Again,
I have no idea
Folks,
I use -[NSUserDefaults addSuiteNamed:] to add the defaults from a
previous version of my app to the defaults search domains. This works
fine, except I want to remove a certain key/value pair from the suite.
Is there any way to do this? The best plan I can come up with so far
is to read
Folks,
For some reason, I am not able to figure this out. I want to draw a
scaled NSImage, but the edges of the image are not drawn, it seems
like the resizing actually clips the image.
I have an NSBitmapImageRep created from some data. I then create the
NSImage like this:
NSImage *image =
that you're likely to see antialiasing on the edges.
Your problem looks more severe than antialiasing, though.
On Thu, Aug 21, 2008 at 12:47 PM, David Springer [EMAIL PROTECTED] wrote:
Folks,
For some reason, I am not able to figure this out. I want to draw a
scaled NSImage, but the edges
, 2008 at 2:34 PM, David Springer [EMAIL PROTECTED] wrote:
Hi Ken,
I can build a test app - give me a couple hours to put it together.
As for antialiasing, I thought that might be the problem, but I set
the image interpolation on the graphics context to
NSImageInterpolationNone and get
Folks,
I have an NSPanel (not modal), with one button on it. If I
instantiate this panel and let the normal app loop run, everything
works fine: clicking the button sends a message to the appropriate
object.
However, if I try to instantiate this panel, then run [NSRunLoop
currentRunLoop] myself
On Thu, Aug 14, 2008 at 4:32 PM, Kyle Sluder
[EMAIL PROTECTED] wrote:
On Thu, Aug 14, 2008 at 6:25 PM, David Springer [EMAIL PROTECTED] wrote:
Seems like I am missing some rudimentary thing relative to the event
loop here. But what? Help?
Why would you do this? The run loop is already
Folks,
I would like to add instances of a subclass of NSColor to the color
panel. The problem is, when you change to another app that does not
know about this subclass, the NSColorPanel kind of freaks out and
shows all the colors as white (even the system colors) - in some cases
it just crashes
Folks,
We need to ship some frameworks that are common to a few of our apps.
The question, of course, is where to put these, and how to bundle them
with apps so downloads, etc. are not huge and bloated. I'd like to
hear other's experience with this. Do you put common frameworks in a
place such
Folks,
This is not strictly a cocoa-dev question, if there is a better list
to ask this on, please point me in the right direction.
I get a pile of linker warnings like this:
ld: warning PLBmpBase::GetLineArray32() const has different visibility
(2) in
Folks,
Xcode 2.5 on Leopard, app and all libs built with 10.4u SDK.
If I debug my app using Xcode 2.5 (in the GUI), I get these errors
while calling the destructor of an object created on the stack:
MyApp(26961,0xa02e3fa0) malloc: *** error for object 0x28001660:
pointer being freed was not
Folks,
Is there a way to tell if a lib/dylib was built with flat_namespace
turned on? otool perhaps?
Thanks,
- Dave.S
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
Folks,
How can I use a WebView in a modal dialog? I understand that WebViews
don't work in the modal runloop mode, so is there a way to fake this?
Run my own nextEventMatchingMask: loop (I have tried this with very
limited success)? Run the window containing the WebView in a separate
thread
Folks,
I need help figuring out this problem. Basically, I want to run a
WebView in a modal dialog, but WebView's don't work in
NSModalPanelRunLoopMode. So, I have been trying unsuccessfully to
fake a modal run loop while running it in NSDefaultRunLoopMode. This
is my latest attempt:
//
Folks,
Is there a simple NSComboBox example that uses bindings out there? I
want to populate an NSComboBox with a list of filenames using an
NSArrayController, etc.
Thanks!
- Dave.S
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
All,
I'm having trouble setting up the bindings for my NSComboBox. I bind
the NSComboBox's content to NSArrayController's arrangedObjects. This
works fine.
Now, I want to add to the content array when you enter a new string
into the combo box. Say, for example, I start with an array of @file
All,
The attached html/Javascript and Ruby scripts run differently on a PC
with IE than they do no a Mac with Safari. On IE, the alert panels
pop up in sequence; as if the Ruby call is synchronous. On the Mac,
the last alert pops up before the third alert, or simultaneously with
it. I did some
22 matches
Mail list logo