Re: Recursive blocks

2011-01-28 Thread Glen Low
Chris, Bill, All My mummy tells me not to feed the flames, but... On 28/01/2011, at 7:38 AM, Chris Suter wrote: Hi Bill, On Fri, Jan 28, 2011 at 4:51 AM, Bill Bumgarner wrote: You have measured a situation where the pattern's marginal slowness actually matters? No, of course not; I don

Re: Implementing a Find menu item like Safari?

2011-01-28 Thread Uli Kusterer
On Jan 28, 2011, at 4:43 AM, Ben Golding wrote: > Safari has a really nice "Find" bar that scrolls down from the title pane of > the window. I'd like to do something like that in an application that I'm > developing but I can't find out whether that's generally available and how to > use it.

Re: Internal target="_blank" NSRequests are NIL.

2011-01-28 Thread Izidor Jerebic
On 27.1.2011, at 16:30, Bruce Cresanta wrote: > I am trying to redirect requests to a new window.I > set the UIDelegate and implement the method: > > - (WebView *)webView:(WebView *)sender createWebViewWithRequest:(NSURLRequest > *)request > > The request parameter is always coming a

what are the disadvantages in keeping libraries and input files inside app bundle

2011-01-28 Thread Abhijeet Singh
Hi,I have number of static and dynamic libraries in my application. At present i have kept all the libraries in "\usr\local\lib" folder. I was wondering whether it would be a good idea to keep all these libraries inside the application bundle itself? Similarly there are number of input files tha

Re: what are the disadvantages in keeping libraries and input files inside app bundle

2011-01-28 Thread Dave Carrigan
This is the preferred method of deployment. Experienced Mac users hate it when an installation scatters crud all over the filesystem. You should especially not be polluting /usr/local/lib. Dave Carrigan Seattle, WA On Jan 28, 2011, at 2:56 AM, "Abhijeet Singh" wrote: > Hi,I have number of st

Re: what are the disadvantages in keeping libraries and input files inside app bundle

2011-01-28 Thread Uli Kusterer
On Jan 28, 2011, at 11:56 AM, Abhijeet Singh wrote: > I was wondering whether it would be a good idea to keep all these libraries > inside the application bundle itself? That would be much better, and is the recommended practice on the Mac. > Similarly there are number of input files that my ap

Re: Implementing a Find menu item like Safari?

2011-01-28 Thread Gary L. Wade
Check out NSPredicateEditor and http://webkit.org/ for how Safari does things. On 01/27/2011 7:43 PM, "Ben Golding" wrote: > >Safari has a really nice "Find" bar that scrolls down from the title pane >of the window. I'd like to do something like that in an application that >I'm developing but I

Re: awakeFromNib Called Twice

2011-01-28 Thread koko
On Jan 27, 2011, at 6:30 PM, Kyle Sluder wrote: > Do not avoid IB. It is not "simpler." It does not get you "under the > hood." Knowing how IB works is essential to being a competent Cocoa > developer. Here here! -koko ___ Cocoa-dev mailing list (Coc

EXC_BAD_ACCESS when loading nib

2011-01-28 Thread Michael LaMorte
In preparing my application for the Mac App Store, I've hit a roadblock that I can't seem to get past. Originally, my app was written for 10.5 and up, for both Intel and PPC machines. Obviously, for submission it needs to be built for 10.6 and Intel only. So I made the required changes to the b

Re: EXC_BAD_ACCESS when loading nib

2011-01-28 Thread Kyle Sluder
On Fri, Jan 28, 2011 at 12:19 PM, Michael LaMorte wrote: > Program received signal:  “EXC_BAD_ACCESS”. You have a memory management bug somewhere. I'm guessing that you've failed to retain an NSManagedObject. --Kyle Sluder ___ Cocoa-dev mailing list (

NSTextView exception with line wrap and horizontal scroller

2011-01-28 Thread jonat...@mugginsoft.com
Does NSTextView officially support line wrapping with the horizontal scroller remaining visible? I have a placard in my scroller and don't want to remove it along with the scroller when I toggle between line wrapping and non wrapping. If I don't hide the scroller I get the exception detailed bel

Printing a View

2011-01-28 Thread Mirabito, David
Hello, I've scoured the 'net (including this list's archives) and found many useful bits of info that have gotten me this far, but I fear I am stuck. Apologies if I've simply missed something in my searches. I have my CoreData Document-based app and 'print' ends up allocing and initing up a Print

readInBackgroundAndNotify and rsync output

2011-01-28 Thread Robert DuToit
Hi All, I am relatively new to OBJ-C and have been struggling for several weeks to get Authorization , via BetterAuthorizationSample, to integrate with my project. Basically I am launching rsync via a helper tool and launchd and need to parse the output which is returned to the main app via th

Re: readInBackgroundAndNotify and rsync output

2011-01-28 Thread Ken Thomases
On Jan 28, 2011, at 4:53 PM, Robert DuToit wrote: > Basically I am launching rsync via a helper tool and launchd and need to > parse the output which is returned to the main app via the BAS response as a > file descriptor. I set up a notification using readInBackgroundAndNotify . > > This work