2022-09-27 07:17:22 +00:00
//
2021-12-07 12:09:26 +00:00
// C o p y r i g h t 2 0 2 1 N e w V e c t o r L t d
//
// L i c e n s e d u n d e r t h e A p a c h e L i c e n s e , V e r s i o n 2 . 0 ( t h e " L i c e n s e " ) ;
// y o u m a y n o t u s e t h i s f i l e e x c e p t i n c o m p l i a n c e w i t h t h e L i c e n s e .
// Y o u m a y o b t a i n a c o p y o f t h e L i c e n s e a t
//
// h t t p : / / w w w . a p a c h e . o r g / l i c e n s e s / L I C E N S E - 2 . 0
//
// U n l e s s r e q u i r e d b y a p p l i c a b l e l a w o r a g r e e d t o i n w r i t i n g , s o f t w a r e
// d i s t r i b u t e d u n d e r t h e L i c e n s e i s d i s t r i b u t e d o n a n " A S I S " B A S I S ,
// W I T H O U T W A R R A N T I E S O R C O N D I T I O N S O F A N Y K I N D , e i t h e r e x p r e s s o r i m p l i e d .
// S e e t h e L i c e n s e f o r t h e s p e c i f i c l a n g u a g e g o v e r n i n g p e r m i s s i o n s a n d
// l i m i t a t i o n s u n d e r t h e L i c e n s e .
//
2021-12-08 12:00:23 +00:00
import UIKit
2021-12-07 12:09:26 +00:00
struct MockAnalyticsPromptStrings : AnalyticsPromptStringsProtocol {
let point1 : NSAttributedString
let point2 : NSAttributedString
let shortString = NSAttributedString ( string : " This is a short string. " )
let longString = NSAttributedString ( string : " This is a very long string that will be used to test the layout over multiple lines of text to ensure everything is correct. " )
init ( ) {
let point1 = NSMutableAttributedString ( string : " We " )
point1 . append ( NSAttributedString ( string : " don't " , attributes : [ . font : UIFont . boldSystemFont ( ofSize : UIFont . systemFontSize ) ] ) )
point1 . append ( NSAttributedString ( string : " record or profile any account data " ) )
self . point1 = point1
let point2 = NSMutableAttributedString ( string : " We " )
point2 . append ( NSAttributedString ( string : " don't " , attributes : [ . font : UIFont . boldSystemFont ( ofSize : UIFont . systemFontSize ) ] ) )
point2 . append ( NSAttributedString ( string : " share information with third parties " ) )
self . point2 = point2
}
}