Re: Carousel - like control for Mac OS

2011-12-21 Thread Nick
Unfortunately, on Mac OS this control does not support click on items detection, which makes it useless on Macs. from README.md: "On Mac OS there is no easy way to detect clicks on carousel items currently. You cannot just supply an NSButton as or inside your item view because the transforms appli

Re: Carousel - like control for Mac OS

2011-12-21 Thread Stephen J. Butler
On Tue, Dec 20, 2011 at 3:00 PM, Nick wrote: > Hello > I am wondering, if a component exists similar to this > http://www.ajaxdaddy.com/demo-jquery-carousel.html > for Mac OS. > > Basically, what I need is just "next" and "previous" buttons (and > these images smoothly scrolled one image per "next

Re: Carousel - like control for Mac OS

2011-12-21 Thread Nick
Coverflow seems to be even more difficult to implement than just a simple smoothly scrollable strip with clickable items. Coverflow can be implemented using this iCarousel, but, again, with non-clickable items. And then, I do not have much space on the window to put this coverflow (while a strip

Re: Carousel - like control for Mac OS

2011-12-21 Thread Vincent Habchi
> And then, I do not have much space on the window to put this > coverflow (while a strip can be small and still look good), plus a > strip can display more than 1 item at once, and the user can click on > any of these items without too much of scrolling). Why don’t you use CALayers (more specifi

Re: Carousel - like control for Mac OS

2011-12-21 Thread Nick
I am not sure how to do this. Currently, I have an NSScrollView (whose document view has all the item views), with hidden scroll bars, and buttons "next" and "previous". When "next" and "prev" are clicked, I -scrollToPoint NSScrollView's content view a bit to the right or to the left. It seems to

Re: Example code eyePhoto-Step8 & IB help needed

2011-12-21 Thread Eric Matecki
On 20/12/11 17:48, Laurent Daudelin wrote: On Dec 20, 2011, at 06:03, Eric Matecki wrote: Hi, I'm new to IB. I'm trying to find by which magic "NSWindow * imageCaptureWindow;", member of "@interface Controller : NSWindowController", gets initialized by the following code : [NSBundle loadNibNa

Re: Carousel - like control for Mac OS

2011-12-21 Thread Olivier Palliere
HI Nick, In my app, I have two IKImageBrowserView subclasses (thumbnailsBrowser) that I populate with the pictures I need. It supports scrolling out of the box with the mouse or trackpad when needed. For one of my subclass, I resize the popover because it can only have up to 5 pictures in it, s

Re: Lion: Batch close

2011-12-21 Thread Mike Abdullah
You've given us almost nothing to go on. Can we have a crash report please? Have you tried using Instruments to look for zombies? Indeed, have you tried anything at all? On 21 Dec 2011, at 06:00, Appa Rao Mulpuri wrote: > Hi, > > My application is crashing on Lion if user tries to close all op

Re: Carousel - like control for Mac OS

2011-12-21 Thread vincent habchi
Nick, I cannot elaborate much on this and give you code (not because it is somehow confidential, but just because it is a general idea I don’t have implemented, though I’m familiar with CAScrollLayers). The idea is thus: 1. Draw a normal NSView that you back with a CAScrollLayer. Give it the ri

Cocoa-dev Digest, Vol 8, Issue 979

2011-12-21 Thread norbert
Send Cocoa-dev mailing list submissions to cocoa-dev@lists.apple.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.apple.com/mailman/listinfo/cocoa-dev or, via email, send a message with subject or body 'help' to cocoa-dev-requ...@lists.apple.com Y

Cocoa-dev Digest, Vol 8, Issue 979

2011-12-21 Thread norbert
Send Cocoa-dev mailing list submissions to cocoa-dev@lists.apple.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.apple.com/mailman/listinfo/cocoa-dev or, via email, send a message with subject or body 'help' to cocoa-dev-requ...@lists.apple.com Y

Cocoa-dev Digest, Vol 8, Issue 979

2011-12-21 Thread norbert
Send Cocoa-dev mailing list submissions to cocoa-dev@lists.apple.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.apple.com/mailman/listinfo/cocoa-dev or, via email, send a message with subject or body 'help' to cocoa-dev-requ...@lists.apple.com Y

Cocoa-dev Digest, Vol 8, Issue 979

2011-12-21 Thread norbert
Send Cocoa-dev mailing list submissions to cocoa-dev@lists.apple.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.apple.com/mailman/listinfo/cocoa-dev or, via email, send a message with subject or body 'help' to cocoa-dev-requ...@lists.apple.com Y

Cocoa-dev Digest, Vol 8, Issue 979

2011-12-21 Thread norbert
Send Cocoa-dev mailing list submissions to cocoa-dev@lists.apple.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.apple.com/mailman/listinfo/cocoa-dev or, via email, send a message with subject or body 'help' to cocoa-dev-requ...@lists.apple.com Y

Q: An App for both OS X and iOS

2011-12-21 Thread Peter Teeson
Using Xcode 4.2.1 on Lion 10.7.2. Xcode 4 is new to me for real work. I've just been doing reading and tutorials. (So far I like what I see very much) I want to start a new workspace for an app that will be for both Mac OS X and iOS. This will be my first iOS app. The model part of MVC is goin

Re: Q: An App for both OS X and iOS

2011-12-21 Thread Chris Hanson
On Dec 21, 2011, at 7:50 AM, Peter Teeson wrote: > I want to start a new workspace for an app that will be for both Mac OS X and > iOS. > This will be my first iOS app. > > The model part of MVC is going to be common but obviously the UIs are > different. > > Am I correct in this plan outline

Re: Cocoa-dev Digest, Vol 8, Issue 979

2011-12-21 Thread Graham Cox
You know, it's really dumb to post a reply to the entire digest. Not only can't we tell what you are responding to, but we can't even find the bit you added. --Graham On 22/12/2011, at 1:11 AM, norbert wrote: > When replying, please edit your Subject line so it is more specific > than "Re: Con

NSString looses Umlaute

2011-12-21 Thread Alexander Reichstadt
Hi, NSString eats the Umlaute. How do I tell NSString to not do that? I tried: NSString *theContent = [[NSString alloc] initWithData:theData encoding:NSASCIIStringEncoding]; theContent = [[theContent componentsSeparatedByString:@"\r"] objectAtIndex:1]; theContent = [the

Re: NSString looses Umlaute

2011-12-21 Thread Ben Kennedy
On 21 Dec 2011, at 4:45 pm, Alexander Reichstadt wrote: > NSString *theContent = [[NSString alloc] initWithData:theData > encoding:NSASCIIStringEncoding]; >theContent = [[theContent componentsSeparatedByString:@"\r"] > objectAtIndex:1]; >theContent = [theContent > stringB

Re: CoreData and 3 level Master/Detail tableView

2011-12-21 Thread Jerry Krinock
On 2011 Dec 20, at 09:57, gumbo...@mac.com wrote: > How do I display the EventScores for selected Entry in the second column? I think maybe you need another array controller or two. Generally, one array controller for each table. In the detail array controller, bind the "Content" to the maste

Re: Why would a working -[NSInvocation invoke] call NSBeep() ?

2011-12-21 Thread Jerry Krinock
On 2011 Dec 05, at 13:14, Greg Parker wrote: > You should file a bug report asking for -beginSheet:... to log a real error > message or throw an exception instead of beeping. Done (a few weeks ago, forgot to send this). Problem ID is 10557689. ___

Get property values of a UI element in an Cross-possess manner without Accessibility APIs ?

2011-12-21 Thread 王珺翔
Hi, I've post this question to the accessibility-dev mail list and they suggested I move step here to seek some definite answers. The question is: I have a cocoa application running and there is a NSButton on it. From another process, I can get properties like "position", "title" via Mac Accessib

iOS generate key event

2011-12-21 Thread Yumi Kimura
Is there any way to generate key event on iOS programmatically? OS X has CGEvents class but iOS has similar one? Thank you. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Cont

Re: Account validation in CocoaTouch for the purchased app

2011-12-21 Thread Steve Christensen
On Dec 20, 2011, at 2:26 PM, Alexander Reichstadt wrote: > given an app is sold on iTunes, is there a way for that app to find out which > email address was used for the iTunes account when it was purchased? I don't believe so. As far as I know, the only way to find that out is to ask the user.

Re: Get property values of a UI element in an Cross-possess manner without Accessibility APIs ?

2011-12-21 Thread Kyle Sluder
On Dec 19, 2011, at 9:10 PM, 王珺翔 wrote: > I have a cocoa application running and there is a NSButton on it. From > another process, I can get properties like "position", "title" via Mac > Accessibility. However, other properties like "button style", "font" cannot > be retrieved in that way. So, I