Naming

Overview

Since you need to understand the naming representation, e.g., whether it is an enum or let, consistency in naming is crucial.

Naming Conventions

Naming Convention
Example

Camel Case - Lower

sedatOnat

Camel Case - Upper

SedatOnat

Flat Case

sedatonat

Kebab Case

sedat-onat

Kebab Case - Screaming

SEDAT-ONAT

Kebab Case - ?

Sedat-Onat

Sentence Case

?

Snake Case

sedat_onat

Snake Case - Camel

sedat_Onat

Snake Case - Pascal

Sedat_Onat

Snake Case - Screaming

SEDAT_ONAT

Upper Case

SEDATONAT

Swift Language Naming Convention

Although there are controversies, there is a convention on Swift naming, as you may see below.

Item
lowerCamelCase
UpperCamelCase
Start with Verb

class

enum

func

let

protocol

struct

Type

var

-ed

A new Study

Item
Abbr-3
Abbr-4

class

cls

clas

enum

enm

enum

func

fnc

func

let

prl

prpl

protocol

prt

prtc

struct

stc

strc

Type

typ

type

var

prv

prpc

Sources

Videos

Articles / Documents

See also

Last updated