Hello, list. I am a hack programmer, so forgive what is probably an
obvious question. I'm working on a core data document based app that
uses bindings I've created in IB to control a master / detail
interface. Briefly, in XCode's xcdatamodel, there is a Person entity
with a name (String) an
Hello, List. I am a novice with CoreData and bindings and I've stumped
myself with this problem. I have created an xcdatamodel that contains
3 objects: an Account object with a relationship property
authorizedUsers, which is a to-many relationship with a Person object.
The Person object has
I'm posting this simply because I *thought* I had looked through all
of Apple's "bindings for beginners"-style documentation, but hadn't
seen this sort of dependent controller setup described. Sorry if it's
obvious or redundant
In the spirit of (finally) answering my own question (and i
Dear List,
I am still learning bindings and CoreData, but I have recently completed
another relatively basic program using both these technologies. I learn best by
seeing other people's code, so in that vein, I'm posting my source (iCredit is
the newer program, but Billing Project also uses thes
Hello List,
I am writing a CoreData app with an entity controller bound to an NSTableView,
with the bindings created programmatically. Periodically, the program creates a
new NSManagedObject, sets default values, and adds it to the MOC. This works
fine. However, the NSTableView does not update i
Sorry. It was NOT the NSTableView's problem. I neglected to add:
[[self managedObjectContext] processPendingChanges];
after the NSManagedObject was created. Please disregard the previous post.
Best Regards,
Dan
___
Cocoa-dev mailing list (Cocoa-dev@li
Hello. I have an NSDatePicker (NSTextFieldAndStepperDatePickerStyle) and I need
it to display time in a 24-hour time mode. After reading Apple's docs and
searching the Web, I can't seem to find a way to make this happen. I have
attached an NSDateFormatter in IB and specified 24-hour time (HH:MM)
>
> On Jan 8, 2010, at 3:12 PM, Daniel Wambold wrote:
>
>> Hello. I have an NSDatePicker (NSTextFieldAndStepperDatePickerStyle) and I
>> need it to display time in a 24-hour time mode. After reading Apple's docs
>> and searching the Web, I can't seem
> Daniel Wambold (wambo...@gmail.com) on 2010-01-08 6:12 PM said:
>
>> Hello. I have an NSDatePicker (NSTextFieldAndStepperDatePickerStyle) and
>> I need it to display time in a 24-hour time mode. After reading Apple's
>> docs and searching the Web, I can'
Sean-
I changed the Apple Menu > System Preferences > Date & Time > Use a 24-hour
clock setting. However, as I mentioned, I'd really prefer not to make this a
system-wide change. I just find it odd that there would be no programmatic way
to change the NSDatePicker to a 24-hour clock. If there is
Dear List,
I have an NSPersistentDocument app using CoreData for storage. I have three
NSArrayControllers to mediate between the three Entities in my Model and three
NSTableViews. Everything works fine until I load a previously saved file. At
that point, the controllers seem to have no content
Quincey-
I have not created a controller in code, to my knowledge, so I don't know how
I'd have two. (I had, previously, made this error by creating an instantiation
of NSDocument in IB, but I realized the error in my ways and cleared that up, I
believe, by resetting the File's Owner to the MyD
I have an NSTableView that I populate with columns programmatically. I use the
following to establish the header titles:
NSTableHeaderCell *myGenericHeaderCell = [[[NSTableHeaderCell alloc]
initTextCell:myTableColumnTitle] autorelease];
[myGenericHeaderCell setAlignment:NSCenterTextAlignment];
[
> On Jan 19, 2010, at 3:30 PM, Daniel Wambold wrote:
>
>> I have an NSTableView that I populate with columns programmatically. I use
>> the following to establish the header titles:
>>
>> NSTableHeaderCell *myGenericHeaderCell = [[[NSTableHeaderCell alloc]
>
I have run up against an apparent 10.6.2 bug in the NSTableView object.
Specifically, if NSTableViewSelectionHighlightStyleNone is set, the tableView
causes Assertion failures and other problems. Below is some code demonstrating
the problem. In any event, I need to emulate the None style for hig
Corbin-
Looks like
[myTableView setAllowsColumnSelection:NO];
stopped the crashing for now (I'm sure I've made plenty of other mistakes that
are lurking in the dark) Thanks for the tip!
-dan___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Pl
Previous problem solved:
A few weeks ago, I posted a question pertaining to trouble I was having when
tableView column header cell titles contained period (.) characters. After
working around it, I recently discovered the source of my problem and I figured
I'd post just in case anyone else stumb
OK, first, thanks to Quincey for pointing out the document on KVO/KVB key
requirements. Since I've made several mistakes along the way, I figured I'd ask
if this seems adequate to ensure conversion of arbitrary strings (keyboard
entered) into compliant keys. The code subsequently checks to ensur
18 matches
Mail list logo