(inferredAutoLayout: InferredAutoLayoutResult)
| 205 | }; |
| 206 | |
| 207 | const getSpacing = (inferredAutoLayout: InferredAutoLayoutResult): number => { |
| 208 | const defaultSpacing = 10; |
| 209 | return Math.round(inferredAutoLayout.itemSpacing) !== defaultSpacing |
| 210 | ? inferredAutoLayout.itemSpacing |
| 211 | : defaultSpacing; |
| 212 | }; |
| 213 | |
| 214 | export const generateSwiftViewCode = ( |
| 215 | className: string, |
no outgoing calls
no test coverage detected