-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image not masking #1
Comments
I've just created a sample project using the latest Xcode under Mavericks, and it seems to work. Just add the two files into the project, the original image, the mask, and this line: self.maskedImageView.image = [[NSImage imageNamed:@"apple.jpg"] maskUsingMaskImage:[NSImage imageNamed:@"mask2.jpg"]];
|
I know this is going to sound strange, but try checking the result in the actual application, and not in the Xcode preview. |
Yes, I've done that. This was just for because I wanted to show you. It's probably nothing wrong with your code. I'll investigate further. It's weird though, because it's pretty straight forward. |
Just wanted to confirm that it works. And it does. Just made a new clean project and tested it again and it works fine, so the problem lies in my code. Thanks for your code and your help! Really appreciate it! |
Awesome! Glad it worked. |
Hi,
just downloaded your masking code. Can't seem to get it to work. No matter how I try, it won't mask the images.
Attach the images that I try with here.
I'm using Xcode 5.0 and Mavericks.
any ideas?
The text was updated successfully, but these errors were encountered: