Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emreozdil/swift-daily-tips
:octocat: Daily Tips from Swift World
https://github.com/emreozdil/swift-daily-tips
daily daily-tips ios swift tips tips-and-tricks
Last synced: about 2 hours ago
JSON representation
:octocat: Daily Tips from Swift World
- Host: GitHub
- URL: https://github.com/emreozdil/swift-daily-tips
- Owner: emreozdil
- License: mit
- Created: 2018-11-05T10:25:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-03T13:45:44.000Z (almost 4 years ago)
- Last Synced: 2025-01-27T11:01:49.200Z (about 2 hours ago)
- Topics: daily, daily-tips, ios, swift, tips, tips-and-tricks
- Language: Swift
- Homepage:
- Size: 23.8 MB
- Stars: 1,376
- Watchers: 126
- Forks: 78
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[![GitHub stars](https://img.shields.io/github/stars/emreozdil/Swift-Daily-Tips.svg)](https://github.com/emreozdil/Swift-Daily-Tips/stargazers) [![GitHub forks](https://img.shields.io/github/forks/emreozdil/Swift-Daily-Tips.svg)](https://github.com/emreozdil/Swift-Daily-Tips/stargazers) [![GitHub issues](https://img.shields.io/github/issues/emreozdil/Swift-Daily-Tips.svg)](https://github.com/emreozdil/Swift-Daily-Tips/issues) [![GitHub license](https://img.shields.io/github/license/emreozdil/Swift-Daily-Tips.svg)](https://github.com/emreozdil/Swift-Daily-Tips)
[![alt text][TwitterIcon]][Twitter]
[![alt text][TelegramIcon]][Telegram][TwitterIcon]: /icons/twitter.png (twitter)
[TelegramIcon]: /icons/telegram.png (telegram)[Twitter]: https://www.twitter.com/SwiftDailyTips
[Telegram]: https://t.me/SwiftDailyTips## [Timeline](/TIMELINE.md) of Tips
#### [#100 Switch Root VC Extension](/codes/SwitchRootVCExtension.swift)
#### [#99 C Style For Loop Using Stride](/codes/CStyleForLoopUsingStride.swift)
#### [#98 Importance of Weak Reference](/codes/ImportanceOfWeakReference.swift)
#### [#97 Custom Operator](/codes/CustomOperator.swift)
#### [#96 Operator Overloading](/codes/OperatorOverloading.swift)
#### [#95 Array Prepend Extension Function](/codes/ArrayPrependExtensionFunction.swift)
#### [#94 SnapKit Usage](/codes/SnapKitUsage.swift)
#### [#93 Distance of two CGPoint](/codes/DistanceOfTwoCGPoint.swift)
#### [#92 Int and String Description of Bool](/codes/IntAndStringDescriptionOfBool.swift)
#### [#91 Sum Function for Numeric Collection](/codes/SumFunction.swift)
#### [#90 Labeled Statements](/codes/LabeledStatements.swift)
#### [#89 Required Height for Label](/codes/RequiredHeightForLabel.swift)
#### [#88 Auto Layout Extension](/codes/AutoLayoutExtension.swift)
#### [#87 Int to UInt, Double, Float](/codes/IntToUIntDoubleFloat.swift)
#### [#86 URL Query Parameters](/codes/UrlQueryParameters.swift)
#### [#85 Adding a prefix to a string](/codes/AddingPrefixToString.swift)
#### [#84 Decoding JSON from Bundle](/codes/DecodingJSONFromBundle.swift)
#### [#83 Word Count Function](/codes/WordCountFunction.swift)
#### [#82 Show Alert Extension](/codes/ShowAlertFunction.swift)
#### [#81 Get an Element in Safety](/codes/GetAnElementInSafety.swift)
#### [#80 Bundle Extension](/codes/BundleExtension.swift)
#### [#79 Search Bar Text Field](/codes/SearchBarTextField.swift)
#### [#78 distinct(by: ) function](/codes/DistinctBy.swift)
#### [#77 Remove the same value from the array](/codes/RemoveTheSameValueFromTheArray.swift)
#### [#76 Remove element by the instances in an array](/codes/RemoveElementInArray.swift)
#### [#75 Register - Dequeue XIB UICollectionView](/codes/RegisterDequeueXIBCollectionView.swift)
#### [#74 Register - Dequeue XIB UITableViewCell](/codes/RegisterDequeueXIBTableView.swift)
#### [#73 Class Name Extension](/codes/ClassNameExtension.swift)
#### [#72 Handling Future Enum Cases Swift 5.0](/codes/HandlingFutureEnumCasesSwift5.swift)
#### [#71 Conform Never to Equatable and Hashable Swift 5.0](/codes/ConformNeverToEquatableAndHashableSwift5.swift)
#### [#70 Support 'less than' operator in compilation conditions Swift 5.0](/codes/LessThanOperatorSwift5.swift)
#### [#69 Character Properties Swift 5.0](/codes/CharacterPropertiesSwift5.swift)
#### [#68 Flatten nested optionals resulting from 'try?' Swift 5.0](/codes/FlattenNestedOptionalsSwift5.swift)
#### [#67 compactMapValues Swift 5.0](/codes/CompactMapValuesSwift5.swift)
#### [#66 count(where:) Swift 5.0](/codes/CountWhereSwift5.swift)
#### [#65 isMultiple(of:) Swift 5.0](/codes/IsMultipleSwift5.swift)
#### [#64 Extension for Nested Types](/codes/ExtensionForNestedTypes.swift)
#### [#63 Code Separation](/codes/CodeSeparation.swift)
#### [#62 Preserving Initializers](/codes/PreservingInitializers.swift)
#### [#61 Protocol Conformance](/codes/ProtocolConformance.swift)
#### [#60 Sketch Shadow](/codes/SketchShadow.swift)
#### [#59 Facade Pattern](/codes/FacadePattern.swift)
#### [#58 Observer Pattern](/codes/ObserverPattern.swift)
#### [#57 Strategy Pattern](/codes/StrategyPattern.swift)
#### [#56 Factory Pattern](/codes/FactoryPattern.swift)
#### [#55 Adapter Pattern](/codes/AdapterPattern.swift)
#### [#54 Singleton Pattern](/codes/SingletonPattern.swift)
#### [#53 Dispatch Group](/codes/DispatchGroup.swift)
#### [#52 Background QoS](/codes/BackgroundQoS.swift)
#### [#51 Utility QoS](/codes/UtilityQoS.swift)
#### [#50 Default QoS](/codes/DefaultQoS.swift)
#### [#49 User Initiated QoS](/codes/UserInitiatedQoS.swift)
#### [#48 User Interactive QoS](/codes/UserInteractiveQoS.swift)
#### [#47 Quality of Service Classes](/codes/QualityOfServiceClasses.swift)
#### [#46 MutatingFunction](/codes/MutatingFunction.swift)
#### [#45 Dynamic Member Lookup](/codes/DynamicMemberLookup.swift)
#### [#44 Bitwise Shift Operators](/codes/BitwiseShiftOperators.swift)
#### [#43 Unary Minus Operator](/codes/UnaryMinusOperator.swift)
#### [#42 One-Sided Range](/codes/OneSidedRange.swift)
#### [#41 Half-Open Range Operator](/codes/HalfOpenRangeOperator.swift)
#### [#40 Closed Range Operator](/codes/ClosedRangeOperator.swift)
#### [#39 Variadic Parameters](/codes/VariadicParameters.swift)
#### [#38 Omitting Argument Labels](/codes/OmittingArgumentLabels.swift)
#### [#37 Function Argument Labels](/codes/FunctionArgumentLabels.swift)
#### [#36 Repeat While](/codes/RepeatWhile.swift)
#### [#35 Multiline String Literals](/codes/MultilineStringLiterals.swift)
#### [#34 Builder Pattern](/codes/BuilderPattern.swift)
#### [#33 Swap Values](/codes/SwapValues.swift)
#### [#32 Generic Functions](/codes/GenericFunctions.swift)
#### [#31 Fallthrough](/codes/Fallthrough.swift)
#### [#30 Join & Split Function](/codes/Join&SplitFunction.swift)
#### [#29 Nil-Coalescing Operator](/codes/NilCoalescingOperator.swift)
#### [#28 Ternary Operator](/codes/TernaryOperator.swift)
#### [#27 Public Private(set)](/codes/PublicPrivateSet.swift)
#### [#26 Property Observers](/codes/PropertyObservers.swift)
#### [#25 Return Multiple Values](/codes/ReturnMultipleValues.swift)
#### [#24 Discardable Result](/codes/DiscardableResult.swift)
#### [#23 Lazy Property](/codes/LazyProperty.swift)
#### [#22 Default Parameter](/codes/DefaultParameter.swift)
#### [#21 Type Methods](/codes/TypeMethods.swift)
#### [#20 Static Type Properties](/codes/StaticTypeProperties.swift)
#### [#19 Computed Properties](/codes/ComputedProperties.swift)
#### [#18 Shuffled and Shuffle functions](/codes/ShuffledAndShuffleFunctions.swift)
#### [#17 CaseIterable Protocol](/codes/CaseIterable.swift)
#### [#16 Element of Operator ∈](/codes/ElementOfOperator.swift)
#### [#15 Passing Operator](/codes/PassingOperator.swift)
#### [#14 CompactMap Function](/codes/CompactMapFunction.swift)
#### [#13 Map Function](/codes/MapFunction.swift)
#### [#12 In-out Parameter](/codes/InoutParameter.swift)
#### [#11 Simple Defer Function](/codes/SimpleDefer.swift)
#### [#10 AllSatisfy Function](/codes/AllSatisfyFunction.swift)
#### [#9 First Where Function](/codes/FirstWhere.swift)
#### [#8 Guard Optional Binding](/codes/GuardOptionalBinding.swift)
#### [#7 Filter Function](/codes/FilterFunction.swift)
#### [#6 One Time Code #iOS12](/codes/OneTimeCode.swift)
#### [#5 Dismiss Keyboard Interactively](/codes/DismissKeyboardInteractively.swift)
#### [#4 Member Short Hand](/codes/MemberShortHand.swift)
#### [#3 UIColor Convenience Init](/codes/UIColorConvenienceInit.swift)
#### [#2 Static Factory Methods for UILabel](/codes/StaticFactoryMethodsForUILabel.swift)
#### [#1 Add Subview Extension](/codes/AddSubviewExtension.swift)