Translate text using “MLKitTranslate” model
Here i used google MLKitTranslate model. I used pod ‘GoogleMLKit/Translate’, ‘3.2.0’ .Create enum which language would be translate.
Read moreHere i used google MLKitTranslate model. I used pod ‘GoogleMLKit/Translate’, ‘3.2.0’ .Create enum which language would be translate.
Read moreAdvantages of collections: var collectionArray = [“iOS”, “Flutter”, “iOS”, “Android”, “Web”] collectionArray.map{$0.uppercased()} Output: [“IOS”, “FLUTTER”, “IOS”, “ANDROID”, “WEB”] collectionArray.filter{$0 ==
Read moreAVFoundation: This class has the purpose of arranging different assets and types of assets into a single asset for playback
Read moreNavigation bars A navigation bar appears at the top of an app screen, enabling navigation through a hierarchy of content.
Read moreWhen we need saved small amount of data then we use UserDefaults but when we need large amount of
Read more//directory let path = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0].appendingPathComponent(“fileSave”) let data: Data! //for Read Data do{ data = try Data(contentsOf: path)
Read morevar composition = AVMutableComposition() let vidtrack = composition.tracks(withMediaType: .video)[0] let sz = vidtrack.naturalSize //set ration here let rect =
Read morevar composition = AVMutableComposition() let vidtrack = composition.tracks(withMediaType: .video)[0] let sz = vidtrack.naturalSize var trackSize = sz var videoViewSize =
Read moreA protocol defines a blueprint of methods, properties and other requirements that suit a particular task or piece of functionality.
Read moreThere are a number of different transform you can do on a layer, but the basic ones are Translate (move)
Read more