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 dis

Re: IB Objects Overlap once compiled

2013-06-27 Thread Dennis
If this is for iOS, I would guess that you've laid out your view for a 4" Retina display, and you're running it in a simulator with 3.5" inch display. The pushing up in this case would be due to constraints or auto-resizing. On Jun 27, 2013, at 6:58 PM, YT wrote: > So... I layout objects in t

Re: UITextView partially obscured by UINavigationBar

2013-03-29 Thread Dennis
I would check to make sure your resizing constraints are set up properly. On Mar 29, 2013, at 7:22 AM, Koen van der Drift wrote: > Hi, > > I have set up a view with only one UITextView and a UINavigationBar in a xib > file, see the screenshot here: http://db.tt/WiR8lIXe > > When I run the ap

Re: iOS/RestKit/XCode 4.6

2013-02-19 Thread Dennis
I haven't done so myself (but plan to give it a try soon). However, just yesterday, somebody at work made a brief presentation on CocoaPods, which he had used to install RestKit with. He mentioned that it made it much easier to install RestKit. On Feb 19, 2013, at 8:04

Re: Access Contacts (Address Book) Question

2012-09-17 Thread Dennis
On Sep 17, 2012, at 12:48 AM, Manfred Schwind wrote: > when an app tries to access the contacts (via Address Book Framework), OS X > recently asks the user first if this should be allowed. This question is > asked only once per app, then the app is "on the list" and this list can be > seen in S

Re: Formatting elapsed time

2012-09-07 Thread Dennis
On Sep 7, 2012, at 3:33 PM, Jens Alfke wrote: > On Sep 7, 2012, at 3:00 PM, Dennis wrote: > >> How do you eliminate the am/pm? There does not appear to be a built-in date >> formatter style that does that. > > If you don’t use the built-in styles you can specify an exa

Re: Formatting elapsed time

2012-09-07 Thread Dennis
How do you eliminate the am/pm? There does not appear to be a built-in date formatter style that does that. On Sep 7, 2012, at 2:57 PM, Jens Alfke wrote: > > On Sep 7, 2012, at 11:37 AM, Dennis wrote: > >> I'm getting stuck trying to format a variable quantity of elap

Re: Formatting elapsed time

2012-09-07 Thread Dennis
s to things like "about an > hour ago," "tomorrow," etc. > > -- > Rick > > On Sep 7, 2012, at 11:37 , Dennis wrote: > >> I'm getting stuck trying to format a variable quantity of elapsed time for >> the user's locale. The NSDateFo

Formatting elapsed time

2012-09-07 Thread Dennis
I'm getting stuck trying to format a variable quantity of elapsed time for the user's locale. The NSDateFormatter class seems to only provide formats for actual times (e.g. "1:30 AM"). What I need to do is turn 1 hour and 30 minutes into "1:30" for my US English settings, and the appropriate str

Re: 10.7 Full-Screen transition animation corrupts my UI - how to avoid?

2012-07-22 Thread Dennis
On Jul 22, 2012, at 10:12 AM, Kyle Sluder wrote: > On Sun, Jul 22, 2012, at 09:13 AM, Dennis wrote: >> On Jul 22, 2012, at 2:00 AM, Motti Shneor wrote: >> >>> I Implemented the suggested delegate --- and it doesn't even get called >>> >>> Here

Re: 10.7 Full-Screen transition animation corrupts my UI - how to avoid?

2012-07-22 Thread Dennis
On Jul 22, 2012, at 2:00 AM, Motti Shneor wrote: > I Implemented the suggested delegate --- and it doesn't even get called > > Here is my implementation, in case I'm really stupid: My guess is that you neglected to either set the delegate for the window, or to declare the NSWindowDelegate p

Re: Sharing a file between Mac and iOS

2012-07-19 Thread Dennis
On Jul 19, 2012, at 3:12 PM, Jeffrey Oleander wrote: >> If by 'syncing' you mean 'copying'... >> If you really mean 'syncing' > > Or do you mean contention management as you'd > get with a massive data-base running on an NFS > cluster, so that what is really multiple files > on separate devices a

Re: Sharing a file between Mac and iOS

2012-07-19 Thread Dennis
On Jul 19, 2012, at 9:52 AM, Jerry Krinock wrote: > Dropbox :)) > > Seriously, Dropbox won't give you any crap. Read this, though, and then > research further to learn if the App Store rejection issue has been resolved… > > http://www.macrumors.com/2012/05/02/ios-apps-with-dropbox-integration-

