Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 14, 2013, 09:48 AM   #1
zgmg
macrumors newbie
 
Join Date: Mar 2013
NSBorderlessWindowMask from Scratch

How would I create an app with no title bar?

Could someone/s help me create, from scratch, a Mac App that has no title bar? Thank you.
zgmg is offline   0 Reply With Quote
Old Apr 14, 2013, 05:08 PM   #2
xStep
macrumors 68000
 
Join Date: Jan 2003
Location: Less lost in L.A.
Haven't done that before, but look at the NSWindow documentation for the initWithContentRect methods and the style masks for them.
__________________
My App: CameraTime - Time lapse photography for novice and advanced users.
xStep is offline   0 Reply With Quote
Old Apr 15, 2013, 11:07 AM   #3
bumper314
macrumors member
 
Join Date: Jun 2009
You can set the Presentation mode in the info.plist, or you can make an NSView (not NSWindow) take over the screen.
bumper314 is offline   0 Reply With Quote
Old Apr 15, 2013, 11:15 AM   #4
Peter Maurer
macrumors member
 
Join Date: Oct 2008
I'd suggest starting with Apple's borderless window sample project, RoundTransparentWindow. It's easy to understand if you know the basics, and it has a lot of helpful comments.
Peter Maurer is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How to hide the scratch? thepingz MacBook Pro 10 Apr 24, 2014 06:42 AM
Scratch disk? Yes or No? razer Mac Pro 13 Feb 28, 2014 05:07 PM
Is this scratch possibly a manufacturing error? (Disclaimer: very tiny scratch) nazopo MacBook Air 16 Jul 25, 2013 07:17 PM
iPhone: start all over from scratch King Bowser Jailbreaks and iOS Hacks 6 May 28, 2013 04:04 PM
Scratch on unibody max-lepro MacBook Pro 8 Jun 13, 2012 05:46 AM

Forum Jump

All times are GMT -5. The time now is 03:43 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC