• 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
Exception from [NSEvent startPeriodicEventsAfterDelay:withPeriod]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exception from [NSEvent startPeriodicEventsAfterDelay:withPeriod]


  • Subject: Exception from [NSEvent startPeriodicEventsAfterDelay:withPeriod]
  • From: Kevin Elliott <email@hidden>
  • Date: Mon, 8 Jul 2002 17:10:38 -0700

I've got a window that I run as a modal window using [NSApp
runModalWindow:]. It contains a bunch of controls including 2 NSTextField.
If I mess around with the selection in either NSTextField I soon get an
exception thrown. I'm assuming it's coming from [NSEvent
startPeriodicEventsAfterDelay:withPeriod]- the console gets a message saying
assertion failed and that agrees with what the documentation says about this
methods behavior. My question is- what am I supposed to do about it? Right
now I'm catching the exception at the same place I called runModalWindow and
it seems to be working fine, but that strikes me as rather ugly. I'm not
calling the method directly (I assume it's being called somewhere deep in
Cocoa's event handing) and I don't really know any way to narrow the source
of the problem.

Worst case I suppose I could live with my while loop around
runModalWindow, but that seems ugly and inelegant. Can anyone offer any
clue as to what this exception means and what I'm supposed to do about it?

> -Kevin Elliott
> Software Engineer
> CharisMac Engineering
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Drag and Drop file paths onto text field
  • Next by Date: Re: Drag and Drop file paths onto text field
  • Previous by thread: Re: Drag and Drop file paths onto text field
  • Next by thread: Drawing text?
  • Index(es):
    • Date
    • Thread