Sharing a file between Mac and iOS

2012-07-19 Thread Dennis
I have written a Mac app (with another, i.e. non-Cocoa, language), and now that I'm developing iOS apps in Xcode, I'd like to create an iOS app that can share its files. The file format is fairly straightforward SQLite, and I've determined that I can work with it just fine with the FMDB classes.

Re: False positive on writeToURL:atomically:encoding:error: ?

2012-06-24 Thread Dennis
On Jun 23, 2012, at 10:46 PM, Roland King wrote: > Yes that is a general statement. You should check the return value of the > method and only if it indicates there's an error, check the error object. > There is no guarantee that the error object was not set at some point during > the method pr

Re: NSTextField Tab Order.

2012-06-13 Thread Dennis
On Jun 13, 2012, at 2:15 PM, Robert Tillyard wrote: > I'd still like to fix my window == NULL problem as I would like to make the > enter key move to the next field and skip fields if some earlier information > means that future fields are not required. Is there any chance you could be shadowin

Re: Problem instantiating an array

2010-12-07 Thread Dennis
Hi Ken, Thanks for taking a look at my code. On Dec 6, 2010, at 10:35 PM, Ken Thomases wrote: > If you step after the line "TileColumn *allColumns[boardDimension - 1]", > nothing has happened, yet. That's just a declaration. But if for example I declare int test[16], the debugger shows the ar

Problem instantiating an array

2010-12-06 Thread Dennis Birch
I'm new to Cocoa programming and brand new to this list, so I hope it's appropriate to ask this question here. I've run into a showstopper with my first project on my own (i.e. not a project from a book). I've created a custom View subclass, and when I try to instantiate an array of another cus

Re: Keyword @defs

2009-11-30 Thread Dennis Munsie
t's just plain nasty :) dennis On Sun, Nov 29, 2009 at 8:54 PM, Bill Bumgarner wrote: > > On Nov 29, 2009, at 4:21 PM, Oftenwrong Soong wrote: > > > What exactly is this @defs keyword supposed to do? > > It effectively turned an Objective-C class declaration into a st

iterating and removing objects from a collection

2009-11-30 Thread Dennis Munsie
copy of the sublayer array? That's > what I usually do in this situation... > -- dennis ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Custom NSView in NSMenuItem not receiving mouse events

2009-09-09 Thread Dennis Hartigan-O'Connor
e fact that canBecomeKeyWindow is YES. I guess I am going to try to use nextEventMatchingMask next, which seems like a unnecessarily complex hack. Dennis ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mod

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

Re: UML Diagramming or Other Helpful Software

2009-06-24 Thread Dennis Christopher
Jeff, Object and Class diagrams. I need to diagram class relationships, containment, dependency and so on. But the UML symbols et al have to be correct. Dennis On Jun 24, 2009, at 2:24 PM, Jeffrey Oleander wrote: On Wed, 2009/06/24, I. Savant wrote: From: I. Savant Subject: Re: UML

Re: UML Diagramming or Other Helpful Software

2009-06-24 Thread Dennis Christopher
Has anyone found a diagramming package that will "reverse engineer" Cocoa code and output a UML diagram from it? Dennis Christopher ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator c

How can I keep an NSPopUpButton open after the user selects a menu item?

2009-06-13 Thread Dennis Hartigan-O'Connor
I have an NSPopUpButton providing the NSMenu for a status item with a custom view. The popup button displays a list of links. When the user selects a link from the list, the link is displayed in the user's browser (in the background). Naturally, the menu closes every time the user selects a li

Re: NSURLConnection sendSynchronousRequest: crashes since, upgrading to 10.5.7

2009-06-01 Thread Dennis Hartigan-O'Connor
nection.m: 396 http://vienna-rss.svn.sourceforge.net/viewvc/vienna-rss/trunk/2.3.0/AsyncConnection.m?view=markup However, I'm seeing crash reports from users on 10.5.7, for example: http://dl.getdropbox.com/u/32952/ViennaCrash.txt -Jeff On Jun 1, 2009, at 11:23 AM, Dennis Hartigan-O'Connor wrote:

