Collection View Animations! (Swift in Xcode)

  Рет қаралды 46,849

Jared Davidson

Jared Davidson

Күн бұрын

Пікірлер: 49
@MichelAndersonLutzTeixeira
@MichelAndersonLutzTeixeira 6 жыл бұрын
Jared you save my week, im work 2 days in card expand animation without a collection or table cell only view inside de scrollview ... and this video solve my problem to expand correctly de UIView... hugs from Brazilian swift developer.!
@cmdcreativity
@cmdcreativity 9 жыл бұрын
Excellent tutorial! Looking forward to part 2!
@captainsreadyroom
@captainsreadyroom 7 жыл бұрын
Oh Jared! This has saved my mental health! Thank you. Subscribed. Swift 3 func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { let cell = collectionView.cellForItem(at: indexPath as IndexPath) cell?.superview?.bringSubview(toFront: cell!) UIView.animate(withDuration: 0.5, delay: 0, usingSpringWithDamping: 1, initialSpringVelocity: 1, options: [], animations: ({ cell?.frame = collectionView.bounds collectionView.isScrollEnabled = false }), completion: nil) } }
@pboabang
@pboabang 9 жыл бұрын
jared Awesome job, you are my go to guy when I am in trouble , keep up the good work, you are a great teacher
@Archetapp
@Archetapp 9 жыл бұрын
Phil Boabang Thank you so much! :)
@synsmchanda
@synsmchanda 8 жыл бұрын
+Jared Davidson (Archetapp) I second Phil's sentiments!
@MrTryten
@MrTryten 9 жыл бұрын
Just what I needed... Thanks man
@cheng-enke2875
@cheng-enke2875 7 жыл бұрын
TKS a lot!! It really help me learn about swift & Xcode.
@thongtran1653
@thongtran1653 8 жыл бұрын
Hello Jared, how can I display the full picture when tap into the cell ?
@drewadorador4565
@drewadorador4565 9 жыл бұрын
Hi Jared, Is it possible to put videos in collection view or it better to use a custom table view?
@selcukdag
@selcukdag 9 жыл бұрын
Awesome tutorial, thank you Jared!
@philippegaming6156
@philippegaming6156 9 жыл бұрын
As always, super super super nice!! :)
@Archetapp
@Archetapp 9 жыл бұрын
Thanks! :)
@fernando73820208
@fernando73820208 7 жыл бұрын
hey hi Jared, i'm trying to make a webview app, and was wondering which should I use, WKWebView or UIWebView?
@aflowf
@aflowf 9 жыл бұрын
I highly appreciate your tutorials, is it possible you demonstrate notification feature such that when a new story is uploaded the user is notified? Sounds complex though
@zafercelaloglu
@zafercelaloglu 8 жыл бұрын
How can I handle back button by using IBOutlets?
@Kirsehirli40able
@Kirsehirli40able 9 жыл бұрын
Keep up the good work!
@Archetapp
@Archetapp 9 жыл бұрын
Will do. :)
@danielcarvalhosousa
@danielcarvalhosousa 6 жыл бұрын
Very nice tutorial! I had some trouble with the last step and had to use a different version for the addTarget action selector: action: #selector(ViewController.backBtnAction) and then added @objc func backBtnAction() { ... Thank you!
@nflcoky
@nflcoky 9 жыл бұрын
That was a very good tutorial.
@Archetapp
@Archetapp 9 жыл бұрын
Thank you! :)
@issamouzali3922
@issamouzali3922 8 жыл бұрын
good job man awsome tutos keep going
@Docere77
@Docere77 9 жыл бұрын
Why would you use tags as opposed to making an outlet and referencing the associated items (UIImageView, TextView)? Tags can be useful, but I am unconvinced of their utility here over an outlet.
@armandolee4029
@armandolee4029 8 жыл бұрын
What methods do we need here if we're loading different text views for each cell? And how do we reference those text views to be displayed ?
@philz417
@philz417 8 жыл бұрын
How would you have different text in the text view for different stories?
@webcoderph
@webcoderph 7 жыл бұрын
hi im trying to do the same ui designs to my app like yours but i cant get it to work. i mean the image display si weird. how to display images on collection view properly? @Jared Davidson
@kiennguyenang1793
@kiennguyenang1793 7 жыл бұрын
Thanks a lot. Your tutorial helped me so much
@mojajema6460
@mojajema6460 8 жыл бұрын
Thanks for your nice tutorial. I want the image to be uploaded from gallery not static. I want to make like whatsup email attachment etc
@divypatel3847
@divypatel3847 9 жыл бұрын
hi jared i get "thread 1 exc_bad_instruction (code=exc_i386_invop subcode=0x0)" after adding back button code was running perfectly before it how to solve it?
@nalinjha3703
@nalinjha3703 9 жыл бұрын
+Divy Patel Oh I had the exact same problem. The problem is that you didn't set the text view's tag as 2. Click on the text view, and then go to the attributes inspector. Then you can change the tag to 2. I hope this helped!!!
@divypatel3847
@divypatel3847 9 жыл бұрын
Nalin Jha thanks for replay but it was set as tag 2 perfectly so it didn't help but thanks jared help me
@nalinjha3703
@nalinjha3703 9 жыл бұрын
Oh I'm sorry it didn't work. Are all of your tags set correctly?
@divypatel3847
@divypatel3847 9 жыл бұрын
Nalin Jha yep all tags set correctly any suggestion?
@nalinjha3703
@nalinjha3703 9 жыл бұрын
Divy Patel the only thing else it could be is either an outlet is not connected or you wrote a variable in the wrong place.
@MohammedAraby
@MohammedAraby 8 жыл бұрын
thanks mate for this video ,, help me to solve some issue :) keep it up
@harishkandikatla9252
@harishkandikatla9252 8 жыл бұрын
Awsome
@Traoreee
@Traoreee 7 жыл бұрын
Can we do same thing with Table View Cell????????
@biotechpro8209
@biotechpro8209 8 жыл бұрын
can you please make tutorial to use uicollectionview to multipleselect image from iphone photolibrary and upload it to a url?? please
@mmaz1049
@mmaz1049 8 жыл бұрын
hello can any one help me to increase the font in the collection view.
@SlehyderMartinezM
@SlehyderMartinezM 9 жыл бұрын
Hi. good tutorial, i question in ( var imageView = cell.viewWithTag(1) as! UIImageView ) this if is image, but if is un Label ? I really thanks if you helpme
@bouncetrader
@bouncetrader 9 жыл бұрын
Jared, Can you also put a source code on github or something? that would help. Otherwise keep up the work.
@bouncetrader
@bouncetrader 9 жыл бұрын
***** getting fatal error: unexpectedly found nil while unwrapping an Optional value
@bouncetrader
@bouncetrader 9 жыл бұрын
***** on this line var imageView = cell.viewWithTag(1) as! UIImageView
@bouncetrader
@bouncetrader 9 жыл бұрын
***** never mind solved it with if let block. But its not showing in simulator anyway. if let imageView = cell.viewWithTag(1) as? UIImageView { imageView.image = UIImage(named: imagesArray[indexPath.row]) }Jared, what swift version do you use?
@technojoe
@technojoe 9 жыл бұрын
***** I am getting this exact error. And wrapping it in an if statement fixes the fatal error, but does not render the images. Did you / Jared find a solution to this?
@ArsomeSarce
@ArsomeSarce 9 жыл бұрын
AwesomeSause!
@Archetapp
@Archetapp 9 жыл бұрын
Haha, thanks! :)
@maheshkolasani1229
@maheshkolasani1229 9 жыл бұрын
I need a NSCollection View tutorial
@jamestoney1922
@jamestoney1922 8 жыл бұрын
U gotta slow down bro lol u help but damn ur fast
Rotating Objects! (Swift in Xcode)
10:56
Jared Davidson
Рет қаралды 31 М.
Animating Images! (SpriteKit : Swift in Xcode)
11:54
Jared Davidson
Рет қаралды 53 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 65 МЛН
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 37 МЛН
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 67 МЛН
REAL MAN 🤣💪🏻
00:35
Kan Andrey
Рет қаралды 9 МЛН
Using Collection Views! (Swift : Xcode)
14:41
Jared Davidson
Рет қаралды 61 М.
The Vim Experience
45:19
Bog
Рет қаралды 137 М.
Circular Transitions! (Swift in Xcode)
11:11
Jared Davidson
Рет қаралды 18 М.
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 42 МЛН
Working with JSON! (Swift in Xcode)
20:45
Jared Davidson
Рет қаралды 77 М.
Learn Swift in 30 Minutes!
36:34
Jared Davidson
Рет қаралды 3,6 М.
Using Picker Views (Swift : Xcode)
13:01
Jared Davidson
Рет қаралды 46 М.
Using Container Views! (Xcode)
11:48
Jared Davidson
Рет қаралды 32 М.
SWIFT Уроки: Compositional Layout - Основы(item, group, section)
50:21
Сергей Горбачёв / cmd+B, cmd+R
Рет қаралды 6 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 65 МЛН