Project: titanium
Issue TIMOB-9102: iOS: getVisible() / getEnabled() functions could return null value
h2. Problem description Boolean functions like getVisible() or getEnabled() can return null value h2. Code sample {code} var win = Ti.UI.createWindow({	exitOnClose:true }); var view = Ti.UI.createView({	top:0,	left:0,	width: 10,	height:10 }); var button = Ti.UI.createButton({	title:'Click Me!' }); button.addEventListener('click', function(e) {	alert(view.getVisible());	view.setVisible(!view.getVisible()); }); win.add(button); win.add(view); win.open(); {code} Result: After running the sample code, click on the button to execute view.getVisible(), which return value 'null'. Expected result: If the property was never defined by the user, then the default value should be returned.
Story points: 5