• 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
View object not accessible from controller object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

View object not accessible from controller object


  • Subject: View object not accessible from controller object
  • From: Jason Horn <email@hidden>
  • Date: Thu, 29 Nov 2007 17:59:03 -0500

I have a simple app that has a controller and a custom view object called VideoView. My app was working fine until I started doing some interface improvements, and now I get exec_bad_access whenever the controller tries to send a message to the VideoView object. I have figured out that, even though the VideoView object is initialized correctly when the nib file loads, and even though I connected VideoView to the controller with an a controller outlet, it's as if the object isn't there. In debugging, I can see that there is no object pointed to by the outlet (again, even though I connected it in IB).

Does anyone know what would would cause this behavior? I have tried everything I can think of, including deleting and recreating the VideoView object, and re-connecting to the controller in IB.
_______________________________________________


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: View object not accessible from controller object
      • From: Jonathan Hess <email@hidden>
  • Prev by Date: Re: Convert hex values in an NSData object to NSString?
  • Next by Date: image conversion, a better way to CGImageRef
  • Previous by thread: Anyone having problems with NSArchiver/NSUnarchiver on 10.5.1?
  • Next by thread: Re: View object not accessible from controller object
  • Index(es):
    • Date
    • Thread