Re: Trouble retrieving selection from NSArrayController
Re: Trouble retrieving selection from NSArrayController
- Subject: Re: Trouble retrieving selection from NSArrayController
- From: "Ayers, Joseph" <email@hidden>
- Date: Tue, 22 Feb 2011 18:04:37 -0500
- Acceptlanguage: en-US
- Thread-topic: Trouble retrieving selection from NSArrayController
Here's the interface....
I understood from Scott Stevensons book that in 32bit mode you had to declare the instance variables.
//
// Tapes.h
// Roboplasm
//
// Created by Joseph Ayers on 10/11/10.
// Copyright 2010 Northeastern University. All rights reserved.
//
#import <CoreData/CoreData.h>
#import "VideoClip.h"
//@class VideoClip;
@interface Tapes : NSManagedObject
{
NSString * TapeName;
NSDate * TapeDate;
NSString * Notes;
NSSet * VideoClip;
}
//attributes
@property (nonatomic, retain) NSString * TapeName;
@property (nonatomic, retain) NSDate * TapeDate;
@property (nonatomic, retain) NSString * Notes;
//relationships
@property (nonatomic, retain) NSSet * VideoClip;
@end
@interface Tapes (CoreDataGeneratedAccessors)
- (void)addTapesObject:(Tapes *)value;
- (void)removeTapesObject:(Tapes *)value;
- (void)addTapes:(NSSet *)value;
- (void)removeTapes:(NSSet *)value;
- (void)addVideoClipObject:(VideoClip *)value;
- (void)removeVideoClipObject:(VideoClip *)value;
- (void)addVideoClip:(NSSet *)value;
- (void)removeVideoClip:(NSSet *)value;
@end
On Feb 22, 2011, at 5:34 PM, Quincey Morris wrote:
> On Feb 22, 2011, at 13:30, Ayers, Joseph wrote:
>
>> @interface Tapes : NSManagedObject
>> {
>> NSString * TapeName;
>> NSDate * TapeDate;
>> NSString * Notes;
>> NSSet * VideoClip;
>> }
>
> Incidentally, what are those instance variables doing in the managed object subclass? They seem *extremely* unlikely.
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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