This file contains 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
Personal rejections | |
MetaData | |
- Iphone X picture in iphone 5 slots | |
User Data | |
- Get personal user data without explain where are you going to use them | |
- |
This file contains 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
Enviromental Arguments | |
- DYLD_PRINT_STATISTICS = true( shows Slow App Startup Times) | |
- OS_ACTIVITY_MODE = disable (turn off default OS logging) |
This file contains 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
https://medium.com/@marcosantadev/app-localization-tips-with-swift-4e9b2d9672c9 | |
1. Add localization language on Project | |
2. Add a string File "Localizable" (or many string files for better organization ex: "SpecificCategoryTableName" ) | |
3. add following code | |
extension String { | |
func localized(bundle: Bundle = .main, tableName: String = "Localizable") -> String { | |
return NSLocalizedString(self, tableName: tableName, value: "**\(self)**", comment: "") | |
} | |
} |
This file contains 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
final class MyCell: UITableViewCell { | |
final let myCustomView: UIView | |
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { | |
self.myCustomView = UIView() | |
super.init(style: style, reuseIdentifier: reuseIdentifier) | |
self.contentView.addSubview(self.myCustomView) | |
self.initializeBasicElements() | |
} |
This file contains 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
class MyCustomView: UIView { | |
private var didSetupConstraints = false | |
//In Swift initializers are not inherited for subclasses by default | |
override init(frame: CGRect) { | |
super.init(frame: frame) | |
} | |
// Deserialize your object here |
NewerOlder