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

+9-16
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)