• 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
Interface Builder not allowing modification of NSDateFormatter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interface Builder not allowing modification of NSDateFormatter


  • Subject: Interface Builder not allowing modification of NSDateFormatter
  • From: Sam Stigler <email@hidden>
  • Date: Sat, 16 Dec 2006 00:42:32 -0800

Hi,

First off, hi, my name is Sam, I'm a student (yes, I know I'm posting here, sorry...), and I've been just getting into Cocoa programming in the past few months after starting out first in Java and then in Cocoa-Java. Terribly for me my college does not teach Mac programming, so I'm having to for most part go it alone in terms of learning. (If you have any good arguments for why they should start teaching it, could you please send them to me and I'll forward them along? (-: )

Anyway, here's my issue: I've created a four-column table, bound values to to cells in it (the left one is an image; the other three are text); and then decided I'd actually like to use a date formatter for the far right column. I'm assuming that means that I need to change the bound values for that column to type "NSDate." I haven't done that yet, but what I have done is drag an NSDateFormatter from the IB palette to the table column. Problem is, when I go in to try to choose the format, it won't let me -- under the "Formatter" view in the inspector, the default is " %m%d%y " (without the quotation marks). If I try to select something different in the formatter table, it will flash on that option very briefly before jumping back to the default. Same thing with the "Custom Format" text field: If I click away from the text field for even an instant, it will go back to the default. It's almost like the formatter is bound to the default, but I don't see how that can be..... I've tried unbinding that column to see if that might be the problem, but it did not fix the problem. One other odd thing I noticed: When I was dragging the date formatter on to the my table, the outlines for the table columns were incorrect (off by at least 60px), and IB only recognized three (as opposed to four) columns as possible drop locations. I suppose the second oddity is because you can't use a date formatter on an image, but still, the drop zones seemed way off.
The table was working fine before I added the date formatter.


I've Googled, etc. for this issue and can't find any mention of it. Do you know what could be causing it, and what a possible work-around might be? I'm using the latest version of Xcode on Tiger.

Thanks,

Sam Stigler
email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: String Formating
  • Next by Date: outlineViewSelectionIsChanging and arrow keys
  • Previous by thread: Re: NsTableView and the form view.
  • Next by thread: outlineViewSelectionIsChanging and arrow keys
  • Index(es):
    • Date
    • Thread