Hi,
thank you very much for your answer, Rob.
> I am successfully using modal Cocoa windows in a plugin inside a
Carbon application.
This statement and your code gave me the final hint that it must work
- and that the problem must be found somewhere else.
Using your code nothing changed
On 19/09/2008, at 2:41 AM, brodhage wrote:
I allready do. And then I call this function (within subclass of
NSWindowController):
- (void)showModalDialog
{
NSApplication *_app;
NSWindow *_window;
[self showWindow:nil];
_app = [NSApplication sharedAppli
Am 20.09.2008 um 00:51 schrieb John Love <[EMAIL PROTECTED]>:
No sooner do I say "Solved" that I determine "Not Solved".
I am no longer crashing in part due to the fact that I've removed
NSApplescript from the thread; however, the evidence is still
insurmountable that the calculation is not run
On Wed, Sep 10, 2008 at 1:44 PM, Michael Ash <[EMAIL PROTECTED]> wrote:
> But if you use it to call a method which returns a struct, then it
> crashes and burns. It doesn't even throw an exception, it just
> segfaults.
>
> I've filed this as a bug as rdar://6210060. It really should work, but
> it
On Sep 19, 2008, at 08:15, John Love wrote:
9) Its -startCalculation looks like:
- (void) startCalculation {
int row;
// itsCalcStatus = kNoError; // set by -init
for (row=1; row < 1; row++) {
if (itsCalcStatus == kSpreadsh
Hey LA CocoaHeads.
Next week we continue our study group meeting for the Aaron Hillegass
book "Cocoa Programming for Mac OS X, 3rd Edition".
http://search.barnesandnoble.com/Cocoa-Programming-for-Mac-OS-X/Aaron-Hillegass/e/9780321503619/?itm=1
We'll be covering chapters 7-9. Please jot down
Forgive me if this is not quite on topic.
Is there a Windows library that allows Windows programs to vend
objects in the same way they can be vended on a Mac?
Thanks,
Mike
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
On Sep 19, 2008, at 9:15 AM, Alex Mills wrote:
I have this working as an IBAction but I want it to run all the time
so that it will control the tabs whenever the selection count of the
Array changes, how can I do this?
You can use KVO to call a method when the selectedObjects value
chan
On Sep 19, 2008, at 18:27 , Michael Ash wrote:
On Fri, Sep 19, 2008 at 2:41 PM, John Love <[EMAIL PROTECTED]>
wrote:
Michael Ash wrote:
Has it occurred to you that waiting for the operation to finish is
rather at odds with the idea of trying to run it asynchronously to
keep your program r
On Fri, Sep 19, 2008 at 2:41 PM, John Love <[EMAIL PROTECTED]> wrote:
> Michael Ash wrote:
>
>>
> Has it occurred to you that waiting for the operation to finish is
> rather at odds with the idea of trying to run it asynchronously to
> keep your program responsive?
>>
>
> Absolutely, but if
I have a question about the subtitle track and setting the font/size
of that track.
It seems that the font and size are ignored when playing back the
subtitle track. I am getting 96 font text across my screen not matter
what i set the font size to in the 3GPP structure. I can't even seem
Hi
I'm new to this list and I'm completly new to Cocoa. I'm creating my
first app but I stuck with the following.
I have an instance of NSTextView (created with Interface Builder) in
an instance of NSScrollView. I want text to be layed out in area of
fixed width (length should be as it is - unlim
Hey,
I'm rather new to cocoa (and programming in general) and I'm working
on a core data project that uses a tab view to display different
attributes of an entry. I'm trying to code it so that if no items are
selected in the list it will display a tab, otherwise display a
different tab. I
No sooner do I say "Solved" that I determine "Not Solved".
I am no longer crashing in part due to the fact that I've removed
NSApplescript from the thread; however, the evidence is still
insurmountable that the calculation is not running in a background
Thread, but in the main thread. Beca
Hi,
My cocoa app is not a document based app, but saves a binary file to
the disk.
I can set this file's name and extension and icon by going to the
Target properties and adding a new document type there.
It was working fine and the resulting saved file was given the
required icon.
But t
On 18-Sep-08, at 6:36 PM, D.K. Johnston wrote:
I've written a couple of cute little memory games. If anyone is
interested in creating an iPhone interface for them, please contact
me off-list.
Two issues.
First, the iPhone isn't to be discussed here. Period.
Second, do not crosspost coc
On Sep 19, 2008, at 17:20 , Nick Zitzmann wrote:
On Sep 19, 2008, at 3:15 PM, Jordon Hirshon wrote:
How can I read a file a line at a time (i.e. getline)? I'm trying
to do this in a Cocoa Framework.
Try using NSFileHandle to read a file until a line feed is
encountered. There's no bu
On Fri, Sep 19, 2008 at 2:15 PM, Jordon Hirshon <[EMAIL PROTECTED]> wrote:
> How can I read a file a line at a time (i.e. getline)? I'm trying to do this
> in a Cocoa Framework.
"line" in what sense? is this a text(ish) file?
Anyway look at -[NSString getLineStart:end:contentsEnd:forRange:] an
On Sep 19, 2008, at 3:15 PM, Jordon Hirshon wrote:
How can I read a file a line at a time (i.e. getline)? I'm trying
to do this in a Cocoa Framework.
Try using NSFileHandle to read a file until a line feed is
encountered. There's no built-in method of stopping at a character,
but you
How can I read a file a line at a time (i.e. getline)? I'm trying to do this
in a Cocoa Framework.
Thanks,
Jordon
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Co
This is the gist of it, I think. NSArray and NSDictionary should be
safe to store mutable objects, since they use an index or a key for
storage position, and not the object (the value) itself.
So (as I understand it): You *are* allowed to mutate objects in
collections, but only if the objec
On Sep 19, 2008, at 10:48 AM, Matt Long wrote:
p.s. I would defer to David Duncan on the CGImageRef creation
overhead. I'm sure he's right. I just didn't have the time to try to
get his code to work. ;-)
I forgot to set the current context :). More complete code here,
although this doesn
Michael Ash wrote:
>
Has it occurred to you that waiting for the operation to finish is
rather at odds with the idea of trying to run it asynchronously to
keep your program responsive?
>
Absolutely, but if the Thread is running in the background, it really
shouldn't matter to the main
Yep I figured it out. That was it. Just a stupid on my part.
Thanks.
On Sep 19, 2008, at 9:31 AM, Jim Correia wrote:
On Sep 19, 2008, at 11:18 AM, development2 wrote:
Ok I hope someone can help me. I need to get this working.
Here is what I am doing. I have a class called Object, it is set u
Hi-
Your fetch request isn't finding any Categories, and the array
returning from executeFetchRequest is empty. Before doing the
setValue:forKey:, you should test the returned array from
executeFetchRequest to make sure it contains >0 categories, and handle
the situation appropriately if
On Sep 18, 2008, at 11:38 PM, rouanet brice wrote:
I work on a projetc where the executable haven't GUI but I can
launch somme
gui window with plugins.
test <- no gui application
-plugin
-triangle <- this plugin display a triangle in a cocoa window
-rectangle <- this plugin display a r
Hey Brad,
I re-read my message and realized I was a bit condescending in my
comments. Not sure why I was over-stating things so much. I didn't
think I was in a bad mood, but maybe I was. ;-) Anyhow, sorry about
that.
I'm interested in what you are doing here so I went ahead and wrote a
I'm trying to add new instances of some entities, I've got it adding
new objects, and I can create new relationships to new related
objects, but I can't work out how to connect a new instance to an
existing instance of an entity,
eg
I have items with relationship to upcs and categories. I
Corbin, thank you very much. That did the trick! I did read the docs,
just not those docs. I'll pay more attention to the release notes in
the future :)
Thanks again
Marc
On Sep 19, 2008, at 11:07 AM, Corbin Dunn wrote:
On Sep 19, 2008, at 7:58 AM, Marc Respass wrote:
Hi All,
I have an
On Fri, Sep 19, 2008 at 1:06 PM, chaitanya pandit
<[EMAIL PROTECTED]> wrote:
> What you can do is create an image which has nothing i.e is transparent and
> use the following method to set it as the image of disclosure triangle
That probably isn't the best idea, because it will still function as a
What you can do is create an image which has nothing i.e is
transparent and use the following method to set it as the image of
disclosure triangle
- (void)outlineView:(NSOutlineView *)outlineView
willDisplayOutlineCell:(id)cell forTableColumn:(NSTableColumn
*)tableColumn item:(id)item
{
Hi, List,
I have a core data model with 4 entities (viz. Person,Company,Bank and
Address) each entity has an attribute "ID" which is of kind NSString.
Now, what i want to do is i already have an "ID" and i want to find a
managedObject with matching ID.
What i do right now is i create an NSFetc
It does, doesn't it. However, it has lots of little problems, and is
only really useful for the simplest of cases. Search the list archives
for "enterFullScreenMode".
On 9/19/08 9:42 AM, Memo Akten said:
>wow that looks perfect thanks..
>
>On 19 Sep 2008, at 05:10, John C. Randolph wrote:
>
>>
Hi, just in case anybody else notices similar behaviour - I called
removeFileAtPath if an fileExistsAtPath check on the alias evaluated to
true - BUT fileExistsAtPath method only returns true on an alias if the
original file / app is present. The removeFileAtPath method on its own
will quite happi
--- On Fri, 9/19/08, development2 <[EMAIL PROTECTED]> wrote:
> // in here we need to gets the info out of the
> dictioanary and into
> the object
Why would you bother including your entire header file and boilerplate code and
then edit out the part where the error occurs?
On Fri, Sep 19, 2008 at 4:18 PM, development2
<[EMAIL PROTECTED]> wrote:
> Ok I hope someone can help me. I need to get this working.
>
> Here is what I am doing. I have a class called Object, it is set up like
> this:
>
> -- Object.h
>
> @interface Object : NSObject
> {
>
>NSNu
On Sep 19, 2008, at 11:18 AM, development2 wrote:
Ok I hope someone can help me. I need to get this working.
Here is what I am doing. I have a class called Object, it is set up
like this:
Object is the root object defined by the Objective-C language.
(NSObject is typically the root object
I am struggling with a puzzling problem involving an NSTextView and
the Favorites list in the NSFontPanel. I'm hoping someone on the list
has seen something like this before and/or can offer any pointers.
My program is a document-based application with a main document window
that includes an NSTe
Ok I hope someone can help me. I need to get this working.
Here is what I am doing. I have a class called Object, it is set up
like this:
-- Object.h
@interface Object : NSObject
{
NSNumber*objectID;
NSNumber*mass;
On Sep 19, 2008, at 7:58 AM, Marc Respass wrote:
Hi All,
I have an outline view connected to a tree controller and I want to
hide the disclosure triangle. I know that there is a data source
delegate method, - (BOOL)outlineView:(NSOutlineView *)outlineView
isItemExpandable:(id)item, but w
Hi All,
I have an outline view connected to a tree controller and I want to
hide the disclosure triangle. I know that there is a data source
delegate method, - (BOOL)outlineView:(NSOutlineView *)outlineView
isItemExpandable:(id)item, but when I make my controller the data
source of the ou
thanks, that did it...
On 19 Sep 2008, at 15:18, Fabian wrote:
Try [NSApp activateIgnoringOtherApps:YES];
HTH.
On Fri, Sep 19, 2008 at 12:28 PM, Memo Akten <[EMAIL PROTECTED]> wrote:
I want to create a very simple little app that launches a window at
startup,
and then runs in the backgrou
Try [NSApp activateIgnoringOtherApps:YES];
HTH.
On Fri, Sep 19, 2008 at 12:28 PM, Memo Akten <[EMAIL PROTECTED]> wrote:
> I want to create a very simple little app that launches a window at startup,
> and then runs in the background with no dock and menu.
>
> I've created the app as a standard co
On Sep 19, 2008, at 6:32 AM, Keith Duncan wrote:
you [...] aren't allowed to mutate objects that are in collections
Where is that documented?
It is documented (parenthetically) in the documentation for the -hash
method on NSObject.
It is also called out in the Collections programming gui
Hi,
I've tried using removeFileAtPath to delete an alias in the users home
folder, but this doesn't work - it deletes any other file, just not
aliases.
I can't seem to find another method that will do the job. Any help or
advice to resolve this would be greatly appreciated.
Kind Regard
you [...] aren't allowed to mutate objects that are in collections
Where is that documented? I've been doing this without consideration
and nothing's blown up yet.
How is a method to know if an object it's been passed is in a
collection? Equally how are you to know if a method is going to
I want to create a very simple little app that launches a window at
startup, and then runs in the background with no dock and menu.
I've created the app as a standard cocoa app, extending NSApplication
overriding init (set delegate to self) and
applicationDidFinishLaunching to setup a time
Thanks for the replies guys, I think all fingers point to the same
method which is a few years old - but thats cool. I was wondering if
it had been simplified in Leopard but seems not (I just didn't want to
write out-of-date code)
Cheers,
Memo.
On 18 Sep 2008, at 12:03, Memo Akten wrote:
THanks, i'll look in to all that.. though I think for now NSView
enterFullScreenMode:withOptions: may be quite good
On 19 Sep 2008, at 05:13, Michael Ash wrote:
On Wed, Sep 17, 2008 at 3:03 PM, Memo Akten <[EMAIL PROTECTED]> wrote:
Hi All, I'd like to create a little app the runs a quickt
On Sep 18, 2008, at 8:41 PM, Scott Andrew wrote:
I have a question. We are designing a private frame work to wrap our
data handling. The framework is using Core Data with an SQL back
end. However we get errors when loading data if the model file is
not included in the application and is jus
wow that looks perfect thanks..
On 19 Sep 2008, at 05:10, John C. Randolph wrote:
On Sep 17, 2008, at 12:03 PM, Memo Akten wrote:
Hi All, I'd like to create a little app the runs a quicktime movie
(prores) fullscreen across multiple monitors. I think I can figure
out the QTKit stuff, but
On Sep 19, 2008, at 12:05 AM, Apparao Mulpuri wrote:
Hi,
I am little confused with the method + (id)elementWithName:(NSString
*)name in NSXMLNode. Is this method will create a new node with in the
current document context or outside of any document context?.
In the Xcode documentation, apple d
Let's say that I have a vended object that has a method that returns
an NSArray whose contents are large. Let's say that I'm calling this
method from another application over a network. As the transfer of the
NSArray over the network might take a while, I'd like to display a
progress bar. C
53 matches
Mail list logo