Berichten met #iOSdevtips

#iOSdevtips

Openbare berichten op X die #iOSdevtips gebruiken.

Gerelateerde hashtags

  1. Lickability@lickability
    @lickability
    Here's a tip from @bcapps 📣 Starting in Xcode 11, you can mark assets as “development assets,” and they won't be added to your shipping app—which is great for test data in SwiftUI previews! #iOSDevTips
    1326
  2. Lickability@lickability
    @lickability
    This week's tip is from @daisyr317! You can specify a hex value when defining colors in asset catalogs by selecting an individual color variant and using the Attributes Inspector. Comes in pretty handy if your design system uses hex values! 🎨 #iOSDevTips
    Downloaden
    105
  3. Lickability@lickability
    @lickability
    A testing tip from @bcapps: If you use @pointfreeco’s SnapshotTesting library, you can see the images and diffs for failing tests right from within Xcode’s Log Navigator. They use a recent Xcode feature called Test Attachments, and it’s so handy. ✨
    Downloaden
    1410
  4. Lickability@lickability
    @lickability
    Today’s tip is from @mb about localization: 🌍 Ever forget to localize a string? Use Xcode’s Refactor → Wrap in NSLocalized String command to make localizing your UI copy a snap. Right click on any string, run the command, add the comment, and you’re done. #iOSDevTips
    Downloaden
    1215
  5. Lickability@lickability
    @lickability
    🪫 If the Xcode 14 beta is draining your laptop battery, our friend @chrisvasselli put together a blog post with a workaround! It's been a lifesaver. #iOSDevTips
    123
  6. Lickability@lickability
    Every week, one of our iOS devs shares a special tip in the engineering meeting. Here’s this week’s tip from @mliberatore: Treat your Xcode search results as a to-do list and delete (⌫) results when you no longer need them. #iOSDevTips
    Downloaden
    10131450
  7. Lickability@lickability
    @lickability
    If you’re ever writing UI tests and you want to see a textual representation of the UI tree, run print(XCUIApplication().debugDescription) 🤖 Thanks for the tip @UIGodess! #iOSDevTips
    Downloaden
    201
  8. Lickability@lickability
    @lickability
    🔂 One of our favorite tiny additions to SwiftUI this year is the new .buttonRepeatBehavior modifier, which lets you make buttons that keep performing an action as you hold them! #iOSDevTips
    Downloaden
    Hidde van der Ploeg @hiddevdploeg
    So nice that this is now possible with a single line of code in SwiftUI (hold to repeat the action) It even speeds up as you hold it 😍
    1131.3K
  9. Hidde van der Ploeg✓@hiddevdploeg
    So nice that this is now possible with a single line of code in SwiftUI (hold to repeat the action) It even speeds up as you hold it 😍
    Downloaden
    3723445.2K
  10. Lickability@lickability
    @lickability
    🤯👠 Our SwiftUI engineers are head over heels for this change. No more need for arbitrary Groups to work around the limit! #iOSDevTips
    Paul Hudson @twostraws
    ICYMI: Xcode 15b3 is out, and – hurray! – has removed the 10-view limit in SwiftUI. You can now add as many child views as you want without using Group 🎉
    002334
  11. Paul Hudson✓@twostraws
    ICYMI: Xcode 15b3 is out, and – hurray! – has removed the 10-view limit in SwiftUI. You can now add as many child views as you want without using Group 🎉
    1771457128K
  12. Lickability@lickability
    @lickability
    🤞 Hoping this new backDeployed() API means we’ll be seeing backward-compatible SwiftUI from @Apple during #WWDC23 so we can keep shipping great stuff to folks on older versions of iOS! #iOSDevTips
    Sarun W. @sarunw
    In Xcode 14.3, it seems like Swift got a way to create backport of a new API to older ones using backDeployed(before:) attribute. Does it mean we would see more back-deployed SwiftUI features?
    1041.6K
  13. Sarun W.✓@sarunw
    In Xcode 14.3, it seems like Swift got a way to create backport of a new API to older ones using backDeployed(before:) attribute. Does it mean we would see more back-deployed SwiftUI features?
    Downloaden
    52114934K
  14. Lickability@lickability
    @lickability
    🚂 Our engineers on larger projects have been waiting for this @github feature for a long time. Can't wait to queue up some PRs! #iOSDevTips
    113734
  15. Lickability@lickability
    @lickability
    🔎 This is a great #iOSDevTips from @qzervaas ! We’re already using this new feature in iOS 16 to find and fix hangs in our apps.
    Quentin Zervaas @qzervaas
    The new “Hang Detection” developer option in iOS 16 is amazing. (Settings app > Developer > Hang Detection) Found 2 easily-fixed hangs immediately in Streaks. Device auto-records stack-trace when a hang occurs.
    114
  16. Quentin Zervaas@qzervaas
    The new “Hang Detection” developer option in iOS 16 is amazing. (Settings app > Developer > Hang Detection) Found 2 easily-fixed hangs immediately in Streaks. Device auto-records stack-trace when a hang occurs.
    Downloaden
    887486
  17. Lickability@lickability
    @lickability
    If you’re not already using an 8pt grid in your designs, @sketch makes it super easy to get into the habit with a configurable nudge shortcut. Set it up in the Canvas Preferences, under “Nudging” 👇 #iOSDevTips
    Downloaden
    315
  18. Lickability@lickability
    @lickability
    ⏰ It’s super easy to forget about the Date.formatted() method that was introduced in iOS 15—so thank you to our friend @MuseumShuffle for this #iOSDevTips reminder
    Chris Wu @MuseumShuffle
    Wow! Rising star @tundsdev showed me there's a much easier way to display the specific date I wanted that will adapt to locales. I've been using .formatted(date:, time:) a lot but had no idea that this other variation existed.
    125
  19. Chris Wu@MuseumShuffle
    Wow! Rising star @tundsdev showed me there's a much easier way to display the specific date I wanted that will adapt to locales. I've been using .formatted(date:, time:) a lot but had no idea that this other variation existed.
    Downloaden
    3123
  20. Lickability@lickability
    @lickability
    Our engineers have been waiting for this feature since SwiftUI was introduced! Thanks @Clarko for the #iOSDevTips 🙏
    Whoa, pull-to-refresh has a new trick in iOS 16 beta 4 👀 Used to be, SwiftUI could only do it on Lists. You have a Grid? Tough cookies. Now seems to work on any ScrollView!
    112
  21. [email protected]@Clarko
    Whoa, pull-to-refresh has a new trick in iOS 16 beta 4 👀 Used to be, SwiftUI could only do it on Lists. You have a Grid? Tough cookies. Now seems to work on any ScrollView!
    Downloaden
    541480
  22. Lickability@lickability
    @lickability
    @JordanMorgan10 Last year, we found a performance issue in UICollectionViewDiffableDataSource. After reporting the bug & speaking to Apple at WWDC, @Cordavi was excited that it's now fixed in the iOS 15.4 beta! If you have this issue, try Xcode beta 🎉 #iOSDevTips
    mb @mb
     friends that work on UIKIt, I’d really appreciate you taking a look at a pretty big performance regression in UICollectionViewDiffableDataSource that @Cordavi recently found. applefeedback://FB9649428
    112
  23. mb✓@mb
     friends that work on UIKIt, I’d really appreciate you taking a look at a pretty big performance regression in UICollectionViewDiffableDataSource that @Cordavi recently found. applefeedback://FB9649428
    1310
  24. Lickability@lickability
    @lickability
    @JordanMorgan10 🅰️ In iOS 15, you can limit the min and max sizes of Dynamic Type in any view using the new minimum and maximum contentSizeCategory properties. This is great for making sure your layout doesn't break at huge sizes (but don't overdo it). #iOSDevTips
    101
  25. Lickability@lickability
    @lickability
    ⌨️ One of our most-used Xcode keyboard shortcuts is ⌃⌘↑ — which lets you jump straight to an Objective-C header file for the current class, or generated interface for a Swift file. #iOSDevTips
    Downloaden
    123
  26. Lickability@lickability
    @lickability
    🔎 Have you ever needed to check if one Swift string contains another regardless of case? Use the options parameter on the .range() method & specify .caseInsensitive — thanks to our friend @twostraws for the tip! #iOSDevTips
    102
  27. Lickability@lickability
    @lickability
    🪧 Our designer was super excited that UIMenu gained size options for elements in iOS 16! Specify them with the preferredElementSize API: #iOSDevTips
    Downloaden
    118
  28. Lickability@lickability
    @lickability
    We’re back with more #iOSDevTips 👋 If you’re localizing your app & not sure how to find every string you need to localize, edit your scheme and check “Show non-localized strings” in Run → Options. Then, look for all-caps strings. via @kharrison!
    Downloaden
    104679
  29. Meer berichten tonen