Re: help! (book)

2017-06-27 Thread Jerome Krinock
> On 2017 Jun 26, at 08:36, J.E. Schotsman wrote: > > Hello, > > I still cannot get my help book anchors to work programmatically (using > NSHelpManager.shared().openHelpAnchor). For some reason, in my apps, I use the method which also passes the help book name, and it works for me, in Objec

Re: Help with Storyboard Problem

2017-06-20 Thread Dave
> On 19 Jun 2017, at 22:31, Quincey Morris > wrote: > > On Jun 19, 2017, at 11:24 , Dave > wrote: >> >> I’ve tried using Segues but can’t get that to work > > You haven’t said what “can’t get that to work” means. What do you expect? > What happens? What does

Re: Help with Storyboard Problem

2017-06-20 Thread Dave
Hi Doug and thanks for the help. Please see comment below. > On 19 Jun 2017, at 21:22, Doug Hill wrote: > > The process to set up a 'Show' segue is: > - Control-Click on the button in the Storyboard > - Drag to the View Controller window you want to present > - Select ‘Show' That’s part of the

Re: Help with Storyboard Problem

2017-06-19 Thread Quincey Morris
On Jun 19, 2017, at 11:24 , Dave wrote: > > I’ve tried using Segues but can’t get that to work You haven’t said what “can’t get that to work” means. What do you expect? What happens? What does your view controller hierarchy look like. > so instead of setting myView = > call: > [self presentVie

Re: Help with Storyboard Problem

2017-06-19 Thread Alex Zavatone
Dave. I’ll help you out if you need it on Skype or whatever. But first, have you embedded your first view controller in a navigation controller? Select your first view controller in the storyboard. From the Editor menu, select “Embed In” and then select “Navigation Controller”. If that doe

Re: Help with Storyboard Problem

2017-06-19 Thread Dave
A bit more on this: I tried it with a NIB as so: -(IBAction) startGameAction:(id) theSender { LTWBoardViewController* myGameViewController; UIView* myView; myGameViewController = [[LTWBoardViewController alloc] init

Re: Help with Storyboard Problem

2017-06-19 Thread davelist
> On Jun 19, 2017, at 2:24 PM, Dave wrote: > > XCode 8.3.3. > > Hi All, > > I’m using storyboards on an iOS project and can’t seem to get it to work. > > I have two view controllers in the “Main.storyboard” file. The fist view > controller has one button on it, that when clicked, I want it t

Re: Help Indexing

2017-04-27 Thread Jerome Krinock
> On 2017 Apr 24, at 18:29, Frank D. Engel, Jr. wrote: > > At this point, since it is really only one of these anchors to a page of help > anyway, I am thinking I will rework to name the files what I was previously > calling the anchors and just open the online help in a web browser, maybe an

Re: Help Indexing

2017-04-24 Thread Frank D. Engel, Jr.
Help index seems fine, and I finally tried on a fresh Mac (with a newer OS version at that) and no joy there either. At this point, since it is really only one of these anchors to a page of help anyway, I am thinking I will rework to name the files what I was previously calling the anchors and

Re: Help Indexing

2017-04-18 Thread Jerome Krinock
> On 2017 Apr 18, at 01:22, Frank D. Engel, Jr. wrote: > > I switched them to “id"… > > I tried clearing the cache… > > … still no good. Sorry, I forgot to mention that Apple Help can be frustrating. I would try to determine if the .helpindex file which was produced by hiutil and copied to

Re: Help Indexing

2017-04-18 Thread Frank D. Engel, Jr.
I switched them to "id" and this made no difference. I logged "locBookName" and it matches what was used as the CFBundleIdentifier of the help book. I tried clearing the cache as indicated and this made no difference. I then noted that the Apple help on anchors uses "name" and that I have lo

Re: Help Indexing

2017-04-17 Thread Jerome Krinock
> On 2017 Apr 14, at 18:17, Frank D. Engel, Jr. wrote: > > In my Help Book, my working anchors use `id` instead of `name`. I forgot why. Example: 2.3.1  Testing Syncing in Smarky >NSLog(@"help: '%@'", what); >NSString *locBookName = [[NSBundle mainBundle] objectForInfoDictionaryKe

Re: Help Indexing

2017-04-14 Thread Frank D. Engel, Jr.
Thanks; I managed to clear all of the errors (which took some doing), but the anchors still are not working. As an example, one of my files contains: I added some debugging output to my method: - (void)showHelpAnchor:(NSString *)what { NSLog(@"help: '%@'", what); NSString *locBookN

Re: Help Indexing

2017-04-13 Thread Jerome Krinock
> On 2017 Apr 13, at 16:46, Frank D. Engel, Jr. wrote: > > Hi, I am trying to create an Apple Help book … help buttons on the interface > trying to access specific pages using anchors, and these are not working. > > I generated an index using the "hiutil" command, and when I reran that and >

Re: Help - Epic Browser SPDY Encrypted Proxy Failing in Sierra

2016-10-08 Thread Jens Alfke
> On Oct 7, 2016, at 2:25 PM, a...@hiddenreflex.com wrote: > > For some mysterious reason our SPDY encrypted proxy fails in our chromium > based browser only in Mac OS X Sierra. It works fine in every other > operating system. We're getting a "CERTIFICATE_INVALID_ERROR" even though > our certifi

Re: Help understanding Apple's approach in documentation a little better.

2015-08-17 Thread Steve Christensen
On Aug 16, 2015, at 2:58 PM, Alex Zavatone wrote: > Would be REALLY nice if there was something visual that simply communicated > to you that they are not for public consumption. > > If I see it in the left pane of the debugger, and no visual indicators are > stating that it's restricted, It's

Re: Help understanding Apple's approach in documentation a little better.

2015-08-16 Thread Marco S Hyman
> > If the debugger's variable pane exposes it, it's misleading if it doesn't > somehow indicate that it's not for the developer to access. It is there for the developer to access -- when debugging. Might even be useful. I sometimes find the information useful when trying to understand how so

Re: Help understanding Apple's approach in documentation a little better.

2015-08-16 Thread Alex Zavatone
On Aug 16, 2015, at 5:35 PM, Ken Thomases wrote: > On Aug 16, 2015, at 4:18 PM, Alex Zavatone wrote: > >> On Aug 16, 2015, at 4:49 PM, Ken Thomases wrote: >> >>> On Aug 16, 2015, at 3:09 PM, Alex Zavatone wrote: >>> Why isn't it in Apple's documentation for storyboards? >>> >>> Because

Re: Help understanding Apple's approach in documentation a little better.

2015-08-16 Thread Ken Thomases
On Aug 16, 2015, at 4:18 PM, Alex Zavatone wrote: > On Aug 16, 2015, at 4:49 PM, Ken Thomases wrote: > >> On Aug 16, 2015, at 3:09 PM, Alex Zavatone wrote: >> >>> Why isn't it in Apple's documentation for storyboards? >> >> Because these are private implementation details. They are subject t

Re: Help understanding Apple's approach in documentation a little better.

2015-08-16 Thread Mike Abdullah
> On 16 Aug 2015, at 22:18, Alex Zavatone wrote: > > > On Aug 16, 2015, at 4:49 PM, Ken Thomases wrote: > >> On Aug 16, 2015, at 3:09 PM, Alex Zavatone wrote: >> >>> So, I look at UIStoryboard.h and the docs and see that there are 3 methods. >>> No properties. >> >>> And in using it, I fi

Re: Help understanding Apple's approach in documentation a little better.

2015-08-16 Thread Alex Zavatone
On Aug 16, 2015, at 4:49 PM, Ken Thomases wrote: > On Aug 16, 2015, at 3:09 PM, Alex Zavatone wrote: > >> So, I look at UIStoryboard.h and the docs and see that there are 3 methods. >> No properties. > >> And in using it, I find out that in addition to the 3 methods within >> UIStoryboard.h

Re: Help understanding Apple's approach in documentation a little better.

2015-08-16 Thread Ken Thomases
On Aug 16, 2015, at 3:09 PM, Alex Zavatone wrote: > So, I look at UIStoryboard.h and the docs and see that there are 3 methods. > No properties. > And in using it, I find out that in addition to the 3 methods within > UIStoryboard.h, inside a an instance of UIStoryboard, there are a bunch of

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-07 Thread Ken Thomases
When using auto layout with a scroll view, you would want at least constraints to fix the position of the document view within the clip view. Usually, you fix it to the top-left. If the document view should re-flow its content to fit the width of the clip view, like a text view or collection v

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-07 Thread Kyle Sluder
On Thu, May 7, 2015, at 10:52 AM, Jens Alfke wrote: > > > On May 6, 2015, at 9:10 PM, Luther Baker wrote: > > > > I'm probably missing something ... but fundamentally, the whole point of > > constraints between the scrollview and its children is so that the > > scrollview knows how big to make

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-07 Thread Jens Alfke
> On May 6, 2015, at 9:10 PM, Luther Baker wrote: > > I'm probably missing something ... but fundamentally, the whole point of > constraints between the scrollview and its children is so that the scrollview > knows how big to make its contentSize. It sounds like you've got this flipped > ...

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-06 Thread Luther Baker
On Wed, May 6, 2015 at 11:54 AM, Jens Alfke wrote: > > > On May 6, 2015, at 8:36 AM, Uli Kusterer > wrote: > > > > So you're not setting a constraint on the *document* view? How do you > expect it to know how to constrain that view otherwise? > > The size of the document view is fundamentally un

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-06 Thread Jens Alfke
> On May 6, 2015, at 8:36 AM, Uli Kusterer wrote: > > So you're not setting a constraint on the *document* view? How do you expect > it to know how to constrain that view otherwise? The size of the document view is fundamentally unrelated to the size of the clip or scroll view — the whole poi

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-06 Thread Uli Kusterer
> On 06 May 2015, at 17:41, Roland King wrote: > > >> On 6 May 2015, at 23:39, Uli Kusterer wrote: >> >> On 06 May 2015, at 03:21, Jens Alfke > > wrote: Constrain your view to the top, right and left of the clipview but not the bottom. >> >> I have neve

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-06 Thread Roland King
> On 6 May 2015, at 23:39, Uli Kusterer wrote: > > On 06 May 2015, at 03:21, Jens Alfke > wrote: >>> Constrain your view to the top, right and left of the clipview but not the >>> bottom. > > I have never had to do this. What are you trying to fix with this? The

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-06 Thread Uli Kusterer
On 06 May 2015, at 03:21, Jens Alfke wrote: >> Constrain your view to the top, right and left of the clipview but not the >> bottom. I have never had to do this. What are you trying to fix with this? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-06 Thread Uli Kusterer
On 05 May 2015, at 18:26, Jens Alfke wrote: > I haven't done much AppKit work in a while. Right now I have a small app > where I'm trying to do something very simple: put a custom NSView in a window > and make it scrollable. The view determines its own frame size based on the > content it needs

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-05 Thread dangerwillrobinsondanger
Sent from my iPhone > On 2015/05/06, at 9:58, dangerwillrobinsondan...@gmail.com wrote: > > If you have AutoLayout on in a window it's actually on for all views. > NSScrollView and its hierarchy are a bit weird though. > Thing to do is create height and width constraints for the document view

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-05 Thread dangerwillrobinsondanger
Sent from my iPhone > On 2015/05/06, at 14:14, Roland King wrote: > > One of the things you ‘pick up’ as you learn autolayout is that when frame > sizes disappear to {0,0} that often means you have an ambiguous layout and > you need more constraints. More precisely it means a view is either

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-05 Thread Roland King
> On 6 May 2015, at 09:21, Jens Alfke wrote: > > >> On May 5, 2015, at 5:54 PM, Roland King > > wrote: >> >> Constrain the scrollview to something above it if it needs it, if it’s the >> whole window, probably doesn’t. >> Constrain the clipview to all 4 sides of the scr

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-05 Thread Jens Alfke
> On May 5, 2015, at 6:17 PM, Luther Baker wrote: > > Not exactly the same but I found this doc helpful. > > https://developer.apple.com/library/ios/technotes/tn2154/_index.html > I knew about that technote, but UIScrollVi

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-05 Thread Jens Alfke
> On May 5, 2015, at 5:54 PM, Roland King wrote: > > Constrain the scrollview to something above it if it needs it, if it’s the > whole window, probably doesn’t. > Constrain the clipview to all 4 sides of the scrollview. > Constrain your view to the top, right and left of the clipview but not

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-05 Thread Luther Baker
Not exactly the same but I found this doc helpful. https://developer.apple.com/library/ios/technotes/tn2154/_index.html Luther > On May 5, 2015, at 7:58 PM, dangerwillrobinsondan...@gmail.com wrote: > > If you have AutoLayout on in a window it's actually on for all views. > NSScrollView and it

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-05 Thread dangerwillrobinsondanger
If you have AutoLayout on in a window it's actually on for all views. NSScrollView and its hierarchy are a bit weird though. Thing to do is create height and width constraints for the document view and outlets for them so you can configure them. If you're using 10.10+ you can make them configu

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-05 Thread Roland King
We did this a few months ago When you embed in a scrollview you end up with NSScrollView NSClipView Your View Constrain the scrollview to something above it if it needs it, if it’s the whole window, probably doesn’t. Constrain the clipview to all 4 sides of the scrollview. Const

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-05 Thread Jens Alfke
> On May 5, 2015, at 4:26 PM, Graham Cox wrote: > > I don’t know, but I also find setting up simple constraints baffling. Even > the most straightforward cases seem to be really hard to get right. Glad to know I'm not the only one. It wouldn't be so bad if there were some real documentation I

Re: Help: NSScrollView is resizing its documentView down to (0, 0)

2015-05-05 Thread Graham Cox
> On 6 May 2015, at 2:26 am, Jens Alfke wrote: > > (although the view is pinned to the bottom of the window instead of the top > for some reason.) In the pre-autolayout days, this was always the case unless your embedded view returned YES for -isFlipped. Never made much sense then either.

Re: Help with Swift changes to optionals

2015-04-15 Thread Rick Mann
> On Apr 15, 2015, at 12:47 , Marco S Hyman wrote: > > >> On Apr 15, 2015, at 12:29 PM, Rick Mann wrote: >> >> I used to have this code prior to 1.2, which compiled and ran fine, but now >> I get an error on the last line: >> >> '?' must be followed by a call, member lookup, or subscript >

Re: Help Bundle Trouble...

2015-04-01 Thread Alex Zavatone
Is it showing up as part of the Copy Bundle Resources within your Target App's Build Phases build settings? Within Copy Bundle Resources, I have 212 items that are being copied into my iOS project's bundle. Anything and everything that's part of the project that is going in to the bundle is in

Re: Help Bundle Trouble...

2015-03-27 Thread Peters, Brandon
Roland/Jerry/others, I got it to work. I had a few strings wrong between my app’s Info.plist and the help book’s Info.plist files. Correcting those solved the issue. Thank you for pointing me in the right direction. > On Mar 28, 2015, at 12:59 AM, Roland King wrote: > > >> On 28 Mar 2015, at

Re: Help Bundle Trouble...

2015-03-27 Thread Roland King
> On 28 Mar 2015, at 12:50, Jerry Krinock wrote: > > >> On 2015 Mar 27, at 19:39, Peters, Brandon wrote: >> >> I found the .app bundle in the derived data folder. > > It should not be there. Delete it and see if it reappears during the next > build. Yes it should be there, that’s where Xc

Re: Help Bundle Trouble...

2015-03-27 Thread Jerry Krinock
> On 2015 Mar 27, at 19:39, Peters, Brandon wrote: > > I found the .app bundle in the derived data folder. It should not be there. Delete it and see if it reappears during the next build. > The help is not making it into the resources folder for the bundle. For something to make it into Con

Re: Help Bundle Trouble...

2015-03-27 Thread Peters, Brandon
Jerry, I found the .app bundle in the derived data folder. The help is not making it into the resources folder for the bundle. > On Mar 27, 2015, at 10:20 PM, Peters, Brandon wrote: > > Jerry, > > In my project folder I am not seeing my .app bundle (this is embarrassing). > >> On Mar 27, 201

Re: Help Bundle Trouble...

2015-03-27 Thread Peters, Brandon
Jerry, In my project folder I am not seeing my .app bundle (this is embarrassing). > On Mar 27, 2015, at 10:06 PM, Jerry Krinock wrote: > > >> On 2015 Mar 27, at 16:26, Peters, Brandon wrote: >> >> I copied the .help bundle into my project by right-clicking Supporting Files >> > Add Files t

Re: Help Bundle Trouble...

2015-03-27 Thread Jerry Krinock
> On 2015 Mar 27, at 16:26, Peters, Brandon wrote: > > I copied the .help bundle into my project by right-clicking Supporting Files > > Add Files to , etc. Yet it seems my application still cannot > find the content. Any pointers from experience? 1. Look inside your product’s Contents/Resour

Re: help with debugging

2014-11-18 Thread KappA
Just a thought off the top (please excuse me if I'm far off)... but what about wrapping in a @try/@catch to handle the exception and get more details? Again, sorry if I'm far off, still having my first cup of coffee. https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/Exceptions

Re: help with debugging

2014-11-18 Thread Sean McBride
On Tue, 18 Nov 2014 10:25:07 -0800, Jens Alfke said: >> Those offsets tell you how far into the function (in bytes I think) it >was. You can indeed bring that back to a line number. See here: >> >> symbolication.html>> > >That inf

Re: help with debugging

2014-11-18 Thread Jens Alfke
> On Nov 18, 2014, at 10:04 AM, Sean McBride wrote: > > Those offsets tell you how far into the function (in bytes I think) it was. > You can indeed bring that back to a line number. See here: > > > That in

Re: help with debugging

2014-11-18 Thread Sean McBride
On Wed, 19 Nov 2014 00:52:13 +0700, sqwarqDev said: >0 CoreFoundation 0x7fff8cd5664c >__exceptionPreprocess + 172 > 1 libobjc.A.dylib 0x7fff975c86de >objc_exception_throw + 43 > 2 CoreFoundation 0x7fff8cd56

Re: Help with Help

2014-05-08 Thread Todd Heberlein
For those interested, I put together a blog entry of my personal notes over the years on using Apple's Help: Help on OS X Help http://www.toddheberlein.com/blog/2014/5/8/help-on-os-x-help On May 8, 2014, at 10:50 AM, Gordon Apple wrote: > Our app is complex, > years in developm

Re: Help with Help

2014-05-08 Thread Gordon Apple
Thanks for that info. I’ll look deeper into it. Sometimes I put out statements in hope that someone will clarify the issue. Our app is complex, years in development, and will require a substantial help book, including videos (maybe the web version), external links, and contextual-help anchors. O

Re: Help with Help

2014-05-07 Thread Cosmo
As somebody who did a lot of development work on early versions of Simple Help Editor, I’d like to point out a misstatement. It does not require one to write their own HTML. It does a quite capable job of translating styled text into HTML, but does offer the ability to handle custom HTML for thi

Re: Help with Help

2014-05-07 Thread koko
On May 7, 2014, at 12:00 PM, Kirk wrote: > I further note that Apple's own iWork apps use online help pages that open in > Safari. We use HTML and open Safari when user selects help. Great for our cross platform products. -koko ___ Cocoa-dev m

Re: Help with Help

2014-05-07 Thread Alex Zavatone
On May 7, 2014, at 2:06 PM, Todd Heberlein wrote: > > On May 7, 2014, at 6:53 AM, Bill Cheeseman wrote: > >> As far as I know, the only comprehensive explanation of the "new" post-Snow >> Leopard version of Help Books is Chapter 11 of my book, Cocoa Recipes for >> Mac OS X, Second Edition (P

Re: Help with Help

2014-05-07 Thread Marco S Hyman
> The HTML in the app and on the website is slightly different, I use PHP to > generate the HTML. > > A more modern approach would probably be to use a static site generator like > Jekyll, which would allow you to use templates, write in Markdown, etc. You can use Markdown with PHP: https://git

Re: Help with Help

2014-05-07 Thread Todd Heberlein
On May 7, 2014, at 6:53 AM, Bill Cheeseman wrote: > As far as I know, the only comprehensive explanation of the "new" post-Snow > Leopard version of Help Books is Chapter 11 of my book, Cocoa Recipes for Mac > OS X, Second Edition (Peachpit Press 2010). I used Cheeseman’s book, and it did hel

Re: Help with Help

2014-05-07 Thread Kirk
en Thomases) > 3. Re: How to convert a UTF-8 byte offset into an NSString > characteroffset? (Uli Kusterer) > 4. Re: Help with Help (Uli Kusterer) > 5. Resizing last column of NSTableView when it touches window > border (Jakob Egger) > 6. Re: Help with Help (

Re: Help with Help

2014-05-07 Thread Gordon Apple
Wow! That¹s quite an indictment of one of Apple, Inc¹s supposed developer tools. You¹d think that with $190B cash, they could fix this. One of the problems I ran into is that I couldn¹t find the indexing tool without going back to old versions. When I tried to use it, it choked, spewing a litany o

Re: Help with Help

2014-05-07 Thread Bill Cheeseman
On May 7, 2014, at 9:44 AM, Jakob Egger wrote: > Problems with Help Books > > > First of all, they are poorly documented. I disagree with most of Mr. Egger's comments about Help Book problems, but he is certainly right that they are still poorly documented. The documentat

Re: Help with Help

2014-05-07 Thread Jakob Egger
I'd strongly recommend against using Apple's Help Book application. There are a few problems with Apple Help: Problems with Help Books First of all, they are poorly documented. It is extremely difficult to structure them in the right way. You can't use HTML5, you have to u

Re: Help with Help

2014-05-07 Thread Uli Kusterer
On 29 Apr 2014, at 19:52, Gordon Apple wrote: > We would like to get a recommendation on the best way to generate a help > system for a fairly complex application. We started by using a simple web > view and created about 120 screens in BBEdit, mostly drill-down outlines. > Unfortunately, this has

Re: Help with Help

2014-04-30 Thread 2551
On 30 Apr 2014, at 00:52, Gordon Apple wrote: > We would like to get a recommendation on the best way to generate a help > system for a fairly complex application. You might also try techwrl-list, they're the experts on help systems: http://www.techwr-l.com/frequently-asked-questions.html#subs

Re: Help with Help

2014-04-29 Thread Gary L. Wade
It's best to use Apple's help. However, you may want to consider the case where your app supports a localization that Apple's Help app doesn't and give the user the option of opening your help pages in the user's web browser. In one app some time back, the help would show English while the user

Re: Help to debug NSPerformService..

2014-01-09 Thread Peter Teeson
On 2014-01-09, at 6:42 PM, Peter Teeson wrote: > On 2014-01-09, at 3:58 PM, Ken Thomases wrote: >> On Jan 9, 2014, at 2:35 PM, Peter Teeson wrote: >>> Like many others I'm trying to use one - namely Look Up In Dictionary. >>> Except in my case I want to do it from within my app, not manually. >>

Re: Help to debug NSPerformService..

2014-01-09 Thread Peter Teeson
On 2014-01-09, at 3:58 PM, Ken Thomases wrote: > On Jan 9, 2014, at 2:35 PM, Peter Teeson wrote: >> Like many others I'm trying to use one - namely Look Up In Dictionary. >> Except in my case I want to do it from within my app, not manually. > On 2014-01-07, at 11:18 PM, Ken Thomases wrote: >>

Re: Help to debug NSPerformService..

2014-01-09 Thread Ken Thomases
On Jan 9, 2014, at 2:35 PM, Peter Teeson wrote: > Like many others I'm trying to use one - namely Look Up In Dictionary. Except > in my case I want to do it from within my app, not manually. On 2014-01-07, at 11:18 PM, Ken Thomases wrote: > That said, perhaps you're actually looking for the -[

Re: Help to debug NSPerformService..

2014-01-09 Thread Peter Teeson
On 2014-01-07, at 11:18 PM, Ken Thomases wrote: > On Jan 7, 2014, at 9:57 PM, Peter Teeson wrote: >> In my app I have this: >> @interface Guess : NSTextField // populated programmatically >> … >> -(void)check; // method to programatically use the Service "Look Up In >> Dictionary" >> @end >> @im

Re: Help to debug NSPerformService..

2014-01-07 Thread Ken Thomases
On Jan 7, 2014, at 9:57 PM, Peter Teeson wrote: > OS X 10.8.5, Xcode 5.0.2, Document app > > In my app I have this: > @interface Guess : NSTextField // populated programmatically > … > -(void)check; // method to programatically use the Service "Look Up In > Dictionary" > @end > > @implementatio

Re: help with logic error

2013-12-12 Thread Uli Kusterer
On 12 Dec 2013, at 12:52, 2551 <2551p...@gmail.com> wrote: > Hi folks > > I need some help with a logic error the Static Analyzer is throwing up. I > didn’t write this code (in fact, its a piece of Apple sample code I’m resuing > in my project), and I’m not quite sure how to correct it. It goe

Re: help with logic error

2013-12-12 Thread Appa Rao Mulpuri
Probably you may need to add the Default case in Switch case block or else initialize with Zero rect. - Apparao On 12/12/13 5:22 PM, "2551" <2551p...@gmail.com> wrote: >Hi folks > >I need some help with a logic error the Static Analyzer is throwing up. I >didn¹t write this code (in fact, its a

Re: help with logic error

2013-12-12 Thread 2551
> On 12 Dec 2013, at 18:56, Mike Abdullah wrote: > If orientation happens to have a value *other* than NSVerticalRuler or > NSHorizontalRuler, you’ll reach this point with borderLineRect containing > garbage since it’s never been filled in properly. This is what the analyser > is complaining of

Re: help with logic error

2013-12-12 Thread Mike Abdullah
On 12 Dec 2013, at 11:52, 2551 <2551p...@gmail.com> wrote: > Hi folks > > I need some help with a logic error the Static Analyzer is throwing up. I > didn’t write this code (in fact, its a piece of Apple sample code I’m resuing > in my project), and I’m not quite sure how to correct it. It goe

Re: Help me fix a bug: endless recursion in NSTextView?

2013-02-08 Thread Ken Thomases
On Feb 8, 2013, at 2:35 PM, Oleg Krupnov wrote: > Here we go: > > [textView isVerticallyResizable] == YES > [textView isHorizontallyResizable] == NO > [[textView textContainer] heightTracksTextView] == NO > [[textView textContainer] widthTracksTextView] == YES > > Does it mean something? It loo

Re: Help me fix a bug: endless recursion in NSTextView?

2013-02-08 Thread Oleg Krupnov
Here we go: [textView isVerticallyResizable] == YES [textView isHorizontallyResizable] == NO [[textView textContainer] heightTracksTextView] == NO [[textView textContainer] widthTracksTextView] == YES Does it mean something? > I'm not sure. It may have something to do with Retina displays. I wo

Re: Help me fix a bug: endless recursion in NSTextView?

2013-02-08 Thread Ken Thomases
Hi, On Feb 8, 2013, at 12:45 PM, Oleg Krupnov wrote: > Thanks! This information sounds relevant, but I'm still puzzled. All I > do is just use a NSTextView on a window. The text view is resizable by > width and height, i.e. the text is wrapped when I change the view's > width, and scroll bar appe

Re: Help me fix a bug: endless recursion in NSTextView?

2013-02-08 Thread Oleg Krupnov
Hi Ken, Thanks! This information sounds relevant, but I'm still puzzled. All I do is just use a NSTextView on a window. The text view is resizable by width and height, i.e. the text is wrapped when I change the view's width, and scroll bar appears when I change its height. All pretty standard. I d

Re: Help me fix a bug: endless recursion in NSTextView?

2013-02-08 Thread Ken Thomases
On Feb 8, 2013, at 5:05 AM, Oleg Krupnov wrote: > I've received a few reports from users that my app hangs and consumes > 100% CPU, and they have to force quit it. It usually happens on > MacBooks after they are awaken from sleep mode. > > One user also sent the following crash report: > > 16 c

Re: Help Book icon — retina?

2012-12-07 Thread Charles Srstka
On Dec 7, 2012, at 1:11 PM, Alex Zavatone wrote: > I think the general rule that the dimensions should be 2x the size of non > retina items. I know, but Apple's own Help Book icons all seem to be 64x64, which is 4x the size (in each dimension), not 2x, which is why I'm confused. Is there any

Re: Help Indexer error - what does it MEAN?

2012-11-28 Thread Matt Neuburg
On Wed, 07 Nov 2012 22:14:08 +0100, Matthias Arndt said: >Hi Graham, > >I had the same issue today: As Andy mentioned the HTML validation is much >stricter than in the past, e. g. all / / / tags have >to be closed ... I just finished correcting all help files of one project, >checked them

Re: Help Indexer error - what does it MEAN?

2012-11-07 Thread Matthias Arndt
Hi Graham, I had the same issue today: As Andy mentioned the HTML validation is much stricter than in the past, e. g. all / / / tags have to be closed ... I just finished correcting all help files of one project, checked them via , and HelpIndexer didn't report any

Re: help indexer or hiutil help

2012-08-18 Thread Ben Kennedy
On 18 Aug 2012, at 10:32 am, Matt Neuburg wrote: > Try the apple-help-authoring list. And be accurate; I'm sure you're not > really calling your help index MyHelp.index (are you???). Also, does your > help actually *use* anchors? You won't find any unless there are some. m. Anchors have never

Re: help indexer or hiutil help

2012-08-18 Thread Matt Neuburg
On Thu, 16 Aug 2012 20:46:17 -0500, Shane said: >On Fri, Aug 10, 2012 at 4:12 PM, Shane > wrote: >> I'm trying to use Help Indexer.app after a long while and a few >> upgrades of a working help project. When trying to select the >> MyHelp.help bundle, I can't because its grayed out. Any ideas? >>

Re: help indexer or hiutil help

2012-08-16 Thread Shane
On Fri, Aug 10, 2012 at 4:12 PM, Shane wrote: > I'm trying to use Help Indexer.app after a long while and a few > upgrades of a working help project. When trying to select the > MyHelp.help bundle, I can't because its grayed out. Any ideas? > > But I can get into the bundle on the command line, so

Re: Help Indexer error - what does it MEAN?

2012-08-15 Thread Graham Cox
On 14/08/2012, at 9:49 PM, Jerry Krinock wrote: > What do mean by "doesn't work"? I mean I get a whole bunch of errors of the type I mentioned at the start of this thread and the index file is useless. --Graham ___ Cocoa-dev mailing list (Cocoa-

Re: Help Indexer error - what does it MEAN?

2012-08-15 Thread Jerry Krinock
On 2012 Aug 13, Graham Cox wrote: > Thanks! I was able to index my help by doing it in 10.7. (I tried 4.2, the > latest I could find, and it doesn't work). No thanks! This means that my one-click shipping script is going to have to call over to another Mac to build the Help Book. What do me

Re: Help Indexer error - what does it MEAN?

2012-08-13 Thread Graham Cox
On 14/08/2012, at 10:47 AM, Dennis wrote: > Running this script might help. It was posted by somebody on the Apple Help > list some time ago. That's a good resource for questions like these. > > Thanks... Seems out of date for ML but I was able to kill off the various caches manually by l

Re: Help Indexer error - what does it MEAN?

2012-08-13 Thread Graham Cox
On 14/08/2012, at 12:17 AM, Kyle Sluder wrote: > Help Indexer is broken for HTML input on Mountain Lion. You could try XHTML > input, or do what we do and run the indexer on 10.7. Thanks! I was able to index my help by doing it in 10.7. (I tried 4.2, the latest I could find, and it doesn't

Re: Help Indexer error - what does it MEAN?

2012-08-13 Thread Jerry Krinock
On 2012 Aug 13, at 07:17, Kyle Sluder wrote: > Help Indexer is broken for HTML input on Mountain Lion. You could try XHTML > input, or do what we do and run the indexer on 10.7. There is a new version of Help Indexer, version 4.2 (50). Please tell me that you're using an older version and th

Re: Help Indexer error - what does it MEAN?

2012-08-13 Thread Kyle Sluder
Help Indexer is broken for HTML input on Mountain Lion. You could try XHTML input, or do what we do and run the indexer on 10.7. --Kyle Sluder (Sent from the road) On Aug 13, 2012, at 5:43 AM, Graham Cox wrote: > I'm trying to index our help files with Help Indexer, a process that has > worke

Re: Help Indexer error - what does it MEAN?

2012-08-13 Thread Andy Lee
I haven't used Help Indexer, so this is an un-educated guess: maybe you have something like ... in your HTML? Maybe earlier versions of Help Indexer were more forgiving. Have you run your files through an HTML validator? --Andy On Aug 13, 2012, at 8:51 AM, Graham Cox wrote: > > On 13/08/2

Re: Help Indexer error - what does it MEAN?

2012-08-13 Thread Graham Cox
On 13/08/2012, at 10:43 PM, Graham Cox wrote: > errors that mean nothing to me BTW, I looked up the error - but I'm none the wiser. What's a "tag name mismatch"? NSXMLParserTagNameMismatchError = 76, NSXMLParserTagNameMismatchError Tag name mismatch. Available in OS X v10.3 and later. Decla

Re: Help with strange NSInvalidArgumentException

2012-07-18 Thread Sean McBride
Mike, Thanks for answering. I never directly call that. Though I call plain-old commitEditing in about 100 different places. Further searching found one similar report:

Re: Help: Create, import and edit SVG object in Cocoa app

2012-07-18 Thread Richard Altenburg (Brainchild)
This maybe? [[[Brainchild alloc] initWithName:@"Richard Altenburg"] saysBestRegards]; Op 6 jul. 2012, om 04:59 heeft lupeiyu het volgende geschreven: > I want to create SVG objects in my cocoa application using iPad Devices. > > And also I want to import an

RE: Help: Create, import and edit SVG object in Cocoa app

2012-07-18 Thread lupeiyu
Thank you very much~ From: Graham Cox [mailto:graham@bigpond.com] Sent: Wednesday, July 18, 2012 2:01 PM To: lupeiyu Cc: cocoa-dev@lists.apple.com Subject: Re: Help: Create, import and edit SVG object in Cocoa app On 18/07/2012, at 3:53 PM, lupeiyu wrote: I find some apps like

Re: Help: Create, import and edit SVG object in Cocoa app

2012-07-18 Thread Graham Cox
On 18/07/2012, at 3:53 PM, lupeiyu wrote: > I find some apps like iDraw in AppStore, it can import and export SVG. > Can you tell me the idear of the app works? > You need to understand the magnitude of your question. My app (a competitor to iDraw) consists of about 400+ classes ON TOP of Coc

RE: Help: Create, import and edit SVG object in Cocoa app

2012-07-18 Thread lupeiyu
, 2012 1:24 PM To: lupeiyu Cc: cocoa-dev@lists.apple.com Subject: Re: Help: Create, import and edit SVG object in Cocoa app On 06/07/2012, at 12:59 PM, lupeiyu wrote: I want to create SVG objects in my cocoa application using iPad Devices. And also I want to import and edit the created

  1   2   3   4   5   >