• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Progress bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Progress bar


  • Subject: Re: Progress bar
  • From: Andrea Salomoni <email@hidden>
  • Date: Thu, 10 Nov 2005 23:13:47 +0100

Hi,

yes is a cocoa application template.
And no... I think isn't enough to setstingvalue (i.e for a status message.
I wrote this:


-(void)awakeFromNib
{
	[myStatusField setStringValue:@"Setting up database"];
	[myStatusField display];
//////////
loadWindow = [[NSWindow alloc] initWithContentRect:[loadWindow
frame] styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered
defer:YES];
    [loadWindow setContentView:theView];
    [loadWindow setHasShadow:YES];
	[theImage setImage:[NSImage imageNamed:@"splash.tif"]];
    [theImage setTarget:loadWindow];
    [theImage setAction:@selector(orderOut:)];
    [loadWindow makeFirstResponder:theImage];
    [loadWindow setLevel:NSStatusWindowLevel];
    [loadWindow setIgnoresMouseEvents:NO];
    [theImage setNeedsDisplay];

[loadWindow makeKeyAndOrderFront:self];

[upgrade checkDirectory];
//////////
[self addToWin:thisWindow];
[myPrintFolder addToWin:myFolderPanel];
[metarPop removeAllItems];
[myStatusField setObjectValue:[NSString stringWithString:@"Quering database....."]];


....

Thank you all
Andrea

Il giorno 10/nov/05, alle ore 23:00, Daniel Jalkut ha scritto:

Did you start from one of Xcode's "Cocoa Application" templates? If not, this would probably be a good idea at least until you get more knowledgeable about how everything fits together.

If you use of the templates, most of this stuff just works. Also, if you haven't gone through any of the introductory Cocoa tutorials, that would probably be a good idea.

Daniel

On Nov 10, 2005, at 4:56 PM, Andrea Salomoni wrote:

Isn't enough... infact if I try to diplay a text for example and try to change it the text isn't displayed...
I think that should be something about loop of events...
any idea?


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Progress bar
      • From: Shawn Erickson <email@hidden>
References: 
 >Progress bar (From: Andrea Salomoni <email@hidden>)
 >Re: Progress bar (From: Uli Kusterer <email@hidden>)
 >Re: Progress bar (From: Andrea Salomoni <email@hidden>)
 >Re: Progress bar (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: Progress bar
  • Next by Date: Re: CoreData, inheritance and plug-ins
  • Previous by thread: Re: Progress bar
  • Next by thread: Re: Progress bar
  • Index(es):
    • Date
    • Thread