{ "id": "63262", "key": "TIMOB-2630", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2017-06-14T17:28:03.000+0000", "created": "2011-04-15T03:25:18.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "core" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-14T17:28:03.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

\r\nA comment on this community Q&A item provided this example\r\napplication, which will cause the iPhone emulator to lock up at\r\naround 120 child views added. It's unclear whether this is a bug or\r\na practice we need to encourage developers to avoid.

\r\n

If it's a bug, obviously we can provide a fix. If developers\r\njust shouldn't do something like that, we need to establish:

\r\n\r\n

Either resolution will be helpful.

{html}", "attachment": [], "flagged": false, "summary": "iOS: freeze after a certain number of child views added", "creator": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "129035", "author": { "name": "danieltome", "key": "danieltome", "displayName": "Daniel Tome", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I'd like to add, when changing the code to remove a window\ninstead of hiding it, I can get around 850 child objects. But it\nstill freezes when doing a window add.

\n

from the code attached above.. change this:
\nviewController.animate({opacity:0, duration:500});

\n

to this:
\nwin.remove(viewController);

\n

Is there a limit on how many child objects you can add?

{html}", "updateAuthor": { "name": "danieltome", "key": "danieltome", "displayName": "Daniel Tome", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:25:19.000+0000", "updated": "2011-04-15T03:25:19.000+0000" }, { "id": "130782", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "rollback wrong update", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2011-04-15T07:21:48.000+0000", "updated": "2011-04-15T07:21:48.000+0000" }, { "id": "209717", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirmed SDK 2.2.0.014b86f.\r\n\r\nBumping the timer to a much smaller interval makes it easier to see the issue. The views are still being created (and probably added) but appear to no longer render after a certain point.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T13:07:22.000+0000", "updated": "2012-07-26T13:07:37.000+0000" }, { "id": "421966", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket because the URL provided is no longer working so there's no way to find the test case.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-14T17:28:03.000+0000", "updated": "2017-06-14T17:28:03.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }