« Some pictures from Re… | Home | MBS Real Studio Plugi… »

NSImage and image orientation

On Mac OS X the frameworks behave differently depending on which Mac OS X SDK version was used to build the app. For example the HTMLViewer draws background of textfield differently. Also our NSStatusItemMBS class works better with 10.6 than with 10.4 SDK setting. And now we also see that NSImageMBS works differently. Picture orientation is not recognized if SDK setting is 10.4, but works in 10.6.

So switch your Real Studio copy on Mac OS X to mark applications to get 10.6 behavior, you can use this line in terminal:

defaults write com.realsoftware.realstudio "Mac SDK Version" -string "10.6"

Update: This also affects MBQueryMBS.

Warning: This is a global setting which affects all your projects. This can have bad side effects, especially in Cocoa project where the framework expects you to use the default version. Default SDK for 2012r2 Cocoa is 10.7, so the plugin functions should work fine there without you use this setting.
29 11 12 - 10:15
No comments

Remember personal info?

Emoticons / Textile

Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.