Code2care : TechZone Apps & Tutorials

How to make NSWindow fixed sized for Cocoa Application

If you want to make a application for the Mac with a fixed window size. Here is how you can make NSWindow having fixed width and height

Select the Window > go to Utility section > "Show Attribute Inspector" and Uncheck Resize checkbox.
Fixed-size-window-cocoa
Now when you Build and Run the application, window will have a fixed size as defined.






Popular tags
android
x 175
eclipse
x 29
notepadplusplus
x 20
macosx
x 14
sharepoint
x 14
html
x 14
mac
x 13
androidstudio
x 11




1000+ C Programs     PHP Tutorial     JSON Tutorial     Swift Tutorial     India Pinocdes     About Us     Privacy Policy


Code2care © 2012-17