This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct AutoHeightLabelView: View { | |
var attributedString: NSAttributedString | |
var body: some View { | |
HorizontalGeometryReader { width in | |
UILabelView( | |
attributedString: attributedString, | |
preferredMaxLayoutWidth: width | |
) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UINSSceneView+CTX.h | |
// EFClass | |
// | |
// Created by Stefan Ceriu on 28/11/2019. | |
// Copyright © 2019 EF Education First. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |