Re: Hot can I get called when my view scrolls?

2011-04-06 Thread Quincey Morris
On Apr 6, 2011, at 21:06, Carlos Eduardo Mello wrote: > I have a custom view embeded in a scroll view (let's call it View A). I > have another view (View B) which is related to View A (but not inside it) and > needs to be updated whenever view A scrolls. (Please note that I don't have > any p

Hot can I get called when my view scrolls?

2011-04-06 Thread Carlos Eduardo Mello
Hi, I have a custom view embeded in a scroll view (let's call it View A). I have another view (View B) which is related to View A (but not inside it) and needs to be updated whenever view A scrolls. (Please note that I don't have any problems with scrolling. Scrolling works great in Vie

Re: WebView Crashed

2011-04-06 Thread Bing Li
Dear Conrad, I appreciate so much for your help! LB On Thu, Apr 7, 2011 at 10:32 AM, Conrad Shultz < con...@synthetiqsolutions.com> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 4/6/11 7:21 PM, Bing Li wrote: > > Dear all, > > > > I am a new developer of Cocoa. Today I tried t

Re: WebView Crashed

2011-04-06 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/6/11 7:21 PM, Bing Li wrote: > Dear all, > > I am a new developer of Cocoa. Today I tried to learn how to use WebView. I > just created a simple Cocoa Application, which is NOT document-based or > using Core Data. After that, WebView is dragged f

Re: diable localization

2011-04-06 Thread John Joyce
On Apr 6, 2011, at 4:43 PM, Felix Franz wrote: > > On Apr 5, 2011, at 3:55 PM, Georg Seifert wrote: > >> Hi, >> >> I what to give my users the possibility to disable the localization of my >> app. Is there a way to tell the system (NSBundle?) to always load the >> english nibs? > > Just rea

WebView Crashed

2011-04-06 Thread Bing Li
Dear all, I am a new developer of Cocoa. Today I tried to learn how to use WebView. I just created a simple Cocoa Application, which is NOT document-based or using Core Data. After that, WebView is dragged from the Library to the Window of the newly-created Cocoa application. Without doing anythin

Re: Can an image be "rejected" by CALayer?

2011-04-06 Thread Seth Willits
On Apr 6, 2011, at 3:44 AM, Gabriel Zachmann wrote: > I am creating CA layers like so: > >CALayer * imgLayer = [CALayer layer]; >imgLayer.contents = (id) image; >... > > The question now is: can I somehow find out whether or not the image has been > ignored by CA

Re: Best way to find files

2011-04-06 Thread Dave DeLong
What sort of files do you want to find? What do you want to do with them? Both things you tried work just fine, depending on the answers to those questions. Dave On Apr 6, 2011, at 1:24 PM, Dominic Dauer wrote: > Hi, > I would like to know which is the best way to find files in the file syste

Best way to find files

2011-04-06 Thread Dominic Dauer
Hi, I would like to know which is the best way to find files in the file system. I tried the metadatasearch provided by the NSMetadateQuery Class and the traditional recursive directory walk. - DD ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.co

ANN: HelpViewer code for iOS

2011-04-06 Thread Andreas Mayer
Hi there. I just posted my first code snippet for iOS. It's a scroll view, that displays HTML pages from the app bundle. As the name implies, this was meant to provide a means of showing help pages. http://www.harmless.de/cocoa-code.php#helpviewer It's free, so have fun. :) Andreas__

Re: ScrollView Programming

2011-04-06 Thread Matt Neuburg
On Wed, 06 Apr 2011 05:25:34 -0400, Jeffrey Walton said: >Unfortunately, I don't know what I am looking for. Hence the reason I >want to follow instructions. The best I can tell, the documentation is >written for folks who have experience with the library (folks like >you), and not folks who need

Internet Plug-In to not load in certain web browsers

2011-04-06 Thread Jerry Krinock
This may be crazy, but I just thought I'd ask… I've produced [1] an Internet Plug-In which my app installs in ~/Library/Internet Plug-Ins. It allows my app to communicate with Google Chrome. When it loads into other web browsers, all it does is waste bytes and, of course, add my name to the c

Can an image be "rejected" by CALayer?

2011-04-06 Thread Gabriel Zachmann
I am creating CA layers like so: CALayer * imgLayer = [CALayer layer]; imgLayer.contents = (id) image; imgLayer.contentsGravity= kCAGravityResizeAspect; imgLayer.delegate = nil; imgLayer.opacity= 1.0; imgLayer.position

Re: ScrollView Programming

2011-04-06 Thread Jeffrey Walton
On Wed, Apr 6, 2011 at 5:09 AM, Quincey Morris wrote: > On Apr 6, 2011, at 01:53, Jeffrey Walton wrote: > >> Scroll View: >>  Scroll View Connection: file's owner >>  Scroll View Delegate: not connected (connected did not help) >>  Size: 320 x 431 (Tab Bar) >>  Clip subviews: off >>  Autoresize su

Re: ScrollView Programming

2011-04-06 Thread Quincey Morris
On Apr 6, 2011, at 01:53, Jeffrey Walton wrote: > Scroll View: > Scroll View Connection: file's owner > Scroll View Delegate: not connected (connected did not help) > Size: 320 x 431 (Tab Bar) > Clip subviews: off > Autoresize subviews: on > Outer size springs: on > Inner size springs: unab

Re: ScrollView Programming

2011-04-06 Thread Jeffrey Walton
On Wed, Apr 6, 2011 at 2:47 AM, Quincey Morris wrote: > On Apr 5, 2011, at 23:28, Quincey Morris wrote: > >> Almost certainly your problem is that you failed to set the autoresizing >> springs correctly for the "document" view. In the simplest case, it should >> be anchored on all 4 sides, and b

Re: diable localization

2011-04-06 Thread Felix Franz
On Apr 5, 2011, at 3:55 PM, Georg Seifert wrote: > Hi, > > I what to give my users the possibility to disable the localization of my > app. Is there a way to tell the system (NSBundle?) to always load the english > nibs? Just read http://homepage.mac.com/mmalc/Stepwise/Internationalization/ i