• 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
Bad EXC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bad EXC


  • Subject: Bad EXC
  • From: "Peters, Brandon" <email@hidden>
  • Date: Sat, 23 Aug 2014 03:49:12 +0000
  • Thread-topic: Bad EXC

Devs,

I am getting this error:

EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode 0x0)

over this line of code:

if self.contentView!.frame.size.width > photo.size.width {
                    docRect.size.width = self.contentView!.frame.size.width
                    imageLocation.origin.x = (self.contentView!.frame.size.width - photo.size.width) / 2.0
                }

I am using XC6 beta 6. Has any encountered this? Any guidance on resolving the issue? Thanks.
_______________________________________________

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


  • Prev by Date: Re: <null> value in KVO change dictionary ?
  • Next by Date: -glyphWithName:
  • Previous by thread: Re: <null> value in KVO change dictionary ?
  • Next by thread: -glyphWithName:
  • Index(es):
    • Date
    • Thread