Re: NSURLConnection sendSynchronousRequest: crashes since, upgrading to 10.5.7

2009-06-01 Thread Dennis Hartigan-O'Connor
Thanks, Andrew, I believe that Colin Gray got to the bottom of this at Stack Overflow: http://stackoverflow.com/questions/916718/nsurlconnection-crashing-under-10-5-7 Dennis Andrew Farmer wrote: On 27 May 2009, at 18:20, Dennis Hartigan-O'Connor wrote: I have a very similar proble

Re: NSURLConnection sendSynchronousRequest: crashes since, upgrading to 10.5.7

2009-05-27 Thread Dennis Hartigan-O'Connor
0x905289b4 __NSThread__main__ + 308 Any ideas out there? I can't believe this isn't happening to lots of people. Dennis cocoa-dev-requ...@lists.apple.com wrote: Message: 1 Date: Thu, 14 May 2009 12:28:48 -0700 From: Greg Hoover Subject: NSURLConnection sendSynchronousReques

NSURLConnection sendSynchronousRequest and NSString stringWithContentsOfURL crashing under 10.5.7

2009-05-27 Thread Dennis Hartigan-O'Connor
I have a little app that downloads stock prices and was working perfectly (for years) until my recent upgrade to 10.5.7. After the upgrade, the program would crash on this call: NSString *currinfo = [NSString stringWithContentsOfURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://fin

Re: Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?

2009-05-13 Thread Dennis Christopher
alert case. Or the secondary alert appearing twice. I guess I dont understand what counts as the first sheet being dismissed. I would have thought that the didEnd selector being called was sufficient?? Dennis Christopher On May 12, 2009, at 1:01 PM, cocoa-dev-requ...@lists.apple.com wrote

Re: CALayer removeFromSupeLayer crashes

2009-01-19 Thread Dennis Christopher
Men, I was to find an over-release of the layer's delegate object using Instruments. Removing this solved the crash. Thanks for all your suggestions. Dennis Christopher On Jan 10, 2009, at 12:43 PM, David Duncan wrote: On Jan 9, 2009, at 12:19 PM, Dennis Christopher wrote: NS

Re: CALayer removeFromSupeLayer crashes

2009-01-13 Thread Dennis Christopher
uncan suggested. Dennis On Jan 12, 2009, at 9:25 PM, Matt Long wrote: Dennis, If any of your layers are autoreleased and not explicitly retained, if you try to access them again, you will get a crash. Can you show us what your functions such as updateRemovedSublayer look like (I'm assuming th

Re: CALayer removeFromSupeLayer crashes

2009-01-12 Thread Dennis Christopher
setSublayers:] CALayerUpdateSublayers updateRemovedSublayer CALayerMarkVisible . . objc_msgSend (EXC_BAD_ACCESS) Can you suggest what might be wrong? Dennis Christopher On Jan 10, 2009, at 12:43 PM, David Duncan wrote: On Jan 9, 2009, at 12:19 PM, Dennis Christopher wrote: NSArray *theLayers = [[self

CALayer removeFromSupeLayer crashes

2009-01-09 Thread Dennis Christopher
could be wrong with this. Any suggestions would be appreciated. (I've read through most of Dudney's Core Animation book but nothing jumps out at me.) Dennis Christopher ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do n

Accessing member variables from another thread crashes

2008-08-10 Thread Dennis Harms
object: nil] start]; // Doesn't work [NSThread detachNewThreadSelector: @selector(doSomething:) toTarget: instance withObject: nil]; // Doesn't work Thanks, Dennis ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post adm

Handle errors within NSURLConnection

2008-07-27 Thread Dennis Davydenko
on my own... I think I'm missing something here - there should be some classes that are implemented to perform this job... or I'm too naive? Any advices are appreciated! Thanks, Dennis Davydenko ___ Cocoa-dev mailing list (Cocoa-dev@list

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

2008-05-15 Thread Dennis Munsie
nd that if you don't have the money that you can't do it -- but if you have the money and the desire and the goals, what's holding you back? dennis On Thu, May 15, 2008 at 10:51 AM, Torsten Curdt <[EMAIL PROTECTED]> wrote: > I bet it was! I mean I would love to go no ma

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-

Re: Fullscreen on secondary displays

2008-05-13 Thread Dennis Munsie
at it matters for the app that I'm working on, but since SetSystemUIMode is in Carbon, are there plans to move it to Cocoa? Is this function available for 64-bit apps? Thanks to everyone that helped! regards, dennis On Tue, May 13, 2008 at 6:30 PM, Jean-Daniel Dupas <[EMAIL PROTECTED]> wr

Re: Fullscreen on secondary displays

2008-05-13 Thread Dennis Munsie
ibute this in any way, I would be all for ripping things out and re-writing as necessary. But right now, I just need to have something working on my laptop only :) thanks! dennis On Tue, May 13, 2008 at 5:00 PM, John Stiles <[EMAIL PROTECTED]> wrote: > > None of this really refutes

Re: Fullscreen on secondary displays

2008-05-13 Thread Dennis Munsie
is is strictly a view-only window. Also -- the code currently works just fine for the case of a single display machine or when the window is on the main display. I just need to make it work when the window is on another display. thanks! dennis On Tue, May 13, 2008 at 4:23 PM, Ricky Sharp &l

Fullscreen on secondary displays

2008-05-13 Thread Dennis Munsie
he formatting -- it got a bit messed up when i pasted it into gmail. Thanks! dennis ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins

Re: [OT] Dallas Cocoa Meetup?

2008-04-07 Thread Dennis J. Hagner
Hey, count me in. I'm in Irving. Dennis J. Hagner -- Date: Mon, 7 Apr 2008 15:49:26 -0500 From: Waqar Malik <[EMAIL PROTECTED]> Subject: Re: [OT] Dallas Cocoa Meetup? To: Patrick Burleson <[EMAIL PROTECTED]> Cc: cocoa-dev@lists.apple.com Me

Re: Objective-C Instance Variable Names

2008-04-05 Thread Dennis C. De Mars
ooks of it when used as the target of a message (as in "[self->target method];") although I don't have a rational reason for that opinion. - Dennis D. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not po

Re: Core Data faulting and bindings: recursive KVO notifications?

2008-03-29 Thread Dennis Lorson
On 29 Mar 2008, at 06:29, Ron Lue-Sang wrote: There's also the controller attribute "Always Use Multi Value Marker" which will keep the controller from even looking at the property values of the selected objects as long as more than one object is selected in the controller. Of course, th

Re: Core Data faulting and bindings: recursive KVO notifications?

2008-03-29 Thread Dennis Lorson
On 29 Mar 2008, at 06:08, Ben Trumbull wrote: On Mar 28, 2008, at 7:38 PM, Dennis Lorson wrote: On 28 Mar 2008, at 20:24, Ben Trumbull wrote: The problem I'm having arises when selecting all images at once (Command+A), if they are fairly large in number (in my store: ~2000).

Re: Core Data faulting and bindings: recursive KVO notifications?

2008-03-28 Thread Dennis Lorson
bit hard to tell from this excerpt. As you can verify from the test project, I don't use any custom KVO logic. Still, the crash should occur almost every time, after a variable amount of time (seconds range). I'll file a bug if the issue is determined to be not on my part. Thanks

Core Data faulting and bindings: recursive KVO notifications?

2008-03-27 Thread Dennis Lorson
ch instrument has one image relationship in the test scenario, so why is the same keypath triggered for another image object, if the trigger is caused by a property of an instrument that is only related to one of the two images? Thanks for any advice, Dennis _

Re: warning: assignment from distinct Objective-C type

2008-03-12 Thread Dennis C. De Mars
NSNumber: all "numberWith..." methods NSValue all "valueWith..." methods NSColor all "colorWith..." methods ... and many more. - Dennis D. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post adm

Re: Subclassing NSOutlineView causes failure of window to become main or key

2008-03-02 Thread Dennis Hartigan-O'Connor
don't fully understand this information but I'm assuming it represents the normal event loop, since it looks exactly the same as when the application runs perfectly. John Stiles wrote: Is anything printed to the Run Log or Console? Dennis Hartigan-O'Connor wrote: I'm tr

Subclassing NSOutlineView causes failure of window to become main or key

2008-03-02 Thread Dennis Hartigan-O'Connor
I'm trying to use a subclass of NSOutlineView to allow merged columns, so that some cells can run over their bounds, using methods I read about at: http://www.mactech.com/articles/mactech/Vol.18/18.11/1811TableTechniques/index.html I have four instances of my custom subclass organized in an NST