Skip to content

Instantly share code, notes, and snippets.

@amake
Created April 21, 2015 07:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amake/5c5617f1ab16bfa14730 to your computer and use it in GitHub Desktop.
Save amake/5c5617f1ab16bfa14730 to your computer and use it in GitHub Desktop.
Instruments UI hierarchy on launch
{
"@": {
"name": "SpringBoard",
"label": " ",
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": true,
"hint": null,
"path": "\/0",
"x": 0,
"y": 0,
"width": 320,
"height": 568
},
">": [
{
"UIAWindow": {
"@": {
"name": null,
"label": null,
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": false,
"hint": null,
"path": "\/0\/0",
"x": 0,
"y": 0,
"width": 320,
"height": 568
},
">": [
{
"UIAImage": {
"@": {
"name": null,
"label": null,
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": false,
"hint": null,
"path": "\/0\/0\/0",
"x": -36.056338028169,
"y": -64,
"width": 392.11267605634,
"height": 696
},
">": [
]
}
}
]
}
},
{
"UIAWindow": {
"@": {
"name": null,
"label": null,
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": false,
"hint": null,
"path": "\/0\/1",
"x": 0,
"y": 0,
"width": 320,
"height": 568
},
">": [
]
}
},
{
"UIAWindow": {
"@": {
"name": null,
"label": null,
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": false,
"hint": null,
"path": "\/0\/2",
"x": 0,
"y": 0,
"width": 320,
"height": 568
},
">": [
]
}
},
{
"UIAWindow": {
"@": {
"name": null,
"label": null,
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": false,
"hint": null,
"path": "\/0\/3",
"x": 0,
"y": 0,
"width": 320,
"height": 568
},
">": [
]
}
},
{
"UIAWindow": {
"@": {
"name": null,
"label": null,
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": false,
"hint": null,
"path": "\/0\/4",
"x": 0,
"y": 0,
"width": 320,
"height": 568
},
">": [
{
"UIAStatusBar": {
"@": {
"name": null,
"label": null,
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": false,
"hint": null,
"path": "\/0\/4\/0",
"x": 0,
"y": 0,
"width": 320,
"height": 20
},
">": [
{
"UIAElement": {
"@": {
"name": "Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top",
"label": null,
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": false,
"hint": "Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top",
"path": "\/0\/4\/0\/0",
"x": 6,
"y": 0,
"width": 38,
"height": 20
},
">": [
]
}
},
{
"UIAElement": {
"@": {
"name": "3 of 3 Wi-Fi bars",
"label": "3 of 3 Wi-Fi bars",
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": false,
"hint": "Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top",
"path": "\/0\/4\/0\/1",
"x": 49,
"y": 0,
"width": 13,
"height": 20
},
">": [
]
}
},
{
"UIAElement": {
"@": {
"name": "4:27 PM",
"label": "4:27 PM",
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": false,
"hint": "Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top",
"path": "\/0\/4\/0\/2",
"x": 137,
"y": 0,
"width": 47,
"height": 20
},
">": [
]
}
},
{
"UIAElement": {
"@": {
"name": "100% battery power",
"label": "100% battery power",
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": false,
"hint": "Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top",
"path": "\/0\/4\/0\/3",
"x": 290,
"y": 0,
"width": 25,
"height": 20
},
">": [
]
}
}
]
}
}
]
}
},
{
"UIAWindow": {
"@": {
"name": null,
"label": null,
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": true,
"hint": null,
"path": "\/0\/5",
"x": 0,
"y": 0,
"width": 320,
"height": 568
},
">": [
{
"UIAAlert": {
"@": {
"name": "\u201cSceneDev\u201d Would Like to Send You Notifications",
"label": "\u201cSceneDev\u201d Would Like to Send You Notifications",
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": true,
"hint": null,
"path": "\/0\/5\/0",
"x": 0,
"y": 0,
"width": 320,
"height": 568
},
">": [
{
"UIAScrollView": {
"@": {
"name": null,
"label": null,
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": true,
"hint": null,
"path": "\/0\/5\/0\/0",
"x": 25,
"y": 196,
"width": 270,
"height": 132
},
">": [
{
"UIAStaticText": {
"@": {
"name": "\u201cSceneDev\u201d Would Like to Send You Notifications",
"label": "\u201cSceneDev\u201d Would Like to Send You Notifications",
"value": "\u201cSceneDev\u201d Would Like to Send You Notifications",
"dom": null,
"enabled": true,
"valid": true,
"visible": true,
"hint": null,
"path": "\/0\/5\/0\/0\/0",
"x": 41,
"y": 216,
"width": 238,
"height": 42.5
},
">": [
]
}
},
{
"UIAStaticText": {
"@": {
"name": "Notifications may include alerts, sounds, and icon badges. These can be configured in Settings.",
"label": "Notifications may include alerts, sounds, and icon badges. These can be configured in Settings.",
"value": "Notifications may include alerts, sounds, and icon badges. These can be configured in Settings.",
"dom": null,
"enabled": true,
"valid": true,
"visible": true,
"hint": null,
"path": "\/0\/5\/0\/0\/1",
"x": 41,
"y": 259.5,
"width": 238,
"height": 48
},
">": [
]
}
},
{
"UIAImage": {
"@": {
"name": null,
"label": null,
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": false,
"hint": null,
"path": "\/0\/5\/0\/0\/2",
"x": 292.5,
"y": 196,
"width": 2.5,
"height": 132
},
">": [
]
}
},
{
"UIAImage": {
"@": {
"name": null,
"label": null,
"value": null,
"dom": null,
"enabled": true,
"valid": true,
"visible": false,
"hint": null,
"path": "\/0\/5\/0\/0\/3",
"x": 25,
"y": 325.5,
"width": 270,
"height": 2.5
},
">": [
]
}
}
]
}
},
{
"UIACollectionView": {
"@": {
"name": null,
"label": null,
"value": "page 1 of 1",
"dom": null,
"enabled": true,
"valid": true,
"visible": true,
"hint": null,
"path": "\/0\/5\/0\/1",
"x": 25,
"y": 328,
"width": 270,
"height": 44
},
">": [
{
"UIACollectionCell": {
"@": {
"name": "Don\u2019t Allow",
"label": "Don\u2019t Allow",
"value": 0,
"dom": null,
"enabled": true,
"valid": true,
"visible": true,
"hint": null,
"path": "\/0\/5\/0\/1\/0",
"x": 25,
"y": 328.5,
"width": 135,
"height": 44
},
">": [
]
}
},
{
"UIACollectionCell": {
"@": {
"name": "OK",
"label": "OK",
"value": 0,
"dom": null,
"enabled": true,
"valid": true,
"visible": true,
"hint": null,
"path": "\/0\/5\/0\/1\/1",
"x": 160,
"y": 328.5,
"width": 135,
"height": 44
},
">": [
]
}
}
]
}
}
]
}
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment