Sunset Lake Software - Comments for "show me where to start" http://www.sunsetlakesoftware.com/forum/show-me-where-start Comments for "show me where to start" en Thanks, Brad. I'll give it a http://www.sunsetlakesoftware.com/forum/show-me-where-start#comment-1160 <p>Thanks, Brad. I'll give it a try &amp; let you know how it goes</p> pubDate Tue, 17 Jan 2012 00:12:04 +0000 dc:creator baikal23 guid false comment 1160 at http://www.sunsetlakesoftware.com If you'd like to attempt to http://www.sunsetlakesoftware.com/forum/show-me-where-start#comment-1159 <p>If you'd like to attempt to add XYZ files as a supported file format, you'll want to look at the SLSMolecule+PDB(.m and .h) and the SLSMolecule+SDF(.m and .h) files. These define two categories on SLSMolecule that contain the routines used to load PDB and SDF format files. You can look at how those parse the two file formats and insert the correct atoms and bonds into the database. The SDF one is simpler and probably closer to what you'd need for this.</p> <p>Once you have the category complete, you'll need to edit the -initWithFilename: method on SLSMolecule to support the .XYZ file extension, and you might need to tweak my handling of iTunes file sharing added files so that .xyz files are recognized via that. I don't believe the code I have up on the site even has .sdf file support fixed in that regard.</p> pubDate Mon, 16 Jan 2012 23:07:03 +0000 dc:creator Brad Larson guid false comment 1159 at http://www.sunsetlakesoftware.com