Hi James, its a good suggestion. I've thought about doing something similar before because I miss the "Resources.*" or "R.*" strongly typed classes that get auto-generated on other platforms. There may be something that folks are plugging in for auto-gen already, but at least your point of hiding it behind the static class makes consuming code more readable and easier to update and provides flexible options for managing the resource, which I like. On this project I actually created a "Res" class to deal with strings in a x-platform way (w/o going to the extents of Vernacular <https://github.com/rdio/vernacular> ) so it wouldn't be a stretch to do images (although the image files themselves tend to be created differently across platforms of course due to screen sizes etc.).
@Jeff - Not sure about the 3.1.0 of MonoDevelop...am running 3.0.5 currently. Would be interesting to know. Thanks all! -- View this message in context: http://monotouch.2284126.n4.nabble.com/Load-image-from-native-library-resources-tp4657849p4657862.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
