[TIMOB-2181] Add isDirectory to iPhone
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-12T07:17:04.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.1.0, 2013 Sprint 03 API, 2013 Sprint 03 |
Components | iOS |
Labels | feature, ios, ipad, iphone, module_filesystem, parity, qe-port, qe-testadded |
Reporter | Ralf Pfeiffer |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:12:55.000+0000 |
Updated | 2013-07-12T07:17:05.000+0000 |
Description
We have a request to add isDirectory to our file system API so that when using getDirectoryListing a developer can tell if its a file or directory.
PR https://github.com/appcelerator/titanium_mobile/pull/3800
Test Case https://gist.github.com/741829693f5644f67840
Verified fix with: Titanium Studio, build: 3.0.2.201302191606 Titanium SDK, build: 3.1.0.v20130228124855 Xcode 4.6 Devices: iPhone5 6.0 iPhone 6.1 Simulator
Reopening just to update the label
Updated label. isDirectory() working fine. Verified with: Titanium Studio:3.1.2.201307091843 Titanium SDK: 3.1.2.v20130710144553 acs:1.0.3 alloy:1.1.3 npm:1.2.14 titanium:3.1.1 titanium-code-processor:1.0.1 OS: OSX 10.8 Device:iPhone simulator(v 6.0), Galaxy Nexus (v 4.0.4) Xcode: 4.5.1