Тёмный

31 Xcode Tips & Tricks - 2023 

Sean Allen
Подписаться 156 тыс.
Просмотров 41 тыс.
50% 1

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 135   
@seanallen
@seanallen Год назад
My iOS Development Courses - seanallen.teachable.com
@ALL_ONE_SUN
@ALL_ONE_SUN Год назад
Thanks for posting that educational video! Was at WWDC 2022 and would love to have a salad like there were there today (learned at WWDC that rich people can afford actually nutritious food (part of what causes disparity) that also tastes great…and that made Me realize how much of the food I have eaten in My life has had relatively little taste compared to the much better food that rich people can afford). Had some interviews with Apple after that, but sadly haven’t been hired yet. Actually I had to declare one of the interviews basically over when the interviewer said he hired a C programmer that had never done OOP…for a role doing OOP…and then that same interviewer HORRIBLY used the ee pronunciation of a certain background services utility that is ACTUALLY pronounced dae and has a VASTLY BETTER meaning than the SEVERELY WRONG “dee” pronunciation…I declared that interview was SOOOOOO OVER when he said that.
@ALL_ONE_SUN
@ALL_ONE_SUN Год назад
By the way, there were some app performance issues when nested a bunch of SwiftUI views. Any recommendation for eliminating the app performance issues SwiftUI caused? (There aren’t any animations, but there are view size relation calcs in those subviews). So far swiftui has sadly inspired to find best programmatic UIKit tool such as snapkit. Felt as though swiftui was such a fcking scam and apple fail.
@ALL_ONE_SUN
@ALL_ONE_SUN Год назад
WTF is the issue with SwiftUI doing like 50 nested closure calls on a slider move, by the way?
@rocketbro.h
@rocketbro.h 7 месяцев назад
My friend this is gold. That vertical select thing caused an audible whoop of joy
@seanallen
@seanallen 7 месяцев назад
Happy to help!
@jenkinsxu6485
@jenkinsxu6485 Год назад
command+shift+o and command+shift+j is always a good combo
@iamsanketray
@iamsanketray Год назад
There is a some sense of familiarity when it comes to Sean's Videos. I have been watching your videos even before I started my career 4.5 years back. I still enjoy these videos so much.
@seanallen
@seanallen Год назад
Thanks for the long-time support, Sanket! Haven't seen you comment in a while. Welcome back :)
@jonothen2212
@jonothen2212 Год назад
My jaw dropped brother Thanks a lot
@seanallen
@seanallen Год назад
Haha, happy to help out with some new knowledge, Jono.
@cryptosid8006
@cryptosid8006 Год назад
Excellent tips here, my fave: 2:23 edit all in scope, very nice.
@seanallen
@seanallen Год назад
Glad you liked it!
@selvarajant
@selvarajant 4 месяца назад
This is super useful. thanks a lot. 💛
@seanallen
@seanallen 4 месяца назад
Glad you liked it :)
@mdabirhossain6100
@mdabirhossain6100 Год назад
These shortcut is going to boost my productivity lot more than before brother
@seanallen
@seanallen Год назад
Happy to help!
@sourPollo
@sourPollo Год назад
I come back to this video time and time again. Thank you Sean!
@shadowofarman
@shadowofarman Год назад
Great video as always Sean! I have an extra tip for number 18: You could put a release build compile time error so you can make sure you change or do something before releasing the app: #if !DEBUG error(“change these before release!”) #endif This way the error will only happen when archiving for release, so you can freely test everything you want in debug mode without worrying that you would forget to do it in the end
@seanallen
@seanallen Год назад
Very good tip!
@drluismoya
@drluismoya Год назад
One of the best IDE's tips and tricks I've seen. Thanks for sharing! 🏅
@seanallen
@seanallen Год назад
Glad you liked it!
@luisarias7622
@luisarias7622 Год назад
Aways clear and direct to the point. I hate introductions and bla bla. Great video Sean.
@seanallen
@seanallen Год назад
Thanks Luis!
@8615283
@8615283 Год назад
Oh man.this was so great.Thank Sean.
@seanallen
@seanallen Год назад
Glad you enjoyed it, Mehdi!
@sourPollo
@sourPollo Год назад
All this time I thought I had to have my phone plugged in in order to run the code on device. Thanks!!!! 🔥
@seanallen
@seanallen Год назад
Glad you got a good tip from the video, Jeff 😀
@vladislav2587
@vladislav2587 Год назад
Thanks! Last tip is perfect for 13inch laptop.
@seanallen
@seanallen Год назад
Agreed. Very helpful when you need that extra space.
@EpicnessCupStudios
@EpicnessCupStudios Год назад
Man. That demo recording feature is a game changer.
@seanallen
@seanallen Год назад
Glad you liked that one :)
@mkbfhd
@mkbfhd Год назад
So helpful😍thank you so much, sir!
@seanallen
@seanallen Год назад
Happy to help!
@IasonOrlandosOx
@IasonOrlandosOx Год назад
Thanks a lot ! Your approach is gold.
@seanallen
@seanallen Год назад
Glad you like the approach 👍
@michaelp.6511
@michaelp.6511 4 месяца назад
You make my day much easier now bro 😎 🎉 much thanks
@seanallen
@seanallen 4 месяца назад
No problem 👍
@denisg1208
@denisg1208 Год назад
Thanks for going straight to the tips 🙏🏻 see that less often on YT
@seanallen
@seanallen Год назад
Working on cutting out as much fluff as I can. Thanks for the feedback :)
@hoagy_ytfc
@hoagy_ytfc Год назад
Yes!
@KJPKJPKJP
@KJPKJPKJP Год назад
Pure gold! thx Sean
@seanallen
@seanallen Год назад
😀
@trungnguyenthanh9233
@trungnguyenthanh9233 Год назад
Thank you
@seanallen
@seanallen Год назад
No problem, Trung 👍
@MarvelousLXVII
@MarvelousLXVII Год назад
Great video as usual.
@seanallen
@seanallen Год назад
I appreciate that! Glad you enjoyed it.
@tpiatekarch
@tpiatekarch Год назад
Excellent tips Sean! Thanks a lot as always!
@seanallen
@seanallen Год назад
No problem, Tomasz. Glad you got some good tips out of it!
@fragrance7768
@fragrance7768 Год назад
Great video !!!
@seanallen
@seanallen Год назад
Thanks!
@tbg6nb
@tbg6nb Год назад
8:50 we can get an error without the preprocessor command. Just write any text like "hello" on an empty line and it will say something like "Cannot find 'hello' in scope"
@pravalikad7740
@pravalikad7740 Год назад
I know more than half of these shortcuts. I can proudly say I am a senior dev 😀✌🏽
@Hasan-po6ud
@Hasan-po6ud 6 месяцев назад
Thanks
@seanallen
@seanallen 6 месяцев назад
No problem
@andrewiglinski148
@andrewiglinski148 Год назад
Ah dude this is honestly my biggest struggle with Swift and Apple dev stuff in general. I'm a f---ing boss with Vim and I'm ok going back to vscode when I need to for Jupyter stuff or the occasional debug sesh... but X-code is such a huge change. It's super powerful and I admire the people that are super good with it, but it's been a struggle for this vim-bro.
@phongle1772
@phongle1772 11 месяцев назад
Got to learn to do both. An IDE is just a tool to help you finish a task. You should have the skills to complete it regardless of the tool. There’s a lot of documentation.
@awais.fayyaz
@awais.fayyaz Год назад
Thanks for the tips, Sean.
@seanallen
@seanallen Год назад
Any time!
@trevormills
@trevormills Год назад
Awesome video with some great tips - thanks Sean
@seanallen
@seanallen Год назад
No problem, Trevor. Glad you enjoyed it!
@etaosin
@etaosin Год назад
10th I'm using since 2017 :) But thx for this material. I will be back here to use as much these functions as I can.
@seanallen
@seanallen Год назад
Blowing out your views like that is SO helpful.
@vectorShop
@vectorShop Год назад
really useful, thanks!
@seanallen
@seanallen Год назад
Happy to help!
@reidbrown7841
@reidbrown7841 6 месяцев назад
This is fantastic. Thank you
@seanallen
@seanallen 6 месяцев назад
Glad you enjoyed it!
@Lordbyronq
@Lordbyronq Год назад
Thanks Sean! Amazing tips as always. Keep up the fantastic work.
@seanallen
@seanallen Год назад
Thanks, Byron. Will do!
@thomasjay2694
@thomasjay2694 Год назад
Nice video. I am used to appcode (RIP) so I found this video quite interesting. Unfortunately Xcode is nowhere close to the refactoring capabilities of appcode and in general code editing isn’t xcodes strong suite. They should have spend more time on configuration instead of fancy animation. I am really hoping for a major overhaul at wwdc so Xcode won’t be the last ide without ai code sense.
@mateuszkacperski1211
@mateuszkacperski1211 Год назад
2:05 is very helpful- thank you 🙏
@seanallen
@seanallen Год назад
Glad it was helpful, Mateusz!
@af2b
@af2b 11 месяцев назад
Hi Sean! hope you good!!! One day I wan't to became like you in iOS Development. Have a good day master =)
@logicito
@logicito Год назад
Such a great video, thank you
@seanallen
@seanallen Год назад
Glad you enjoyed it!
@norah8201
@norah8201 Год назад
Great, thank you.
@lowell_
@lowell_ Год назад
Wireless connection to a device.. didn't know about that one, thanks!
@bytesizedscreencasts
@bytesizedscreencasts Год назад
Do not work 80% of the time.
@LeaTamola
@LeaTamola Год назад
Excellent video Sean
@seanallen
@seanallen Год назад
Thanks Lea!
@NexusUA
@NexusUA Год назад
wow, was very useful for me, thanks!
@seanallen
@seanallen Год назад
Glad it was helpful for you, Pavel.
@toastrecon
@toastrecon Год назад
Awesome, thanks, Sean!
@seanallen
@seanallen Год назад
No problem, David!
@nuriddinburkhonov5214
@nuriddinburkhonov5214 Год назад
Very educational, thanks!
@seanallen
@seanallen Год назад
Glad it was helpful!
@martinseal1987
@martinseal1987 Год назад
great video
@seanallen
@seanallen Год назад
Thanks!
@blinkpo4
@blinkpo4 Год назад
Very helpful. Thanks!!!! ❤
@seanallen
@seanallen Год назад
Happy to help!
@CapnSlipp
@CapnSlipp Год назад
Also regarding indentation, ⌘] will indent the selected lines and ⌘[ will outdent. I use these all the time because the same keyboard shortcuts work across many text/code editors, and because I’ve never been a big fan of auto-indent (maintain indent when pressing return: yes, decide the indent for me based on context: no thank you).
@gauthamvijayan
@gauthamvijayan 17 дней назад
God tier content.
@CapnSlipp
@CapnSlipp Год назад
Another Single Asset App Icon tip: Xcode will take an use an SVG without issues. I shows a warning and I think I had to do some trickery of initially giving it a PNG then swapping it out in the filesystem with an SVG, but it builds and generates a PNG for device without issue.
@david-holmes
@david-holmes Год назад
Thanks!
@seanallen
@seanallen Год назад
I appreciate the generous support, David 😀
@isc873
@isc873 4 месяца назад
i am software enginner working for several 3years. I want to become an Apple software developer (using Apple product development language). What do you think about the learning materials and the future as an Apple developer?
@russellarcher9771
@russellarcher9771 Год назад
One weird thing I noticed re Extract Subview is that the option only shows up if the preview canvas is open!
@seanallen
@seanallen Год назад
Yes, this is true. I forgot to mention that.
@sergioudalov361
@sergioudalov361 Год назад
cmnd+ctrl+e best! )
@soywil
@soywil Год назад
What Xcode is this, folding ribbon is different on mine. Nice tips thanks!
@ALL_ONE_SUN
@ALL_ONE_SUN Год назад
If extract every subview into an external view, does that prevent entire view from being redrawn when slider in that view’s param was changed?
@aleksandertesenkov1421
@aleksandertesenkov1421 11 месяцев назад
Great tips. Unfortunately, not all of them works for me. The tip 17 “Extract subview” at 7:23 doesn’t work for me. I use Xcode 15.0.1. Right-click brings the popup with multiple different functions grouped in sections. The multiple extract functions are under the “Refactor”, but it is no “Extract into Subview”. Am I do something wrong or Apple removed this function in XCode 15?
@LebenWerden
@LebenWerden 5 месяцев назад
If I execute print, I want the print output currently in the console to be cleared, and the new print output to appear there. It's annoying to click on the trash can icon every time. I haven't found anything in the settings.
@seangseang6872
@seangseang6872 Год назад
Hello, Can you show me how to create the number pad in UiKit?
@JackWill.
@JackWill. Год назад
How do i make it so the side panels are larger in text? its so small. :/
@ingongoyama3995
@ingongoyama3995 Год назад
Settings is now called Behaviors
@CierraLynnise
@CierraLynnise Год назад
I just downloaded Xcode on my Mac (Ventura) but when it asks me to type in my password after reading the lil policy agreement thingy, it keeps rejecting my password thought it’s correct. What could I be doing wrong or how can I bypass it?
@Countrymusichitz
@Countrymusichitz Год назад
I need a link to download Xcode for windows please
@d.k008
@d.k008 Год назад
❗️Pls add subtitles with translation to your videos, Thank you very much!!!
@MarkVolkmann
@MarkVolkmann Год назад
Excellent video as always! There's one thing I can't get to work though. From 17:07 to 17:19 you demonstrate option clicking a file in the Navigator and then hovering over the existing split panes to decide where it should go. That does not work for me. When I option click the file it immediately goes to a seemingly random split pane. Is there some setting I need to change to enable the behavior in the video?
@seanallen
@seanallen Год назад
hmmmm... i'm not sure. It's always worked that way with default settings for me. Do you have more than 2 editors open? If you only have 2 open, it will automatically open up in the secondary window. This feature only works with 2+ editors open.
@MarkVolkmann
@MarkVolkmann Год назад
@@seanallen Yes, I have two editors open when I option-click a file in the Navigator. But it still just immediately places the file in one of the open editors. After you option-click a file do you need to hold anything down while hovering over the open editors?
@seanallen
@seanallen Год назад
To clarity, you need MORE than 2 editors open. So I should have said 3+. Apologies for the confusion.
@MarkVolkmann
@MarkVolkmann Год назад
@@seanallen I tried again with 3 editors open and I get the same behavior. The file that I option click in the Navigator goes to an arbitrary editor and doesn't wait for me to hover over one and click.
@MarkVolkmann
@MarkVolkmann Год назад
I figured this out! You need to option-shift-click the file, not just option-click it. This works regardless of the number of editors open, even if it's only one.
@ALL_ONE_SUN
@ALL_ONE_SUN Год назад
“Click that weird button” (because apple has GUI design “issues”)
@erikkamalov363
@erikkamalov363 Год назад
What is the monitor model))?
@seanallen
@seanallen Год назад
LG 34 inch curved ultra wide. It's a few years old now.
@heyjaywilson
@heyjaywilson Год назад
🤯🤯🤯🤯
@seanallen
@seanallen Год назад
Lot of good stuff in here... tough to remember them all tho, lol.
@davidlintin
@davidlintin Год назад
Dude the way you have your indents in your models gives me anxiety 😅
@seanallen
@seanallen Год назад
Code organization/style is always a subjective thing :)
@kirow-hw5mu
@kirow-hw5mu Год назад
I'm AppCode user and because it will be sunset next year I'm trying to get used with Xcode. But its like a nightmare... All Xcode users that I have worked with making a lot of grammar mistakes. In the video there was section about Spell Check. I tried and it much worse than AppCode propose. In AppCode we can fix or add to dictionary with Alt+Enter shortcut, not touching mouse (and it will actually apply rename in all places needed). In Xcode - CMD+: and then we need to interact with this badly designed popup to pick change and it will correct only one place. Very bad user experience... Quick Refactor - Extract View - Not quick at all. Extract, rename, add property, change init signature. disgusting Hope next year there will be some improvements for refactoring otherwise I will need to change language or suffer in Xcode. Also Copilot would be useful - save a lot of time for boilerplate code.
@RanjsaBiswase
@RanjsaBiswase Месяц назад
Taylor Jennifer Miller Nancy Clark Michael
@ALL_ONE_SUN
@ALL_ONE_SUN Год назад
LOL…warning list…worked hard to make an app that has had less than 150 US DOLLARS in profits in a month…as if there was any reason worth having a warnings list that was ONLY those manually specified
@Ni7ram
@Ni7ram Год назад
hey sean! i love your videos! but you talk too fast, and in a monotonous (although high energy, which is appreciated!) way. its makes it difficult to absorb
@Gadolizm
@Gadolizm Год назад
great 😍
@ZoeSummers1701A
@ZoeSummers1701A Год назад
I wish Xcode had a) Regions and b) Allman bracing and not that vile K&R crap.
@f00kwhiteblackracismwarsh07
That’s the beauty of IDE right yay
@gofudgeyourselves9024
@gofudgeyourselves9024 Год назад
Pat cummins
Далее
Swift Closures Explained
14:23
Просмотров 65 тыс.
24 Xcode Tips in 15 Minutes
15:30
Просмотров 73 тыс.
3 Levels of Vim Refactoring
7:48
Просмотров 40 тыс.
Expert Advice to Learn iOS Dev & Swift FAST
1:04:52
Просмотров 39 тыс.
Programmatic Navigation in SwiftUI explained
17:50
Просмотров 4,4 тыс.
Vite Crash Course | Faster Alternative To CRA
16:24
Просмотров 204 тыс.
What's New in Xcode 14
9:53
Просмотров 44 тыс.