Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
I can't believe I am stuck on this!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MikeFromMesa" data-source="post: 1789982" data-attributes="member: 305741"><p>I am a retired and decided to spend some of my time learning Xcode, Objective-c and Swift and writing some apps for my own use at home. I had been developing apps for Windows using Visual Studio and (mostly) c, c# and c++ and thought Xcode and Swift would not be too much of a problem. Mostly this has worked and I have been able to develop the apps I wanted using the UI builder in Xcode (rather than in code itself). However, since most of these are relatively simple and straight-forward they have not required menus and so up until this week I never tried to attach a menu to the apps.</p><p></p><p>However, this week I decided to combine some of my apps into a single general purpose app and wanted to attach a menu, but can not see how to include the menu in the app. I have tried everything I can think of, trying to drag the menu to the app, creating Outlets and Actions in the code for the menu, modifying the menu, adding and deleting entries, but nothing serves to add the menu to the app and I get the single simple app window with no menus.</p><p></p><p>I have searched the internet for a solution, but without luck. I thought I might just buy one of the Xcode books available in Kindle form, but most of those seem to be aimed at teaching Objective-c or Swift, or are written for much earlier versions of Xcode. Can someone please tell me how to get Xcode to attach the menu bar to the app? Nothing I have tried so far has worked and I assume there is some simple setting or drag operation that would solve this problem. These are OS X apps, not iOS, in case that makes a difference.</p><p></p><p>Thank you.</p><p></p><p>UPDATE:</p><p></p><p>Never mind. Figured it out.</p></blockquote><p></p>
[QUOTE="MikeFromMesa, post: 1789982, member: 305741"] I am a retired and decided to spend some of my time learning Xcode, Objective-c and Swift and writing some apps for my own use at home. I had been developing apps for Windows using Visual Studio and (mostly) c, c# and c++ and thought Xcode and Swift would not be too much of a problem. Mostly this has worked and I have been able to develop the apps I wanted using the UI builder in Xcode (rather than in code itself). However, since most of these are relatively simple and straight-forward they have not required menus and so up until this week I never tried to attach a menu to the apps. However, this week I decided to combine some of my apps into a single general purpose app and wanted to attach a menu, but can not see how to include the menu in the app. I have tried everything I can think of, trying to drag the menu to the app, creating Outlets and Actions in the code for the menu, modifying the menu, adding and deleting entries, but nothing serves to add the menu to the app and I get the single simple app window with no menus. I have searched the internet for a solution, but without luck. I thought I might just buy one of the Xcode books available in Kindle form, but most of those seem to be aimed at teaching Objective-c or Swift, or are written for much earlier versions of Xcode. Can someone please tell me how to get Xcode to attach the menu bar to the app? Nothing I have tried so far has worked and I assume there is some simple setting or drag operation that would solve this problem. These are OS X apps, not iOS, in case that makes a difference. Thank you. UPDATE: Never mind. Figured it out. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
I can't believe I am stuck on this!
Top