• 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: What happens to the AppKit Framework when an user logout ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What happens to the AppKit Framework when an user logout ?


  • Subject: Re: What happens to the AppKit Framework when an user logout ?
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 18 Oct 2001 11:31:45 +0200

On jeudi, octobre 18, 2001, at 09:28 , Izidor Jerebic wrote:

On Wednesday, October 17, 2001, at 09:39 AM, Georg Tuparev wrote:

IMHO, what you describe below is the right behavior. Can you imagine the mess if it was not so? In case no one is logged in, where are all events going? Who (user) sends them? Have you thought about security issues?

If you would like to have service app, well no one stops you. Write a Tool, and run it all the time. You can still use Foundation framework for this. But you cannot use AppKit. If you must have UI, well, this is also easy. Split your service app in server tool and UI client, and when a user is logged in, let the client talk to the tool...


Well, sounds easy, doesn't it?

What about if my service app does some image/text/pdf manipulation with AppKit classes (NSImage,text, etc.)? Not displaying the results, mind you.
A simplistic example is image lowres/thumbnail generation - people drop images in a network mounted folder, thumbnails come out somewhere else. And there are many more complex situations where AppKit can/could be used as Foundation (for processing, not GUI display)....

So, anybody knows can I use AppKit in a daemon (for processing) and how to do it?

It seems that as long as you have no connection the window server, it should be working. But the question is :"when don't you have connection to the window server ?". I don't have the answer.

As a side note, I was wondering why the NSBitmapImageRep, NSImage stuff is in the AppKit and not in the Foundation Kit. An image is basically a byte buffer (as is a String). NSString is in the Foundation Kit and has some additions in the AppKit to perform drawings. Why is it not the case with the NSImage stuff ? Maybe it's due to the QuickTime thing...


  • Follow-Ups:
    • Re: What happens to the AppKit Framework when an user logout ?
      • From: "Marco Scheurer" <email@hidden>
References: 
 >Re: What happens to the AppKit Framework when an user logout ? (From: Izidor Jerebic <email@hidden>)

  • Prev by Date: Re: Settings an explicit outgoing mailhost when using Message.framework
  • Next by Date: Re: Settings an explicit outgoing mailhost when using Message.framework
  • Previous by thread: Re: What happens to the AppKit Framework when an user logout ?
  • Next by thread: Re: What happens to the AppKit Framework when an user logout ?
  • Index(es):
    • Date
    • Thread