Skip to content

Commit

Permalink
Add AnyView as Stubbed default value (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
hainayanda authored Mar 16, 2024
1 parent 5e429ed commit bd20881
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ let baseDefaultValues: [String: String] = [
"CGFloat": "0", "CGSize": ".zero", "CGPoint": ".zero", "CGRect": ".zero",
"NSNumber": "0", "NSString": "\"\"", "NSNull": "NSNull()", "NSObject": "NSObject()",
"NSData": "NSData()", "NSDate": "NSDate()", "NSSet": "NSSet()", "NSArray": "NSArray()",
"NSSize": ".zero", "NSPoint": ".zero", "NSRect": ".zero"
"NSSize": ".zero", "NSPoint": ".zero", "NSRect": ".zero",
"AnyView": "AnyView(EmptyView())"
]

private extension String {
Expand Down

0 comments on commit bd20881

Please sign in to comment.