31 Xcode Tips & Tricks - 2023

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ม.ค. 2025

ความคิดเห็น • 135

  • @seanallen
    @seanallen  2 ปีที่แล้ว +3

    My iOS Development Courses - seanallen.teachable.com

    • @ALL_ONE_SUN
      @ALL_ONE_SUN 2 ปีที่แล้ว

      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 2 ปีที่แล้ว

      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 2 ปีที่แล้ว

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

  • @david-holmes
    @david-holmes 2 ปีที่แล้ว +1

    Thanks!

    • @seanallen
      @seanallen  2 ปีที่แล้ว +1

      I appreciate the generous support, David 😀

  • @cryptosid8006
    @cryptosid8006 ปีที่แล้ว +1

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

    • @seanallen
      @seanallen  ปีที่แล้ว

      Glad you liked it!

  • @rocketbro.h
    @rocketbro.h 11 หลายเดือนก่อน +1

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

    • @seanallen
      @seanallen  11 หลายเดือนก่อน

      Happy to help!

  • @sourPollo
    @sourPollo ปีที่แล้ว

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

  • @KJPKJPKJP
    @KJPKJPKJP 2 ปีที่แล้ว +2

    Pure gold! thx Sean

  • @jonothen2212
    @jonothen2212 2 ปีที่แล้ว +5

    My jaw dropped brother
    Thanks a lot

    • @seanallen
      @seanallen  2 ปีที่แล้ว

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

  • @8615283
    @8615283 2 ปีที่แล้ว +2

    Oh man.this was so great.Thank Sean.

    • @seanallen
      @seanallen  2 ปีที่แล้ว

      Glad you enjoyed it, Mehdi!

  • @mateuszkacperski1211
    @mateuszkacperski1211 ปีที่แล้ว +1

    2:05 is very helpful- thank you 🙏

    • @seanallen
      @seanallen  ปีที่แล้ว

      Glad it was helpful, Mateusz!

  • @luisarias7622
    @luisarias7622 2 ปีที่แล้ว +1

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

    • @seanallen
      @seanallen  2 ปีที่แล้ว

      Thanks Luis!

  • @iamsanketray
    @iamsanketray 2 ปีที่แล้ว +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  2 ปีที่แล้ว +1

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

  • @IasonOrlandosOx
    @IasonOrlandosOx 2 ปีที่แล้ว +1

    Thanks a lot ! Your approach is gold.

    • @seanallen
      @seanallen  2 ปีที่แล้ว +1

      Glad you like the approach 👍

  • @jenkinsxu6485
    @jenkinsxu6485 2 ปีที่แล้ว +8

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

  • @MarvelousLXVII
    @MarvelousLXVII 2 ปีที่แล้ว +3

    Great video as usual.

    • @seanallen
      @seanallen  2 ปีที่แล้ว

      I appreciate that! Glad you enjoyed it.

  • @drluismoya
    @drluismoya ปีที่แล้ว +1

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

    • @seanallen
      @seanallen  ปีที่แล้ว

      Glad you liked it!

  • @mkbfhd
    @mkbfhd 2 ปีที่แล้ว +2

    So helpful😍thank you so much, sir!

    • @seanallen
      @seanallen  2 ปีที่แล้ว

      Happy to help!

  • @awais.fayyaz
    @awais.fayyaz 2 ปีที่แล้ว +1

    Thanks for the tips, Sean.

  • @tpiatekarch
    @tpiatekarch 2 ปีที่แล้ว +1

    Excellent tips Sean! Thanks a lot as always!

    • @seanallen
      @seanallen  2 ปีที่แล้ว

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

  • @vectorShop
    @vectorShop 2 ปีที่แล้ว +2

    really useful, thanks!

    • @seanallen
      @seanallen  2 ปีที่แล้ว

      Happy to help!

  • @fragrance7768
    @fragrance7768 ปีที่แล้ว +1

    Great video !!!

  • @toastrecon
    @toastrecon 2 ปีที่แล้ว +1

    Awesome, thanks, Sean!

    • @seanallen
      @seanallen  2 ปีที่แล้ว

      No problem, David!

  • @reidbrown7841
    @reidbrown7841 9 หลายเดือนก่อน +1

    This is fantastic. Thank you

    • @seanallen
      @seanallen  9 หลายเดือนก่อน

      Glad you enjoyed it!

  • @trevormills
    @trevormills 2 ปีที่แล้ว +1

    Awesome video with some great tips - thanks Sean

    • @seanallen
      @seanallen  2 ปีที่แล้ว

      No problem, Trevor. Glad you enjoyed it!

  • @nuriddinburkhonov5214
    @nuriddinburkhonov5214 ปีที่แล้ว +1

    Very educational, thanks!

    • @seanallen
      @seanallen  ปีที่แล้ว

      Glad it was helpful!

  • @michaelp.6511
    @michaelp.6511 7 หลายเดือนก่อน +1

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

    • @seanallen
      @seanallen  7 หลายเดือนก่อน

      No problem 👍

  • @logicito
    @logicito 2 ปีที่แล้ว +1

    Such a great video, thank you

    • @seanallen
      @seanallen  2 ปีที่แล้ว

      Glad you enjoyed it!

  • @selvarajant
    @selvarajant 7 หลายเดือนก่อน +1

    This is super useful. thanks a lot. 💛

    • @seanallen
      @seanallen  7 หลายเดือนก่อน

      Glad you liked it :)

  • @LeaTamola
    @LeaTamola 2 ปีที่แล้ว +1

    Excellent video Sean

  • @mdabirhossain6100
    @mdabirhossain6100 2 ปีที่แล้ว +1

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

    • @seanallen
      @seanallen  2 ปีที่แล้ว

      Happy to help!

  • @blinkpo4
    @blinkpo4 2 ปีที่แล้ว +1

    Very helpful. Thanks!!!! ❤

    • @seanallen
      @seanallen  2 ปีที่แล้ว

      Happy to help!

  • @Lordbyronq
    @Lordbyronq 2 ปีที่แล้ว +1

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

    • @seanallen
      @seanallen  2 ปีที่แล้ว +1

      Thanks, Byron. Will do!

  • @trungnguyenthanh9233
    @trungnguyenthanh9233 2 ปีที่แล้ว +1

    Thank you

    • @seanallen
      @seanallen  2 ปีที่แล้ว

      No problem, Trung 👍

  • @vladislav2587
    @vladislav2587 ปีที่แล้ว +1

    Thanks! Last tip is perfect for 13inch laptop.

    • @seanallen
      @seanallen  ปีที่แล้ว

      Agreed. Very helpful when you need that extra space.

  • @denisg1208
    @denisg1208 2 ปีที่แล้ว +3

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

    • @seanallen
      @seanallen  2 ปีที่แล้ว +1

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

    • @hoagy_ytfc
      @hoagy_ytfc 2 ปีที่แล้ว +1

      Yes!

  • @shadowofarman
    @shadowofarman 2 ปีที่แล้ว +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

    • @seanallen
      @seanallen  2 ปีที่แล้ว +1

      Very good tip!

  • @tbg6nb
    @tbg6nb 2 ปีที่แล้ว +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"

  • @norah8201
    @norah8201 ปีที่แล้ว

    Great, thank you.

  • @NexusUA
    @NexusUA 2 ปีที่แล้ว +1

    wow, was very useful for me, thanks!

    • @seanallen
      @seanallen  2 ปีที่แล้ว

      Glad it was helpful for you, Pavel.

  • @Hasan-po6ud
    @Hasan-po6ud 9 หลายเดือนก่อน +1

    Thanks

    • @seanallen
      @seanallen  9 หลายเดือนก่อน

      No problem

  • @gauthamvijayan
    @gauthamvijayan 3 หลายเดือนก่อน

    God tier content.

  • @martinseal1987
    @martinseal1987 ปีที่แล้ว +1

    great video

  • @EpicnessCupStudios
    @EpicnessCupStudios 2 ปีที่แล้ว +2

    Man. That demo recording feature is a game changer.

    • @seanallen
      @seanallen  2 ปีที่แล้ว +2

      Glad you liked that one :)

  • @etaosin
    @etaosin 2 ปีที่แล้ว +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  2 ปีที่แล้ว

      Blowing out your views like that is SO helpful.

  • @lowell_
    @lowell_ 2 ปีที่แล้ว

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

  • @andrewiglinski148
    @andrewiglinski148 ปีที่แล้ว +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 ปีที่แล้ว

      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.

  • @pravalikad7740
    @pravalikad7740 2 ปีที่แล้ว +1

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

  • @af2b
    @af2b ปีที่แล้ว

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

  • @sourPollo
    @sourPollo 2 ปีที่แล้ว +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  2 ปีที่แล้ว +1

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

  • @russellarcher9771
    @russellarcher9771 2 ปีที่แล้ว +2

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

    • @seanallen
      @seanallen  2 ปีที่แล้ว

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

  • @sergioudalov361
    @sergioudalov361 2 ปีที่แล้ว +1

    cmnd+ctrl+e best! )

  • @aleksandertesenkov1421
    @aleksandertesenkov1421 ปีที่แล้ว

    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?

  • @MarkVolkmann
    @MarkVolkmann 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      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 2 ปีที่แล้ว

      @@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  2 ปีที่แล้ว

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

    • @MarkVolkmann
      @MarkVolkmann 2 ปีที่แล้ว

      @@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 2 ปีที่แล้ว

      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.

  • @thomasjay2694
    @thomasjay2694 ปีที่แล้ว +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.

  • @soywil
    @soywil 2 ปีที่แล้ว

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

  • @豆腐好吃吗
    @豆腐好吃吗 2 ปีที่แล้ว

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

  • @LebenWerden
    @LebenWerden 9 หลายเดือนก่อน

    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.

  • @CapnSlipp
    @CapnSlipp 2 ปีที่แล้ว

    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.

  • @ALL_ONE_SUN
    @ALL_ONE_SUN 2 ปีที่แล้ว

    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?

  • @JackWill.
    @JackWill. ปีที่แล้ว

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

  • @heyjaywilson
    @heyjaywilson 2 ปีที่แล้ว +1

    🤯🤯🤯🤯

    • @seanallen
      @seanallen  2 ปีที่แล้ว

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

  • @isc873
    @isc873 8 หลายเดือนก่อน

    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?

  • @Tech_Gameplayonly
    @Tech_Gameplayonly 2 ปีที่แล้ว

    I need a link to download Xcode for windows please

  • @erikkamalov363
    @erikkamalov363 2 ปีที่แล้ว

    What is the monitor model))?

    • @seanallen
      @seanallen  2 ปีที่แล้ว

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

  • @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?

  • @ingongoyama3995
    @ingongoyama3995 2 ปีที่แล้ว

    Settings is now called Behaviors

  • @d.k008
    @d.k008 2 ปีที่แล้ว

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

  • @ALL_ONE_SUN
    @ALL_ONE_SUN 2 ปีที่แล้ว

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

  • @davidlintin
    @davidlintin 2 ปีที่แล้ว

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

    • @seanallen
      @seanallen  2 ปีที่แล้ว

      Code organization/style is always a subjective thing :)

  • @RanjsaBiswase
    @RanjsaBiswase 4 หลายเดือนก่อน

    Taylor Jennifer Miller Nancy Clark Michael

  • @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.

  • @ALL_ONE_SUN
    @ALL_ONE_SUN 2 ปีที่แล้ว

    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 2 ปีที่แล้ว

    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 😍

  • @CapnSlipp
    @CapnSlipp 2 ปีที่แล้ว +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).

  • @ZoeSummers1701A
    @ZoeSummers1701A ปีที่แล้ว

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