Best_Practices

Best Practices for Apple ecosystem

Intro

Following best practices are always easier said then done. So having more context around every decision you make and why you make is helpful in general sense to provide better maintainability of the code / software you're writing.

Structure

naming

string_segregation

creational_patterns

Code Management

swift_lint

danger

documentation

Concurrency

Basic understanding of concurrency
concurrency

UI

Not blocking the main thread for smooth UI operations read more about apple swift async operations dispatch_main

Storage

secret_keys

Access Control

Conformance

You can have protocol enforcement in your code for safe guarding yourself to not expose things more than necessary or make sure that the public interface gets properly written with strict Inputs and Outputs.