hi-
What are the best macros to use to know when compiling is for Mac OS X v.s. iOS?
thanks!-
-lance
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
Hi,
Is it possible to create a global (which is available during all applications)
contextual menu item ? If so, how can we create it.
It's just like a global hot-key, the only difference is that instead of a
hot-key combination i want to have a menu item available.
Thanks
Hello,
In short, it's probably best to use the TARGET_OS_IPHONE macro.
I used to use TARGET_OS_MAC when writing mac-specific code, but found that
even on iOS this was turned on making it a bit unreliable (or making you
redefine things in your own code)...
So it's probably a better idea to just
http://developer.apple.com/library/mac/#documentation/developertools/conceptual/cross_development/Using/using.html
See the section on conditionally compiling for different SDKs.
(Sent from my iPad.)
--
Conrad Shultz
On Dec 30, 2011, at 8:44, lbland lbl...@vvi.com wrote:
hi-
What are the
hi-
On Dec 30, 2011, at 1:16 PM, Conrad Shultz wrote:
http://developer.apple.com/library/mac/#documentation/developertools/conceptual/cross_development/Using/using.html
So...
__MAC_OS_X_VERSION_MAX_ALLOWED
is better than:
TARGET_OS_IPHONE
??
... ack! ack!
thanks!-
-lance
On Dec 30, 2011, at 11:05 AM, Adil Saleem wrote:
Hi,
Is it possible to create a global (which is available during all
applications) contextual menu item ?
Not really, because there is a bit of fragmentation here. There are two
different ways to make a CM item available in other
I tried searching and did not see anyone else having this problem. I tried
turning on sandboxing in my LSUIElement application that normally does not
activate, and found that, for some strange reason, the app receives mouse down
events, but never receives mouse up events while tracking the
Little more information.
I created a custom view so that I could monitor -[NSView setWantsLayer:] and
found that there are no calls change the layer backed state of the view to
false. The views layer simply disappears in that it is set to nil after the
movie plays once.
-Michael
On Dec 29,
I have a working solution.
In the end I had to recycle everything but the AVAsset instances. Between each
movie run, I must destroy the AVPlayerItem, the AVPlayer, the AVPlayerLayer,
and the parent NSView since the backing layer that results from -[NSView
setWantsLayer:] disappears without so
On Dec 27, 2011, at 5:51 AM, Roland King wrote:
// tell each of the controllers we're adding that they are being added
and prepare the ones being removed for removal
for( UIViewController *controller in appearingControllers )
[ self addChildViewController:controller
Hi everyone !
I develop an application for my uni (SUPINFO), and i need to get the RSS feed
of every labs they have. I don't know if i have to use NSURL or if we have
something better in CocoaTouch 'cause my application is for iPhone.
Can anyone help me ?
Thanks a lot in
I've been researching this issue for a while and can't find a solution - I'm
hoping someone here can help, or at least confirm my fate.
I need to perform port mapping (UPnP / NAT-PMP) from within a Cocoa
application. I've found several open source libraries in addition to dns_sd
that can
On 26 Dec 2011, at 02:44, Quincey Morris wrote:
On Dec 25, 2011, at 14:05 , Luc Van Bogaert wrote:
I'm adding a custom user setting to a NSPrintPanel by adding an accessory
view controller for a view that contains just one control (a checkbox) and
which is loaded from a nib file. The
On Dec 28, 2011, at 05:05 , Luc Van Bogaert wrote:
I haven't been able to set the checkbox's state to ON, when opening the print
panel. I've tried creating the view controller first and then sending
[viewcontroller setCheckBoxValue:YES], but that doesn't seem to work, so I
suspect I'm
I created a sample project this year at WWDC to help diagnose UIViewController
containment that may be useful.
https://github.com/zbowling/ContainerTest
It hosts a view controllers and just NSLogs a ton of events that happen like
viewWillAppear and rotation calls. I wrote it to track down a
I'm loading and creating a CFplugin using Core Foundation and running into a
strange behavior where all the static variables defined throughout my code get
reset to their initialization values when running code inside plugin. For
example, I define a static variable and functions in a file foo.c
On Dec 29, 2011, at 4:42 PM, Ken Thomases wrote:
On Dec 29, 2011, at 3:14 PM, Todd Heberlein wrote:
(1) Add one Person object
(2) wait 30-60 seconds.
crash.
No clicking on the Edit menu. No clicking away to another application.
On Dec 29, 2011, at 2:52 PM, Todd Heberlein wrote:
17 matches
Mail list logo