Browsing iOS App Files with SimPholders

Transcript

Tap on time to skip ahead

00:00

Why Use SimPholders?

Most sophisticated iOS applications require the ability to be able to save something to the device’s storage. This could be anything from JSON files,  SQLite databases, images or any other media types your iOS application might need to download. During the course of the development of an application that does this type of stuff, you’ll need to know where is this stuff going. As well as how can I make sure that the files are getting saved in the correct spots on my file system?

00:36

The Old/Bad Way 

Well up until I started using SimPholders, the main method I would use to find the location of my files is I would set a breakpoint inside Xamarin Studio. Like I’ve done here. I would use the debugger to inspect our “storageRoot.” From here, I would get the full path. Then I would go over to Finder and then try to find the files and what not.

01:05

How to Use SimPholders

SimPholders is a really great tool for simplifying this and making this a less of a tedious process. What I can do instead of relying on my debugger or console trace statements or anything of that nature is that I can instead go up to my task bar. After installing SimPHolders, which has a free trial period, and to be able to see it in this particular case, I have to switch over to Finder. Because once I’m in Xamarin Studio I run out of room for all the various widgets and whatnot that I’m using. You’ll see the SimPholders icon up here. All I have to do is tap on it or click on it and also in the most recent applications I’ve used. And so if I click on here we will go to the installed directory for the application.

It’s always been difficult to find your application’s directory because iOS uses these Universal ID’s for applications. So instead of just sand simulator slash application name or whatever we instead have these very opaque names to sort through. So I can now click on library and then I can see my different model names and any sort of files that I may have added or created in this directory.

02:18

Conclusion

So as you can see, that is very useful, but SimPholders does more than just show your most recent applications. SimPholders will also show all the simulator versions that you have installed on your computer. And as you can see here I can flip through them and see what applications are installed on these different devices. So for example, I can go out here select one of my client projects, and then I can see all my XML files and images that have been downloaded to the app. So SimPholder is a handy utility especially if your iOS application is going to be managing files on your device.