Fix: ios crash when creating font descriptor

This commit is contained in:
vakrilov
2015-06-23 15:40:29 +03:00
parent e83a82e2e2
commit 39afd3cc3e
4 changed files with 29 additions and 31 deletions

View File

@ -39,7 +39,7 @@ export module ios {
export function nsArrayToJSArray(a: any): string[] {
var arr = [];
if ("undefined" !== typeof a) {
for (var i = 0; i < a.count(); i++) {
for (var i = 0; i < a.count; i++) {
arr.push(a.objectAtIndex(i));
}
}