3 Methods of Masking Images (iOS, Xcode 8, Swift 3)

3 Methods of Masking Images (iOS, Xcode 8, Swift 3)

Mark Moeykens

7 лет назад

16,006 Просмотров

🌐 https://www.bigmountainstudio.com
Everyone say hello to our guest star in this video: Jason Chen!
He won a contest I had earlier so he is the guest start of this episode. :D

Want to learn how to make images different shapes? Want to learn how to do it in a reusable manner? Want to learn how to give your images a shape and a shadow? Want to see the results right on the storyboard without even running the project?

Watch this video to learn how to do any or all of those things!

🛠 Code: https://www.bigmountainstudio.com/explorers
👉 Find out the Ugly Truth of SwiftUI: https://www.bigmountainstudio.com/ugly-truth

📙 FREE SwiftUI PictureBook: https://www.bigmountainstudio.com/free-swiftui-book
🎦 Getting Started With CollectionViews: https://www.pluralsight.com/courses/ios-collection-views-getting-started

#SwiftUI #Swift #bigmountainstudio

Тэги:

#Xcode #iOS #Programming #Swift #Tutorial #Tuts #Learning #Example #app #learn #make #how_to #mobile #Xamarin #beginner #UIImageView #UIImage #Mask #Masking #Masking_Images #Image_Mask #3_methods #Shadow #shadowopacity #ios_mask_image_with_shape #ios_mask_view #ios_swift_mask_image #Implementing_Image_Masking_in_iOS #ios_-_Swift_Image_masking #iPhone_how_to_mask_an_uiimageview #How_to_Apply_Masks_in_IOS_using_CALayer #CALayer #CALayer.mask #UIimageview.mask #Swift_UIView_mask #creating_image_mask #code #way
Ссылки и html тэги не поддерживаются


Комментарии:

@jasonchen-alienroid
@jasonchen-alienroid - 07.07.2017 00:58

lol... internet famous!

Ответить
@hareeshgangadhara415
@hareeshgangadhara415 - 08.08.2021 14:04

In simple words, you're amazing

Ответить
@fedorlosev616
@fedorlosev616 - 26.03.2020 05:06

Nice video)

Ответить
@dennisnora4609
@dennisnora4609 - 25.11.2019 08:36

this is so helpful!

Ответить
@leeunsxng5978
@leeunsxng5978 - 20.04.2019 12:11

How am i able to apply this on ios

Ответить
@marlhex6280
@marlhex6280 - 19.11.2018 07:30

Can you make one only for App delegate with different containers like page control etc

Ответить
@chrispy104k
@chrispy104k - 16.10.2018 06:49

That one thing I saw you do - "Edit in Scope" was just a huge moment. Change every variable is one swoop. Genius.

Ответить
@basil5060
@basil5060 - 27.07.2018 23:33

I tried to make UIImageView as a circle but it doesn't work for me =\ , should I make a mask ? is it a good idea ?

Ответить
@Tenly2009
@Tenly2009 - 05.06.2018 10:09

Took me weeks to figure out the difference between frame and bounds. Took months for me to learn there was a mask parameter. Sure wish I had found this video a month ago. You explain it so clearly! One question though - if I have a control nested inside several other controls - let’s say it’s a collectionviewcell inside a tableview row inside of a container view. Is there any way I can query a particular cell and get its frame with respect to the entire screen rather than just its parent view? “Frame” will only give me the co-ordinates within its immediate superview. How can I get the absolute frame?

Ответить
@glebcherkashyn2357
@glebcherkashyn2357 - 07.04.2018 12:32

i looooove your videos about design tricks!! great job! thank you!!

Ответить
@SamChen-pe8xi
@SamChen-pe8xi - 09.01.2018 19:06

Great video!
Yet I've got two silly questions:
1. do i need to make the mask file for myself(in photoshop or something)? if yes, and how to make a mask file? is there any builtin mask in Xcode?
2. if mask is used in a camera app, to crop the output image, will the final image be very small?
thanks!

Ответить
@everton_dev
@everton_dev - 23.11.2017 19:29

First of all, awesome tutorial! Thank you for your help on this. I just had an issue. In my project the mask is not resizing in different screens sizes. The imageView itself resize perfectly without the mask but when I'm applying the mask, it just cutting the image. Anybody had this issue?

note1: I made all the assets 1x, 2x and 3x
note2: the constraints seems fine to me)

Ответить
@YogeshPateliOS
@YogeshPateliOS - 18.11.2017 12:01

sir can you provide mask image because i am trouble for mask image so my output is not well. Thank You :)

Ответить
@adc9640
@adc9640 - 30.09.2017 05:48

Great tutorial! Thanks!

Ответить
@nehareddy5097
@nehareddy5097 - 30.07.2017 17:12

how to assign same background to multiple views in xcode??

Ответить
@kunchalasai
@kunchalasai - 20.07.2017 12:31

Mark one request pls do a video on otp or Mpin

Ответить
@carloszetula2307
@carloszetula2307 - 10.07.2017 20:28

Hey, you came to my country! I hope you enjoyed. I'm translante your videos, titles and description to Portuguese. Thank you for sharing your valuable knowledge!

Ответить
@tesak911
@tesak911 - 08.07.2017 18:05

Your chanel is amazing! Thank u for your work!

Ответить
@avinashgupta322
@avinashgupta322 - 08.07.2017 11:27

Hi Mark ,Thanks for implementing this kind of idea . But whenever i m trying to run this in device its not showing the image but in storyboard its showing image , can u please give me some suggestions regarding this

Ответить
@midlifematt
@midlifematt - 07.07.2017 22:48

awesome intro Mark!

Ответить
@gouravmandliya5181
@gouravmandliya5181 - 07.07.2017 17:59

keep make videos I like your channel 😊😊

Ответить
@tazihosniomar
@tazihosniomar - 07.07.2017 16:52

greate tutorial thank you boss !!!

Ответить
@tomerpeled1277
@tomerpeled1277 - 07.07.2017 14:13

Your videos really inspire me. Keep making great videos. I would love to see more new ways to include core animation (like the emitter video) in a project

Ответить
@kunchalasai
@kunchalasai - 07.07.2017 12:34

Great one again!!!

Ответить
@ashrafulzamaneashan7045
@ashrafulzamaneashan7045 - 07.07.2017 11:38

Mark please make a tutorial using Chart API !!! Please !!!

Ответить
@padalingama1501
@padalingama1501 - 07.07.2017 10:17

Awesome video. why don't u make collection view with different cell size?

Ответить
@kajalbandhara6495
@kajalbandhara6495 - 07.07.2017 08:35

Awesome Tutorial. I love the way you are detailing each and everything. Thank you so much for that.

Ответить
@chmziaurrehman
@chmziaurrehman - 07.07.2017 08:13

superb 👍🏻❤️

Ответить
@sephmoroth
@sephmoroth - 07.07.2017 03:07

Awesome video Mark. Rio is great, was there for the World Cup in 2014 :)

One question, in the first solution how come the mask UIImageView didn't need the bounds?

Ответить
@ricardohochman
@ricardohochman - 07.07.2017 02:48

I'm from Sao Paulo! It's very cool that you're in Brazil! =D

Ответить
@TheBarthinator
@TheBarthinator - 07.07.2017 02:19

Is the mask image just a blacked out photoshop edit of the logo?

Ответить
@jacobs8102
@jacobs8102 - 07.07.2017 01:53

Rio is amazing !!! Cool video Mark!

Ответить