Skip to content

Commit 36158d3

Browse files
committed
docs: cleanup app-resource file tree & code blocks
1 parent c473e3f commit 36158d3

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

β€Žcontent/project-structure/app-resources.md

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -256,44 +256,37 @@ For a list of available entitlements refer to [Apple's Entitlements documentatio
256256

257257
You can add Objective-C/Swift source files to `App_Resources/iOS/src`. For Objective-C files, create a `.modulemap` file. To add a [CocoaPod](https://guides.cocoapods.org/using/getting-started.html), edit `App_Resources/iOS/Podfile`:
258258

259-
```cli
259+
```bash
260260
App_Resources/
261261
β”œβ”€ iOS/
262-
β”‚ β”œβ”€src/
263-
β”‚ β”‚ β”œβ”€ Shimmer.swift
264-
β”‚ β”‚ β”œβ”€ Shimmer.h
265-
β”‚ β”‚ β”œβ”€ Shimmer.m
266-
β”‚ β”‚ └─ module.modulemap
267-
β”‚ β”œβ”€Podfile
268-
β”‚ └─
262+
β”‚ β”œβ”€ src/
263+
β”‚ β”‚ β”œβ”€ Shimmer.swift
264+
β”‚ β”‚ β”œβ”€ Shimmer.h
265+
β”‚ β”‚ β”œβ”€ Shimmer.m
266+
β”‚ β”‚ └─ module.modulemap
267+
β”‚ └─ Podfile
269268
└─ ... more
270269
```
271270

272-
<!-- -->
273-
274-
<!-- tab: Swift -->
275271

276272
```swift
277273
extension UIView {
278-
279274
@objc func startShimmering(
280275
speed: Float = 1.4,
281276
repeatCount: Float = MAXFLOAT
282277
) {
283-
...
278+
// ...
284279
}
285280
}
286281
```
287282

288-
<!-- tab: Objective C -->
289-
290283
```objc
291284
#import "Shimmer.h"
292285

293286
@implementation UIView (Shimmer)
294287
- (void)startShimmering
295288
{
296-
...
289+
// ...
297290
}
298291
@end
299292
```

0 commit comments

Comments
Β (0)