If I stop the program from Xcode the window uses the last size I had after resizing the window. If I quit the program while it is running, it resets to the size specified in the Width and Height values for the View which contains the collection view. I'm using a nib for the collection view. I don't understand why this is happening and I don't know how to get the current view size for the collection view. It always gives me the IB sizes for the enclosing view no matter what size the actual window is.
NSCollectionView Window Changes Window Size Depending On Whether You Quit Program Or Stop from Xcode
26 Views Asked by JamesH At
1
There are 1 best solutions below
Related Questions in XCODE4
- Is there a way to change XCode 14 filelist's icons color scheme?
- Easy question on how to get rid of the Xcode navigation bar in the Main.storyboard?
- App showing white space at bottom of screen for iOS 13+ iPhones but it is fine with iOS 12 iPhones
- Duplicate objects in core data
- Two tableviews in one view controller and height of tableviews should be equal to its content
- self.performSegue cannot find storyboard-segue-ID even though it has been named
- NSCollectionView Window Changes Window Size Depending On Whether You Quit Program Or Stop from Xcode
- Trying to make an object spin fast before performing a segue
- Trying to Save My Timer to UserDefaults When The App Gets "Killed"
- How to use trudepth IphoneX front camera to detect objects?
- Resizing a UIImage View on Swift 4
- Xcode 4 no sound
- Overwrite data in fire base.
- Moving a View up or Down when a Keyboard is Shown
- Xcode 4 NSURL Error
Related Questions in NSCOLLECTIONVIEW
- How to fix this 'Prototype Segue' related with my NSCollectionView (Xcode 7.0 beta)
- NSCollection view background color filling entirely
- Data binding / NSArrayController: What is the job of the Object Controller
- How to update NSCollectionViewItem when data model change?
- How to use NSCollectionViewItem without subclassing it?
- How to give Space between rows and columns of NSCollectionView?
- Click on NSCollectionView returns always the same object
- How does NSCollectionView draw text without item?
- NSCollectionView won't accept key events
- Move selection sequentially in NSCollectionView
- Dynamic Size for NSCollectionViewItem
- NSCollectionViewItem's custom view flickers onReloadData
- NSCollectionView sizeForItemAt always returning exception when trying to reference an item in its collection
- cocoabinding a nstableview nested in nscollectionviewitem
- NSView's context NSMenu is never shown even though all the right methods are being called
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I figured it out, I think. isIntialController in the collection view scene in IB needs to be checked for the window size to work.