Extracting Assets The designs for our application were done using software such as Adobe Illustrator and Photoshop. This enabled designs to be easily modified and added to with every iteration of the project however the challenge of transferring these designs into a functioning app in XCode is significant in meeting the needs of the client. One of these tasks involved the long process of recording the X & Y coordinates of every clause hotspot going into the application. The clause hotspots were put into categories and colour coded which aided the programmers when creating the strings associated with these categories Once all of the coordinates were recorded the programmers could then input and paste these values into Xcode which ultimately sped up their workflow. Here’s an example of a possible string;
Taxation Pink (#e000b8)
Clause 12:
- X = 6165, Y = 2528, Width = 1354 Pixels, Height 77 Pixels
- X = 398, Y = 2667, Width = 6212 Pixels, Height 77 Pixels
Clause 14:
- X = 5359, Y = 2788, Width = 2182 Pixels, Height 77 Pixels
- X = 398, Y = 2893, Width = 7143 Pixels, Height 77 Pixels
- X = 407, Y = 3010, Width = 6285 Pixels, Height 77 Pixels
Clause 15:
- X = 6683, Y = 2989, Width = 891 Pixels, Height 77 Pixels
- X = 398, Y = 3127, Width = 5256 Pixels, Height 77 Pixels
Clause 25
- X = 1710, Y = 3821, Width = 3256 Pixels, Height 77 Pixels
The coordinates were also recorded for other design elements such as the title bar and text fields. These were then published as a word document and accompanied with an PSD showing the guidelines for each of the assets which enabled the programmers to cross check that the coordinates were correct.