• 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: Trouble retrieving selection from NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Trouble retrieving selection from NSArrayController
      • From: Quincey Morris <email@hidden>
References: 
 >Trouble retrieving selection from NSArrayController (From: "Ayers, Joseph" <email@hidden>)
 >Re: Trouble retrieving selection from NSArrayController (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Trouble retrieving selection from NSArrayController
  • Next by Date: Re: iOS: Calling up numeric keypad
  • Previous by thread: Re: Trouble retrieving selection from NSArrayController
  • Next by thread: Re: Trouble retrieving selection from NSArrayController
  • Index(es):
    • Date
    • Thread