Molecules 1.4.1 now on the App Store

Molecules icon

A new version of Molecules is now available on the App Store, and the available source code has also been updated.  The new version fixes a potential crash in iPhone OS 4.0 and adds a new means of directly installing molecular structures in the application.

On the iPad (and soon the iPhone), you can now drag and drop molecular structures into (and out of) Molecules using iTunes.  When your device is connected, you can go to the Apps tab and scroll down until the File Sharing section is visible.  Within that section, click on Molecules to display all currently loaded molecular structure files.  To add a new structure, simply drag it into the list of files.  On the next startup of Molecules, it will be parsed and added to the application's internal database.

Comments

Great app! As science teachers all we need now is to have your app and The Elements app output from the iPad to a VGA monitor! That would be awesome!

Cheers

Do you have a more in depth guide on how to download more molecules? The 3 that were provided are fascinating, but I'm hungry for more. And I'm finding it a bit hard to navigate the provided Protein Data Bank.

think i have discovered a little c&p programmation error in the SLSMoleculeGLViewController.m

- (CGPoint)commonDirectionOfTouches:(NSSet *)touches

you are averaging the first finger movement range with itself

// The movement ranges are averaged out 
	commonDirection.x = ((directionOfTouch1.x + directionOfTouch1.x) / 2.0f) * scalingForMovement;
	commonDirection.y = ((directionOfTouch1.y + directionOfTouch1.y) / 2.0f) * scalingForMovement;

Thanks. I'll take a look at that.

Hi

Thanks for allowing us to view your source code. I was looking actually to see how you implemented your UINavigationController in the master view of the UIScrollviewController because in ios 4.2 we found an issue with our implementation whereby in landscape the detail view no longer displays.

I've noticed that this also an issue in your source code example.

Are you aware of this problem ? And if so did you find a solution?

We having been struggling desperately to fix this in our application and now think we might have to completely revise the way we navigate our view hierarchy. Essentially what we want is to have a master detail view. when the user clicks an item in the detail view, the detail view is pushed onto the master uinavigationcontroller and a new view is pushed onto the detail uinavigationcontrller

Any help or ides would be extremely well recevied.

Tks
Chris

I'm not quite sure what you're saying. I don't have a UIScrollView anywhere in this application, to my knowledge.

Also, the rendering glitch you see when rotating the iPad to landscape in the 4.2 Simulator is due to a bug in the way that the Simulator handles non-factor-of-32 OpenGL ES layers. This has all been fixed in the version I'm working on now, but none of that has to do with the navigation controller.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h3>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].
  • You may quote other posts using [quote] tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
4 + 16 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
Syndicate content