#iosprogramming zoekresultaten
Typealias could be very helpful if we're trying to reduce our code complexity #iosprogramming #swiftlang
I've been using throws over Result type for a while I found it easier to handle and propagate errors #swiftlang #iosprogramming
Throwing functions can propagate errors that are thrown inside the function's scope, to its caller's scope #swiftlang #iosprogramming
Combine the usage of typealias with the power of generics to make cleaner code #swiftlang #iosprogramming
I truly believe that the best documentation for your code is an auto-documented code And the foundation of this concept is to have descriptive names #iosprogramming
Create a Design System to manage all UI components in a flexible and reusable way It will help to scale your app and adapt to possible changes in the future #iosprogramming #swiftui
If you need to display dates in your app with a custom format, take a look at `formatted(date:time:)` function #swiftlang #iosprogramming
If you want to improve your code base semantics and make it more readable and self-documented, use custom typealiases #iosprogramming #swiftlang
If need to parse a Date with a custom format, take a look at Date.ParseStrategy I found it useful when working with a backend API #iosprogramming #swiftlang
🚀 Exciting news! The 8th Edition of "iOS 17 Programming for Beginners" by Ahmad Sahar is here! Dive into iOS 17, Swift 5.9, and more. Get your copy on Amazon today and start your journey into iOS development! 📱💻📚 #iOSProgramming #Swift59 #NewRelease
It only takes two actions to create a custom property wrapper 1️⃣ Add@propertyWrapper annotation in any struct or class 2️⃣ Provide a stored property wrappedValue #iosprogramming #swiftlang
With the Chart framework, we create a chart by composing a series of chart elements These elements are called Marks, and we have a pre-defined set ready to use #swiftui #iosprogramming
A proper iOS test structure consists of 1️⃣ Test methods: validate portions of our code 2️⃣ Test classes: a set of test methods 3️⃣ Test bundles: a group of test classes that represent the test type (unit or UI) 4️⃣ Test plans: a group of test bundles #iosprogramming
If we implement several regions on the Dynamic island (Leading / Center / Bottom / Trailing) 👇🏻 We can use the priority option to prioritize a specific expanded region over another when it sizes its content #iosprogramming
Avoid blocking code's execution when performing an async task Use async let to let the execution continue #iosprogramming #asyncawait #swiftlang
Hey coders; here is how to use different colors in different modes (light / dark) in SwiftUI!! #iOSProgramming
If you're using MapKit control the camera using MapCameraPosition providing: 1️⃣ MKMapItem to center the map in the item 2️⃣ MKMapRect to specify the boundaries 3️⃣ MKMapRegion to position the map in a specific area #swiftui #mapkit #iosprogramming
If you're working with MapKit and want to have full control over the pin components UI, use Annotations instead of Markers #swiftui #iosprogramming #mapkit
When using MapKit, we have 4 interaction modes that we can enable to our Map view 1️⃣ Pan 2️⃣ Zoom 3️⃣ Pitch 4️⃣ Rotate We set the modes in the init method #swiftui #mapkit #iosprogramming
Something went wrong.
Something went wrong.
United States Trends
- 1. Bama 70.8K posts
- 2. Mendoza 17.4K posts
- 3. #UFC323 42.9K posts
- 4. Indiana 54.1K posts
- 5. #NXTDeadline 34K posts
- 6. Ohio State 28.9K posts
- 7. Sayin 88.1K posts
- 8. Georgia 75.7K posts
- 9. Miami 263K posts
- 10. Gus Johnson 1,287 posts
- 11. Pat Spencer 7,177 posts
- 12. Heisman 8,730 posts
- 13. #Big10Championship 1,097 posts
- 14. #AEWCollision 10.2K posts
- 15. Jeremiah Smith 3,463 posts
- 16. Cavs 8,023 posts
- 17. #iufb 4,204 posts
- 18. Cass 7,808 posts
- 19. Kenyatta Jackson 1,123 posts
- 20. Duke 36.8K posts