swiftamman's profile picture. iOS Developers Community based in Amman, Jordan.

Swift Amman 🇯🇴

@swiftamman

iOS Developers Community based in Amman, Jordan.

Joined March 2019
Similar User
_devsandesh's profile picture. iOS Developer 💻, Aspiring Swift /Mobile Engineer. Love to travel , have 🍻 and talk about good code.

@_devsandesh

nbpapps's profile picture. iOS dev, ex Hardware engineer, and dad of 3 (2 girls and 1 cat). Creator of  @LittleGreyBook7 and  @EVEntifyAppy. Excited about IoT. Love Star Wars!

@nbpapps

SlackSufferer's profile picture. Sr iOS Dev

@SlackSufferer

mlamintamba's profile picture. Self-taught iOS developer  and still learning

@mlamintamba

iOSDevHeath's profile picture. Levelling up my Swift Development skills.

@iOSDevHeath

__velu's profile picture.

@__velu

SwiftKarrmarr's profile picture. Passionate Senior iOS developer from Germany, loves Swift. Likes to play and watch chess :)

@SwiftKarrmarr

niko_ukolov's profile picture. iOS developer 👨🏻‍💻, Check my app: @VocabularEz

@niko_ukolov

Pinned

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

swiftamman's tweet image. #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…


#WWDC20  Finally i can ignore calls peacefully!! @Apple

swiftamman's tweet image. #WWDC20  Finally i can ignore calls peacefully!! @Apple

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.

swiftamman's tweet image. 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.

swiftamman's tweet image. 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


“How to Make Styling Your Buttons Easier in Swift” by Kevin R link.medium.com/fPEfhZNYF5


💡 #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.

swiftamman's tweet image. 💡 #SwiftTip:  Using Result&amp;lt;T, Never&amp;gt; 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.

Swift Amman 🇯🇴 Reposted

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

swiftamman's tweet image. 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

swiftamman's tweet image. A very nice and clean approach to validate user inputs in Swift.
#iOS #Swift #cleancode #validate

Loading...

Something went wrong.


Something went wrong.