I program one app for helping Spip users to do their loop for their "Squelette", and i would put a view with tab like Safari.
How do that, in a document-Based application. I have my window whith an NSTextView where we coding and a i would add a preview in a tab in the same window.
Thank's.
Try PSMTabBarControl.
Related
Does anybody know, how to change the appearance of the title bar and/or toolbar of a simple & small one-window cocoa macOS application without accessing the Xcode or installing third party applications? It's for a screen recording video project, I want to do.
I know, that there are possibilities within the applications info.plist (for example changing the app title inside the top macOS Menu Bar) but I would like to be able to change the apps window title itself and/or colors and/or fonts inside the window title bar or toolbar if possible.
Opening the app in another container window or via terminal or Applescript and adding custom parameters or even an overlay in the right position to change the styling would be okay if this is possible?
Can somebody point me in the right direction?
Thank you very much!
in short: Nibs
Nib File Viewer works until Xcode 10
saving, recompiling if possible
good luck
I'm trying to build an app with two or more viewControllers contained in a single window.
Think of System Preferences, the app store, etc: you click on something, and segue to a view in the same window. You also have a back button
Problem is, I have no idea how to achieve this.
I've tried looking for navigation controllers, but those don't exist for OS X apps.
Neither has changing the type of segue.
I've thought of a workaround: superimposing views in now ViewController then setting them as Hidden or Visible, but that doesn't seem very clean...
I have an Enyo webOS application I am developing for phones. There are several text inputs on the main page, with a button underneath them--however, the button is not viewable below the textboxes. However, there appears to be a scroll lock by default on the main scene--so I cannot scroll down and see the rest of the content.
How can I enable my app to allow for scrolling within a VFlexBox view?
Thanks!
Ah, I found it--I need to change from enyo.VFlexBox to enyo.Scroller for the view. Works fine!
I am using a WebView to display some incoming content to users in a single-window application.
There is a single window controller in the app delegate that I use to send -showWindow: on -applicationDidFinishLaunching: and -applicationShouldHandleReopen:hasVisibleWindows: notifications.
This works well until I close the window and click the dock icon to reopen the window.
At this point the web view is blank and no longer responds to mouse input, such as the scroll wheel. The scroll view still indicates the apparent size of the document.
The window is not released on close, according to IB.
Am I missing something with regards to keeping that content around?
According to the documentation WebView is closed with window. However, we can subclass WebView and override shouldCloseWithWindow and return NO.
- (BOOL)shouldCloseWithWindow
My idea:
I select a string/text and drop it on my app's icon.
My app comes up and does fancy things with the string.
Now my question is how I can do it that I can drop it on the app, how I can notify my app and how my app gets the string.
Any suggestions?
I guess that you have already looked at official Drag and Drop Programming Topics for Cocoa .
There is a blog article dealing exactly with your issue: Cocoa Drag and Drop text into the Dock Icon.