Architecture and Design System related QnA
Swift Language specific questions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //The following file has 20 arrays, allSymbols[] has the title of every SFSymbol, and the remaining 19 arrays have the following categories: | |
| //communication, weather, objectsAndTools, devices, connectivity, transportation, human, nature, editing, textFormatting, media, keyboard, commerce, time, health, shapes, arrows, indicies, math | |
| private var allSymbols = ["0.circle", "00.circle", "0.circle.fill", "00.circle.fill", "0.square", "00.square", "0.square.fill", "00.square.fill", "1.circle", "01.circle", "1.circle.fill", "01.circle.fill", "1.magnifyingglass", "1.square", "01.square", "1.square.fill", "01.square.fill", "2.circle", "02.circle", "2.circle.fill", "02.circle.fill", "2.square", "02.square", "2.square.fill", "02.square.fill", "3.circle", "03.circle", "3.circle.fill", "03.circle.fill", "3.square", "03.square", "3.square.fill", "03.square.fill", "4.alt.circle", "4.alt.circle.fill", "4.alt.square", "4.alt.square.fill", "4.circle", "04.circle", "4.circle.fill", "04.circle.fill", "4.square", "04.square", "4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # see https://gist.github.com/muhasturk/df28ec9d2cc18bf1cfc8 | |
| # see https://github.com/github/gitignore/blob/master/Swift.gitignore | |
| *.xcodeproj/* | |
| !*.xcodeproj/project.pbxproj | |
| !*.xcodeproj/xcshareddata | |
| # | |
| # *.lock - this is used and abused by many editors for many different things. | |
| # For the main ones I use (e.g. Eclipse), it should be excluded |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| iOS Code Review Checklist | |
| Avoid Type Inference | |
| Prefer using Higher Order Functions | |
| Write DRY code (Don’t Repeat Yourself) | |
| Make sure that there are no force unwraps | |
| Make sure that there are no retain cycles | |
| Check if any deprecated API is being used | |
| Check if any hardcoded checks (generally strings) can be changed to enum. | |
| Prefer enum, switch over if else. |
SwiftUI Specific Questions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SwiftUI Components & Extension that saves iOSDev time. | |
| ### UIKit is **EVENT-Driven** framework - We could reference each view in the hierarchy, update its appearance when the view is loaded or as a reaction on an event. | |
| ### SwiftUI is **Declarative, State Driven** framework - We cannot reference any view in the hierarchy, neither can we directly mutate a view as a reaction to an event. | |
| Instead, we mutate the state bound to the view. Delegates, target-actions, responder chain, KVO .. replaced with Closures & bindings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -------------------------------------------------- | |
| ##Flutter Notes | |
| from byjeevan.blogspot.com | |
| -------------------------------------------------- | |
| Course Res: https://github.com/londonappbrewery/Flutter-Course-Resources | |
| Flutter Cheetsheet : https://medium.com/flutter-community/flutter-layout-cheat-sheet-5363348d037e | |
| Dark Cheetsheet : https://dart.dev/codelabs/dart-cheatsheet | |
| 🎯 Dart is Object Oriented Programming languages. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NewerOlder