Swift Amman 🇯🇴
@swiftamman
iOS Developers Community based in Amman, Jordan.
You might like
Retweet it .. if you love “Swift” language 🧡.
#ios_tip_for_today Have you ever wondered what is the difference between UITextView / UITextField ? #simple digram shows where and when you better use each of them 😉. #ios #xcode
This is the XOR result of the byte representation of two strings (password and cipher). gist.github.com/mehmetfarhan/8…
In the Foundation framework we have an NSCache class which acts as a Dictionary but also encapsulates a logic of purging its content after reaching the max elements. Here’s the example of using NSCache to construct in-memory image cache for your application.
Only few can guess right ;) Do you know what will happed if you tried to present an alert with two cancel buttons? Tell me your guess before trying it on xcode.
Learn how you can use the incredibly powerful image manipulation frameworks on iOS to use image depth maps with only a few lines of code in our newly updated Image Depth Maps Tutorial for iOS: Getting Started! bit.ly/2V8XRpB
kodeco.com
Image Depth Maps Tutorial for iOS: Getting Started
Learn how you can use the incredibly powerful image manipulation frameworks on iOS to use image depth maps with only a few lines of code.
💡 #SwiftTip: Using Result<T, Never> to represent impossible code flow Set Result.Failure type to Never in case error is impossible or can be replaced with a value. The compiler is smart enough and does not require us to handle the failure case in the switch statement.
New Basics article about a heavily requested topic: Protocols! 😀 Using protocols to reduce code duplication, creating protocol-based abstractions, and extending the standard library’s protocols — all with many examples and an attached playground 👍 swiftbysundell.com/basics/protoco…
Specification pattern to handle boolean logic, this example to handle single input have a two regex pattern for a phone number or email address. Credit: @almasri_ahmed
I highly recommend the following book. This is in regards to penetration testing of the applications & the phone but you can use the same knowledge to write secure code for your applications. wiley.com/en-ae/The+Mobi…
A very nice and clean approach to validate user inputs in Swift. #iOS #Swift #cleancode #validate
United States Trends
- 1. #RaiseHail 2,728 posts
- 2. #PhinsUp 2,360 posts
- 3. #AskFFT N/A
- 4. Good Sunday 83K posts
- 5. Matt Gay N/A
- 6. Achane 1,937 posts
- 7. Mariota 1,335 posts
- 8. Troy Parrott 2,717 posts
- 9. Ireland 52.3K posts
- 10. Spain 72.8K posts
- 11. Commanders 16.1K posts
- 12. #sundayvibes 6,460 posts
- 13. Portugal 74K posts
- 14. Jacob Martin N/A
- 15. McDaniel 1,298 posts
- 16. Daddy Yankee N/A
- 17. Chris Rodriguez N/A
- 18. Kliff N/A
- 19. #WASvsMIA N/A
- 20. Jack Jones N/A
Something went wrong.
Something went wrong.