In the textbox provided, write Swift code to that will accom…

In the textbox provided, write Swift code to that will accomplish the following tasks: =================== 1- CREATE  a “GLOBAL”  enum named myEnum with the values of:                    pretty, cute, ugly ================================ 2- create a “struct” with 2 PROPERTIES:     2a.  pet look – data type is “myEnum” the GLOBAL enum – no default value     2b.   pet weight – data type will be “petSize”  that will an enum                           established INSIDE this struct                            it can only contain the following values:                             small, medium, large, extra-large 3- Initialize the struct TWO TIMES: with TWO DIFFERENT NAMES     3a.  the pet look will be pretty and the pet weight will be small     3b.  t the pet look will be cute and the pet weight will be large 4. PRINT both properties     4a.  of INITIALIZATION #1     4B.  of INITIALIZATION #2 =========================