• 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
IBOutlet Connection Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IBOutlet Connection Problem


  • Subject: IBOutlet Connection Problem
  • From: Dave <email@hidden>
  • Date: Sat, 05 Sep 2015 14:58:03 +0100

Hi,

I have a subclass of NSWindow and a subclass of NSWindowController:

LTWValidationWindow
LTWValidationWindowController

LTWValidationWindow.xib is loaded from LTWValidationWindowController as so:


-(instancetype) initWithWindowKind:(NSString*) theWindowKind
{
NSString*						myNIBName;

myNIBName = @"LTWValidationWindow";
self = [super initWithWindowNibName:myNIBName];
if (self == nil)
	return nil;

self.pWindowKind = theWindowKind;

return self;
}

The File’s Owner in the LTWValidationWindow.xib is set to LTWValidationWindowController, the NIB contains a single window has a class of  LTWValidationWindow. Which has a Scroll View in it.

In LTWValidationWindowController, I have the following statement:

@property (nonatomic,weak)		IBOutlet NSScrollView*						pScrollView;

For some reason, when I drag the circle in the margin of the above outlet to the corresponding NSScrollView in the LTWValidationWindow.xib it won’t make the connection. I’ve checked all the classes etc and they are all set ok.

Not sure if this matters, but this *was* working ok before I installed XCode 7 Beta, I’ve since deleted it again and gone back to XCode 6.4 and since then this has started happening.

Anyone have any idea what could be wrong and how to fix it?

Thanks
Dave


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: IBOutlet Connection Problem
      • From: Dave <email@hidden>
  • Prev by Date: Re: XCode 7 Latest Beta Questions
  • Next by Date: Re: IBOutlet Connection Problem
  • Previous by thread: Re: Unit tests bundle with bad code signature (Xc7b6)
  • Next by thread: Re: IBOutlet Connection Problem
  • Index(es):
    • Date
    • Thread