Results 1 to 8 of 8

Thread: I can't believe I am stuck on this!

  1. #1


    Member Since
    Jul 02, 2013
    Posts
    473
    I can't believe I am stuck on this!
    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.
    Last edited by MikeFromMesa; 04-05-2018 at 12:29 PM. Reason: Found solution

  2. #2

    IWT's Avatar
    Member Since
    Jan 23, 2009
    Location
    Born in Scotland, Worked in Scotland then England, Now live in Wales
    Posts
    4,500
    Your Mac's Specs
    Late 2015 5K 27-inch Retina iMac, 4GHz i7, 32GB RAM, 1TB Flash Drive, macOS High Sierra 10.13.6
    Oh Mike, do tell us the solution. There will be followers of this thread with a similar problem and your solution would be very helpful to them.

    Ian
    Ian

  3. #3

    ferrarr's Avatar
    Member Since
    May 21, 2012
    Location
    Pawtucket, RI, USA
    Posts
    4,732
    Your Mac's Specs
    L2014 Mac mini macOS 10.13, iPhone 8+ iOS 11, 12.9" iPad Pro 1 iOS 11,  Pencil 1
    Quote Originally Posted by IWT View Post
    Oh Mike, do tell us the solution. There will be followers of this thread with a similar problem and your solution would be very helpful to them.

    Ian
    Until the site goes away.....
    -- Bob --
    Please backup. Everything has a life cycle, unexpected and warning free. Nothing will last as long as you want it to.

  4. #4

    pm-r's Avatar
    Member Since
    Oct 16, 2010
    Location
    Brentwood Bay, BC, Canada
    Posts
    9,532
    Quote Originally Posted by IWT View Post
    Oh Mike, do tell us the solution. …
    Ian
    Quote Originally Posted by ferrarr View Post
    Until the site goes away.....


    Then it will possibly be for sale at the App Store.

    And maybe help supplement any of his retirement income.




    - Patrick
    ======

  5. #5


    Member Since
    Jul 02, 2013
    Posts
    473
    I did not post my "solution" because I did not think it applied to anyone else on this forum.

    As I mentioned I spent many years writing code for Windows machines (and Unix and proprietary machines before that) and got used to the way Windows displays information. A Windows app always keeps the menu attached to the app, so if the app is not running "maximized" the menu is still easily seen as part of the app. Apple does not work that way and it has taken some time for me to get used to that, so I just did not see that the menu was there, but detached from the app. Out of sight, out of mind, or something like that.

    So the problem was operator error the entire time, and so the "solution" did not seem useful to anyone else. I need to try to remember that ...
    Last edited by MikeFromMesa; 04-05-2018 at 07:30 PM.

  6. #6

    IWT's Avatar
    Member Since
    Jan 23, 2009
    Location
    Born in Scotland, Worked in Scotland then England, Now live in Wales
    Posts
    4,500
    Your Mac's Specs
    Late 2015 5K 27-inch Retina iMac, 4GHz i7, 32GB RAM, 1TB Flash Drive, macOS High Sierra 10.13.6
    Oh, operator error! I do that all the time. Quite expert at it as a matter of fact. Nice to know there others in my club!

    Good luck in the future.

    Ian
    Ian

  7. #7

    pm-r's Avatar
    Member Since
    Oct 16, 2010
    Location
    Brentwood Bay, BC, Canada
    Posts
    9,532
    Quote Originally Posted by IWT View Post
    Oh, operator error! I do that all the time. Quite expert at it as a matter of fact. Nice to know there others in my club!

    Ian

    And someone caught and recorded the action it seems…


    chestnut-bud.jpg




    - Patrick
    ======

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. DVD-R stuck in my Macbook Superdrive... Seriously stuck
    By framework84 in forum Apple Notebooks
    Replies: 2
    Last Post: 07-19-2010, 12:04 AM
  2. CD Stuck!
    By robotboy175 in forum Switcher Hangout
    Replies: 5
    Last Post: 01-27-2010, 07:30 PM
  3. someone PLEASE help i am stuck!
    By chunkitron3030 in forum Running Windows (or anything else) on your Mac
    Replies: 5
    Last Post: 01-09-2008, 12:01 PM
  4. Im Stuck please help
    By DRAGONGUY83 in forum Web Design and Hosting
    Replies: 4
    Last Post: 04-13-2007, 03:15 PM
  5. stuck CD
    By Jefe3223 in forum Apple Desktops
    Replies: 6
    Last Post: 04-04-2005, 04:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •