Re: Justification of collection cells in sections

2016-08-02 Thread Peter Tomaselli
I’ve been in the same situation too (wanting a “left-justified” flow layout) and the only way I am aware of to tackle it is to subclass UICollectionViewFlowLayout and tweak the frames yourself. Luckily this is not nearly as complicated as handling the whole layout yourself! Peter On Aug 2,

Re: Justification of collection cells in sections

2016-08-02 Thread Doug Hill
Raglan, Thanks for the response. I was hoping to allow the Flow Layout to handle this rather than me handling the layout. Given how the layout works for multiple items in a section, I would presume there is some way to make this work the same for a single item in a section. Am I wrong? Doug

Re: Justification of collection cells in sections

2016-08-02 Thread Raglan T. Tiger
> > Any ideas on how to make the single item section flow from left to right > rather than centered? Accessing the Layout Attributes

Justification of collection cells in sections

2016-08-02 Thread Doug Hill
I'm trying to display a list of items in a UICollectionView. I have multiple sections for these items and a fixed cell width but dynamic height. I'm using the standard flow layout. The items are layed out in three columns by setting the estimated item size and auto-layout constraints. My

RE:Sprite Kit app won’t operate in foreground

2016-08-02 Thread Kirk
I also have such an app. No SpriteKit in it, so there's one variable eliminated. It also is magically rejuvenated by running it from Xcode. No log messages on the phone. Kirk Kerekes (iPhone) > On Aug 2, 2016, at 2:00 PM, cocoa-dev-requ...@lists.apple.com wrote: > > Subject: Sprite

Re: Sprite Kit app won’t operate in foreground

2016-08-02 Thread Jeff Szuhay
Can your main window become key? In other words, accept inputs? > On Aug 2, 2016, at 5:18 AM, Charles Jenkins wrote: > > A few weeks ago I wrote about a demo app that seemed to expire—it would > work perfectly for a few weeks and then crash whenever opened. > > Carl Hoefs

Sprite Kit app won’t operate in foreground

2016-08-02 Thread Charles Jenkins
A few weeks ago I wrote about a demo app that seemed to expire—it would work perfectly for a few weeks and then crash whenever opened. Carl Hoefs advised me how to look for crash logs on the device. I did, and was surprised to find there is no crash log for my app. It’s not actually crashing! If

Re: Method name starts with "set"

2016-08-02 Thread Pascal Bourguignon
> Le 2 août 2016 à 07:11, Trygve Inda a écrit : > > I have a class where I would like to have a method name like: > > -(void)setMaximumOperations:(NSInteger)operations > { > [[self operationQueue] setMaxConcurrentOperationCount:operations]; > > ... Do other stuff