• 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: Sqlite and formatters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sqlite and formatters


  • Subject: Re: Sqlite and formatters
  • From: Bergmann Manfred <email@hidden>
  • Date: Sun, 11 Dec 2005 20:34:32 +1100

Hi.

A bitmore information would be useful. How do you read the value out of your sqlite database, what data type do you pass to the NSTableView, ...
If you have a NSNumberFormatter attached to the NSTableView cell you should pass a NSNumber instance to the NSTableView, whatever the source datatype is.


Best regards,
Manfred


Am 10.11.2005 um 09:21 schrieb Sanri Parov:

Hy everybody,

here's another tiny question.
I'm working on MacOS X 10.4 together with a NSTableView and Sqlite. If I try to add a formatter to a column containing floats from a sqlite database (even if I know it's typeless), suddenly when queried the column doesn't display a single number.
If I detach the formatter, everything runs well.
Is this normal?
Is there a way to avoid this?

Many thanks.

--
Sanri Parov from iBook

--
software by MABE
http://www.software-by-mabe.com



_______________________________________________
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
References: 
 >Sqlite and formatters (From: Sanri Parov <email@hidden>)

  • Prev by Date: Re: Ignore hide messages sent to my application?
  • Next by Date: Setters, Getters and efficiency
  • Previous by thread: Sqlite and formatters
  • Next by thread: Re: NSTextField undo in a sheet?
  • Index(es):
    • Date
    • Thread