• 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: Background Application.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Background Application.


  • Subject: Re: Background Application.
  • From: Brett Powley <email@hidden>
  • Date: Tue, 20 May 2008 08:29:18 +1000


On 19/05/2008, at 9:39 PM, ninad walvekar wrote:

hi,
Thank you for the reply regarding background application.

I have few more queries:-

1. Can the same application which is now running in the background be made to work as a normal gui application?

It depends what you want your "normal GUI application to do". LSUIElement applications don't have a menu bar or a dock icon, but can have windows etc. For the application that I've written using this, no menu bar wasn't a problem, but no dock icon was a bit annoying. It depends what you want your application to do.


As far as I know, you can't change the LSUIElement setting for an application at run-time, so if you need a menu bar this isn't going to work for you.


I want to make an application run in the background at login and then make it visible to user when the user wants it to run.

Running at login isn't a problem. "Making it visible when the user wants it to run" might be more of a challenge to design a user interface for.


The alternate design is to have a background-only application which is launched at startup, and a separate GUI application. Without knowing more about your application, I don't know whether you would need to pass any data between these which of course is a bit more complex than a single application.

Cheers,
Brett


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Initialize a subclass object with a base class object
  • Next by Date: Re: Initialize a subclass object with a base class object
  • Previous by thread: Re: Background Application.
  • Next by thread: load a Resource file template and search/replace a file
  • Index(es):
    • Date
    • Thread