I am attempting to make a simple non-localized help book for my Cocoa application. I've made a .help file with the structure described in the somewhat out-of-date Apple Help Programming Guide.
When I run my app in the debugger from Xcode, the help item is correctly listed under the help menu. But selecting it just brings up a dialogue with "The selected topic is currently unavailable".
Opening the help bundle and going to the title page html file (in Safari) correctly navigates the structure of the help folder. This is only 3 pages. It seems like the help viewer is not getting to the title page. What is the correct structure of the help bundle and the related plist values for the help viewer to work?
I have:
contents/
Info.plist
Resources/
English.lproj/
title page.html, help index, pigs folder, sty folder etc
thanks
r
Related
I just made a new file: "VideoNames.plist". Usually the template is shown in the editor. But it is showing up empty. Before updating to Xcode 13.3 I did not have this problem.
When I go and look up the file, the template contents is there.
So how do I convince the editor to show it in plist or xml format?
Thanks in advance.
Got it!
It turned out that I accidentally had tapped the Enable/Disable Code Review button. Tapping it again brought back my .plist as well as several other missing windows, like fx Assets.xcassets.
Thanks anyway! I appreciate all the good answers, I have found here on this site.
I'm interested in teaching myself how to build and edit mac apps, but I'm really new to it, and it's more for fun right now. I found some open source apps on github to play around with, and I noticed that in one of them, there is no web address link for their website on the Help menu (example, it shows App Name | File | Edit | View | Window | Help).
Would it be possible to edit that app somehow and add the address as a Help menu link? If so, where would I go or how would I achieve this? I looked in the App/Contents/Resources and there are some .nib files, but I'm not sure if the menu information is stored in a .nib or if it's in a .plist file or somewhere else? Would I need to have XCode installed in order to edit and add this?
I am quite new to this, but I'm wanting to do this for self exploration and learning.
Would it be possible to edit that app somehow and add the address as a Help menu link?
It's generally not possible to edit an existing app and accomplish what you are looking for.
I found some open source apps on github to play around with, and I noticed that in one of them, there is no web address link for their website on the Help menu.
For an open source app, you can ask the developers to incorporate the change by either opening an issue or contributing the change in the source code yourself.
I just wanted to know why some of my files aren't showing up on the Xcode side bar. I was watching this
https://www.youtube.com/watch?v=wNAPy2LqcrY&spfreload=10
video tutorial, and I noticed that my sidebar looked different. I didn't have any of the special files or view controllers. I only have the main.storyboard and viewcontroller.swift
Could you please help me with this?
Thanks!
It is because he already started. You need to also use Objective-C and not Swift if you want to follow that tutorial. If you look in the description of youtube video, he has links to all the other files and his completed project.
As i'm new to mac app development can anyone help me to solve my problem.
In my mac app i want to add help document the Help Option in the menu bar, can anyone help me to solve this.
Thanks in Advance!!
You have two main options. You can either create a help book bundle for your application or you can create your own method and link it to the menu selection. (It's not clear from your question exactly how you want to display your "help document".)
I am new to MacOS development. I would like to know how developer navigate code in a large code base on MacOS? E.g. webkit? I have webkit (c++) built in XCode, but the source code navigate is not that great.
I am looking for something like Java source code navigation in eclipse. e.g. display class hierarchy, e.g. caller of a particular method?
Any one has any idea?
I think what you are looking for is the "Project Symbols" item in the Groups & Files sidebar.
If you double-click it, there are more view/filters, like only showing your project's classes:
Project Symbols http://img25.imageshack.us/img25/6709/symbolbrowserwebkit.png
TextMate (commercial program) has a project browser, it's better than just using XCode to get an overview. For navigating the many files to see how the big projects are layed out, you need a good file manager, such as PathFinder.
Class Browser may help.
Project->Class Browser or Command+Shift+C