CGRectMake, CGPointMake, CGSizeMake, CGRectZero, CGPointZero is not available in Swift3. but UIEdgeInsetsMake, NSMakeRange, etc. available in Swift3. Why didn’t Apple delete them?
They are not deleted. They are renamed. Now you use the initializer syntax instead of the factory method:
UIEdgeInsets(top: 0, left: 0, bottom: 10, right: 0)
And constants are now a static property of type
UIEdgeInsets.zero
Source: https://habr.com/ru/post/1659316/More articles:Throw an exception when opening the gradle application in theory - javaFlask-Mail - Flask-Cookiecutter-based asynchronous email sending - pythonthe module object does not have the attribute 'DescriptorExtractor_create ()' - siftTransverse tree similar to an object in tail recursive mode in scala - scalaHow to calculate the use of the container processor in cubers with prometheus as monitoring? - kubernetesspring -cloud: disable CSRF - spring-bootWhat do ordered and unordered LLVMs CmpInst compare instructions? - llvmSimple Babymonitor with Bass.DLL - delphiHow to bind the IsSelected property in a DataTemplate ListViewItem - uwpHow to listen to a microphone and detect sound volume in Delphi 7 - delphiAll Articles