Re: Displaying an "album of images" in iOS

2019-09-20 Thread Dennis Munsie via Cocoa-dev
Are you referring to Cover Flow? https://en.wikipedia.org/wiki/Cover_Flow dennis > On Sep 19, 2019, at 7:23 PM, Carl Hoefs via Cocoa-dev > wrote: > > I'm writing an iPhone app that analyzes an input image and generates nine > jpg images. That's too many to be displayed at once on the GUI, s

Re: Keyword @defs

2009-11-30 Thread Dennis Munsie
Not that I'm advocating it, but you can also declare a field as @public to allow you to access it via the -> operator. Of course, I could be missing some compiler magic going on behind the scene as well, and it may not actually be the same speed wise as @defs was. Not to mention that it's just pl

iterating and removing objects from a collection

2009-11-30 Thread Dennis Munsie
On a related, yet different note... I run into this all the time where I need to iterate through an NSMutableArray (or set, etc, etc) and remove some of the items. My normal pattern has been this: NSMutableSet *removeSet = [[NSMutableSet alloc] init]; for(NSObject *foo in myArray) { if(needTo

Re: "Could not support development." (after updating iPhone to 3.0.1)

2009-08-06 Thread Dennis Munsie
Kevin -- I've ran into this problem a few times and what ended up fixing it was rebooting the phone. It seems to happen more often after I sync my phone with iTunes, but I'm not 100% sure as to if that's the cause or not. dennis On Tue, Aug 4, 2009 at 9:28 PM, Kevin Callahan wrote: > After upd

Re: cocoa mentoring (was Re: Bypassing Interface Builder)

2008-05-15 Thread Dennis Munsie
I really don't understand why you wouldn't pay for it out of your pocket, as long as it would further a goal of yours -- i.e, if you want to work somewhere doing Cocoa or you want to finally write that great shareware app in Cocoa, you should look at it as an investment. Now, I understand that if

Re: Create NSStrings from a mapped NSData object - safe?

2008-05-15 Thread Dennis Munsie
It doesn't move the file -- it removes the entry for it in the directory. Once the reference count for it go to 0, then it gets "removed" from the filesystem -- i.e, it's space on the filesystem gets marked as being available. dennis On Wed, May 14, 2008 at 11:05 AM, Jean-Daniel Dupas <[EMAIL PR

Re: Fullscreen on secondary displays

2008-05-13 Thread Dennis Munsie
screen]; > [uiView retain]; > [uiView removeFromSuperview]; > [window setContentView:uiView]; > [uiView release]; > [window makeKeyAndOrderFront:sender]; > [NSCursor setHiddenUntilMouseMoves:YES]; > > > Revert to the window mode is left as an exercice for the

Re: Fullscreen on secondary displays

2008-05-13 Thread Dennis Munsie
what Ricky posted. > You are just lucky that it works in the one-display case. It really isn't > designed to work, and on some configurations, it just won't. > Is there anything preventing you from following Ricky's advice? > > > > > Dennis Munsie wrote: >

Re: Fullscreen on secondary displays

2008-05-13 Thread Dennis Munsie
In this case, what I am trying to accomplish is something along the lines of how Keynote and Powerpoint behave. I only want to take over one display, most likely connected up to a projector. But, I also occasionally want to have it in a window. I'm not expecting any controls to work -- this is s

Fullscreen on secondary displays

2008-05-13 Thread Dennis Munsie
Hello everyone, I have an app right now that I've added a fullscreen mode to. RIght now it works for fullscreen when I go to fullscreen on the main display. If I attempt to do this on the secondary display, I get a blank screen. I think one problem is probably the way I am identifying which scr