31 Xcode Tips & Tricks - 2023

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 133

  • @seanallen
    @seanallen  Před rokem +3

    My iOS Development Courses - seanallen.teachable.com

    • @ALL_ONE_SUN
      @ALL_ONE_SUN Před rokem

      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 Před rokem

      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 Před rokem

      WTF is the issue with SwiftUI doing like 50 nested closure calls on a slider move, by the way?

  • @jenkinsxu6485
    @jenkinsxu6485 Před rokem +7

    command+shift+o and command+shift+j is always a good combo

  • @speedrocketstudios5168
    @speedrocketstudios5168 Před 6 měsíci +1

    My friend this is gold. That vertical select thing caused an audible whoop of joy

  • @michaelp.6511
    @michaelp.6511 Před 3 měsíci +1

    You make my day much easier now bro 😎 🎉 much thanks

  • @jonothen2212
    @jonothen2212 Před rokem +5

    My jaw dropped brother
    Thanks a lot

    • @seanallen
      @seanallen  Před rokem

      Haha, happy to help out with some new knowledge, Jono.

  • @selvarajant
    @selvarajant Před 3 měsíci +1

    This is super useful. thanks a lot. 💛

  • @Hasan-po6ud
    @Hasan-po6ud Před 5 měsíci +1

    Thanks

  • @cryptosid8006
    @cryptosid8006 Před rokem +1

    Excellent tips here, my fave: 2:23 edit all in scope, very nice.

  • @iamsanketray
    @iamsanketray Před rokem +2

    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  Před rokem +1

      Thanks for the long-time support, Sanket! Haven't seen you comment in a while. Welcome back :)

  • @fragrance7768
    @fragrance7768 Před rokem +1

    Great video !!!

  • @KJPKJPKJP
    @KJPKJPKJP Před rokem +2

    Pure gold! thx Sean

  • @trungnguyenthanh9233
    @trungnguyenthanh9233 Před rokem +1

    Thank you

  • @8615283
    @8615283 Před rokem +2

    Oh man.this was so great.Thank Sean.

  • @MarvelousLXVII
    @MarvelousLXVII Před rokem +3

    Great video as usual.

    • @seanallen
      @seanallen  Před rokem

      I appreciate that! Glad you enjoyed it.

  • @sourPollo
    @sourPollo Před rokem

    I come back to this video time and time again. Thank you Sean!

  • @EpicnessCupStudios
    @EpicnessCupStudios Před rokem +2

    Man. That demo recording feature is a game changer.

  • @drluismoya
    @drluismoya Před rokem +1

    One of the best IDE's tips and tricks I've seen. Thanks for sharing! 🏅

  • @luisarias7622
    @luisarias7622 Před rokem +1

    Aways clear and direct to the point. I hate introductions and bla bla. Great video Sean.

  • @mkbfhd
    @mkbfhd Před rokem +2

    So helpful😍thank you so much, sir!

  • @mateuszkacperski1211
    @mateuszkacperski1211 Před rokem +1

    2:05 is very helpful- thank you 🙏

  • @denisg1208
    @denisg1208 Před rokem +3

    Thanks for going straight to the tips 🙏🏻 see that less often on YT

    • @seanallen
      @seanallen  Před rokem +1

      Working on cutting out as much fluff as I can. Thanks for the feedback :)

    • @hoagy_ytfc
      @hoagy_ytfc Před rokem +1

      Yes!

  • @mdabirhossain6100
    @mdabirhossain6100 Před rokem +1

    These shortcut is going to boost my productivity lot more than before brother

  • @shadowofarman
    @shadowofarman Před rokem +6

    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

  • @vectorShop
    @vectorShop Před rokem +2

    really useful, thanks!

  • @norah8201
    @norah8201 Před rokem

    Great, thank you.

  • @awais.fayyaz
    @awais.fayyaz Před rokem +1

    Thanks for the tips, Sean.

  • @IasonOrlandosOx
    @IasonOrlandosOx Před rokem +1

    Thanks a lot ! Your approach is gold.

    • @seanallen
      @seanallen  Před rokem +1

      Glad you like the approach 👍

  • @reidbrown7841
    @reidbrown7841 Před 4 měsíci +1

    This is fantastic. Thank you

  • @martinseal1987
    @martinseal1987 Před rokem +1

    great video

  • @pravalikad7740
    @pravalikad7740 Před rokem +1

    I know more than half of these shortcuts. I can proudly say I am a senior dev 😀✌🏽

  • @toastrecon
    @toastrecon Před rokem +1

    Awesome, thanks, Sean!

  • @f00kwhiteblackracismwarsh07

    That’s the beauty of IDE right yay

  • @vladislav2587
    @vladislav2587 Před rokem +1

    Thanks! Last tip is perfect for 13inch laptop.

    • @seanallen
      @seanallen  Před rokem

      Agreed. Very helpful when you need that extra space.

  • @tpiatekarch
    @tpiatekarch Před rokem +1

    Excellent tips Sean! Thanks a lot as always!

    • @seanallen
      @seanallen  Před rokem

      No problem, Tomasz. Glad you got some good tips out of it!

  • @LeaTamola
    @LeaTamola Před rokem +1

    Excellent video Sean

  • @trevormills
    @trevormills Před rokem +1

    Awesome video with some great tips - thanks Sean

    • @seanallen
      @seanallen  Před rokem

      No problem, Trevor. Glad you enjoyed it!

  • @nuriddinburkhonov5214
    @nuriddinburkhonov5214 Před rokem +1

    Very educational, thanks!

  • @logicito
    @logicito Před rokem +1

    Such a great video, thank you

  • @Lordbyronq
    @Lordbyronq Před rokem +1

    Thanks Sean! Amazing tips as always. Keep up the fantastic work.

  • @blinkpo4
    @blinkpo4 Před rokem +1

    Very helpful. Thanks!!!! ❤

  • @sourPollo
    @sourPollo Před rokem +1

    All this time I thought I had to have my phone plugged in in order to run the code on device. Thanks!!!! 🔥

    • @seanallen
      @seanallen  Před rokem +1

      Glad you got a good tip from the video, Jeff 😀

  • @sergioudalov361
    @sergioudalov361 Před rokem +1

    cmnd+ctrl+e best! )

  • @af2b
    @af2b Před 10 měsíci

    Hi Sean! hope you good!!!
    One day I wan't to became like you in iOS Development. Have a good day master =)

  • @NexusUA
    @NexusUA Před rokem +1

    wow, was very useful for me, thanks!

    • @seanallen
      @seanallen  Před rokem

      Glad it was helpful for you, Pavel.

  • @etaosin
    @etaosin Před rokem +1

    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  Před rokem

      Blowing out your views like that is SO helpful.

  • @david-holmes
    @david-holmes Před rokem +1

    Thanks!

    • @seanallen
      @seanallen  Před rokem +1

      I appreciate the generous support, David 😀

  • @andrewiglinski148
    @andrewiglinski148 Před rokem +2

    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 Před 10 měsíci

      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.

  • @tbg6nb
    @tbg6nb Před rokem +1

    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"

  • @lowell_
    @lowell_ Před rokem

    Wireless connection to a device.. didn't know about that one, thanks!

  • @thomasjay2694
    @thomasjay2694 Před rokem +2

    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.

  • @slippydouglas
    @slippydouglas Před rokem

    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.

  • @isc873
    @isc873 Před 3 měsíci

    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 Před rokem +2

    One weird thing I noticed re Extract Subview is that the option only shows up if the preview canvas is open!

    • @seanallen
      @seanallen  Před rokem

      Yes, this is true. I forgot to mention that.

  • @soywil
    @soywil Před rokem

    What Xcode is this, folding ribbon is different on mine. Nice tips thanks!

  • @LebenWerden
    @LebenWerden Před 4 měsíci

    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.

  • @ingongoyama3995
    @ingongoyama3995 Před rokem

    Settings is now called Behaviors

  • @JackWill.
    @JackWill. Před rokem

    How do i make it so the side panels are larger in text? its so small. :/

  • @aleksandertesenkov1421
    @aleksandertesenkov1421 Před 9 měsíci

    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?

  • @CierraLynnise
    @CierraLynnise Před rokem

    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?

  • @heyjaywilson
    @heyjaywilson Před rokem +1

    🤯🤯🤯🤯

    • @seanallen
      @seanallen  Před rokem

      Lot of good stuff in here... tough to remember them all tho, lol.

  • @ALL_ONE_SUN
    @ALL_ONE_SUN Před rokem

    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?

  • @Countrymusichitz
    @Countrymusichitz Před rokem

    I need a link to download Xcode for windows please

  • @seangseang6872
    @seangseang6872 Před rokem

    Hello, Can you show me how to create the number pad in UiKit?

  • @d.k008
    @d.k008 Před rokem

    ❗️Pls add subtitles with translation to your videos, Thank you very much!!!

  • @MarkVolkmann
    @MarkVolkmann Před rokem

    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  Před rokem

      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 Před rokem

      @@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  Před rokem

      To clarity, you need MORE than 2 editors open. So I should have said 3+. Apologies for the confusion.

    • @MarkVolkmann
      @MarkVolkmann Před rokem

      @@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 Před rokem

      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.

  • @erikkamalov363
    @erikkamalov363 Před rokem

    What is the monitor model))?

    • @seanallen
      @seanallen  Před rokem

      LG 34 inch curved ultra wide. It's a few years old now.

  • @ALL_ONE_SUN
    @ALL_ONE_SUN Před rokem

    “Click that weird button” (because apple has GUI design “issues”)

  • @davidlintin
    @davidlintin Před rokem

    Dude the way you have your indents in your models gives me anxiety 😅

    • @seanallen
      @seanallen  Před rokem

      Code organization/style is always a subjective thing :)

  • @kirow-hw5mu
    @kirow-hw5mu Před rokem

    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.

  • @gofudgeyourselves9024

    Pat cummins

  • @ALL_ONE_SUN
    @ALL_ONE_SUN Před rokem

    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 Před rokem

    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

  • @slippydouglas
    @slippydouglas Před rokem +1

    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).

  • @Gadolizm
    @Gadolizm Před rokem

    great 😍

  • @ZoeSummers1701A
    @ZoeSummers1701A Před rokem

    I wish Xcode had a) Regions and b) Allman bracing and not that vile K&R crap.