The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   Omni Frameworks (http://forums.omnigroup.com/forumdisplay.php?f=16)
-   -   Use Omni Frameworks in Mac App Store (http://forums.omnigroup.com/showthread.php?t=18789)

imyrvold 2010-11-02 02:21 AM

Use Omni Frameworks in Mac App Store
 
I have an application I have developed where I use OmniBase and OmniNetworking. Can I submit my app to the Mac App Store using these frameworks?

Tim Wood 2010-11-03 08:14 AM

No one knows yet what exactly they'll be restricting, but we'll definitely be submitting apps that use them. There may be rejections and the need for cleanup, or there may not be (just as with any other pile of code).

There are places that use private API in our frameworks, but these are generally heavily commented and associated with Radar numbers (if they aren't, it is a bug that we should fix). I don't recall any in OmniBase or OmniNetworking, but I haven't done a search yet (Ken's working on the Mac App Store bits).

Ken Case 2010-12-26 07:13 AM

It turns out we have some stale code in our OmniAppKit framework which references the private function _SetWindowCGOrderingEnabled():

[CODE]- (void *)carbonWindowRef;
{
WindowRef windowRef;
extern void _SetWindowCGOrderingEnabled(WindowRef, Boolean);

if (![self respondsToSelector:@selector(_windowRef)]) {
NSLog(@"-[NSWindow(OAExtensions) carbonWindowRef]: _windowRef private API no longer exists, returning NULL");
return NULL;
}

windowRef = [self _windowRef];
_SetWindowCGOrderingEnabled(windowRef, false);
return windowRef;
}[/CODE]

The -carbonWindowRef method was used for embedding Carbon plug-ins in OmniWeb back in 2001 (before WebKit existed), and we used _SetWindowCGOrderingEnabled() to work around a bug where the window with the plug-in would jump forward each time the app became active. (This was a holdover from the pre-OS X window activation behavior where all of an app's windows would come forward when you clicked on any of them.)

None of our code actually calls -carbonWindowRef anymore; if you're using OmniAppKit I'd recommend removing this method.


All times are GMT -8. The time now is 01:06 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.