Open in app

Sign in

Write

Sign in

Ahmed Adam
Ahmed Adam

43 Followers

Home

About

Published in

Dev Genius

·Nov 8, 2021

The Oppressed MVC

I’m fairly sure I am going to get flamed regarding the opinions voiced below, but I feel compelled to publish them nonetheless. First I love Apple MVC Objective C since NeXT days, and so first used Objective C and MVC very effectively on that wonderful platform that developing in Objective…

IOS

6 min read

The Oppressed MVC
The Oppressed MVC
IOS

6 min read


Published in

Dev Genius

·Apr 5, 2021

Welcome to Rust Memory

Memory management in Rust Ownership is Rust’s most unique feature, and it enables Rust to make memory safety guarantees without needing a garbage collector. Therefore, it’s important to understand how ownership works in Rust Ownership Ownership is how Rust manages memory. It's a set of rules that the compiler checks at compile time which don't…

Rust Programming Language

4 min read

Rust Programming Language

4 min read


Jan 19, 2021

iOS interview

How would you describe a Swift language? It’s a type-safe language for protocol-oriented programming Safe — fast — expressive Swift language features Closures unified with function pointers Tuples and multiple return values Generics Fast and concise iteration over a range or collection Structs that support methods, extensions, and protocols Functional programming patterns, e.g., map and filter Powerful…

11 min read

11 min read


Published in

Dev Genius

·Jun 19, 2020

Clean code

Chapter 2 :- Naming How much time do you spend writing code vs reading code?! Indeed, the ratio of time spent reading versus writing is well over 10 to 1 “Uncle Bob” Names are everywhere in software. We name our variables, our functions, our arguments, classes, and packages. We name our source…

Clean Code

5 min read

Clean code
Clean code
Clean Code

5 min read


Published in

Dev Genius

·Jun 18, 2020

Optional protocol methods with Example

By default, all methods listed in a Swift protocol must be implementing in a conforming type. However, there are two ways you can work around this restriction depending on your need The first option is to mark your protocol using the @objc attribute ( this means it can be adopted only by classes, it does mean you mark individual methods as being optional ) @objc protocol PaymentActionViews { @objc optional func hideView(view: UIView) @objc optional func showView(view: UIView) func setSelectButton(button: UIButton)

Swift

1 min read

Optional protocol methods with Example
Optional protocol methods with Example
Swift

1 min read


Published in

Dev Genius

·Jun 18, 2020

Refactor Conditions (if/else , switch) with Protocol Methods

Problem You have a conditional that performs various actions depending on object type or properties. You do not have to read the following code ( it’s a piece of shit ) * { if canBook == false{…

Clean Code

4 min read

Refactor Conditions (if/else , switch) with Protocol Methods
Refactor Conditions (if/else , switch) with Protocol Methods
Clean Code

4 min read


Published in

Dev Genius

·Jun 17, 2020

Clean Code Notes

CLeanCode chapter 1 I used this summary of some key points that I made to study the book Clean Code. I hope it helps others. (Note: this summary doesn’t exclude the need to read the book.) first of all , I would like to highlight a few quotes

Clean Code

2 min read

Clean Code Notes
Clean Code Notes
Clean Code

2 min read


Published in

Dev Genius

·Jun 15, 2020

Clean Swift VIP with Example

Clean Swift VIP Clean Swift (a.k.a VIP) is Uncle Bob’s Clean Architecture applied to iOS and Mac projects. The Clean Swift Architecture is not a framework. It is a set of Xcode templates to generate the Clean Architecture components for you. …

IOS

4 min read

Clean Swift VIP with Example
Clean Swift VIP with Example
IOS

4 min read

Ahmed Adam

Ahmed Adam

43 Followers

iOS Developer

Following
  • Saad El Oulladi

    Saad El Oulladi

  • Zafar Ivaev

    Zafar Ivaev

  • Yahya Saddiq

    Yahya Saddiq

  • Domenico Nicoli

    Domenico Nicoli

  • Kenneth Poon

    Kenneth Poon

See all (14)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams