Re: Staggering new windows

2016-03-08 Thread Daryle Walker
On Mar 3, 2016, at 10:56 PM, Seth Willits wrote: > >> On Mar 3, 2016, at 2:46 PM, Daryle Walker wrote: >> >> This new Xcode project (with storyboards) makes new windows at the same >> coordinates, on top of each other. Just the ever increasing shadow gives >> that behavior away. Is there a wa

Re: Staggering new windows

2016-03-08 Thread dangerwillrobinsondanger
> On Mar 8, 2016, at 6:36 PM, Daryle Walker wrote: > > On some random Mac programming page, I saw code explicitly setting cascading > to TRUE. I looked at that and wondered if I can do better. Since the setting > looks like a property, I added “shouldCascadeWindows” to the User-Defined > Runt

Re: State Restoration thinks all my windows closes prior to quit

2016-03-08 Thread Daryle Walker
On Mar 7, 2016, at 3:40 PM, Quincey Morris wrote: > > On Mar 5, 2016, at 01:36 , Daryle Walker > wrote: >> >> The “applicationOpenUntitledFile:” and “newDocument:” methods call this >> method. > > On Mar 7, 2016, at 12:30 , Daryle Walker > wro

UITableView: combining row moves with insert/delete/reload in animation

2016-03-08 Thread Jens Alfke
I’m animating a UITableView in response to its backing data changing. I’ve gotten it working with row insertion, deletion and reloads, but now I’m trying to add row movement and it seems like I’ve blown the little view’s mind. Does anyone have experience at combining -moveRowAtIndexPath: with th

Re: UITableView: combining row moves with insert/delete/reload in animation

2016-03-08 Thread Luke Hiesterman
If you’re getting asked to create a row at index 3 from that code snippet, then that looks like a UIKit bug. I’d advise filing it at bugreport.apple.com including a sample app showing that behavior. Luke > On Mar 8, 2016, at 11:26 AM, Jens Alfke wrote: > > I’m animating a UITableView in respo

Re: Returning a string value from a c function to a Objective-C class method. Is there an approved approach?

2016-03-08 Thread Alex Zavatone
I just discovered that using KVO to get this returned value that is stored as a copied property within the class that is C & Obj-C is a really bad idea. When I access the data through KVO from the VC that created the call to instantiate the lib that returns the C to Obj-C value, it's no problem,

Re: Returning a string value from a c function to a Objective-C class method. Is there an approved approach?

2016-03-08 Thread Jonathan Mitchell
Alex > On 8 Mar 2016, at 20:59, Alex Zavatone wrote: > > I'm browsing the Dubrovnik classes now to see the it handles returning the > data now and am thinking of using another Obj-C object to register itself to > have the data I care about sent to it. KVO is very particular about the occurren

Re: UITableView: combining row moves with insert/delete/reload in animation

2016-03-08 Thread Jens Alfke
> On Mar 8, 2016, at 11:58 AM, Luke Hiesterman wrote: > > If you’re getting asked to create a row at index 3 from that code snippet, > then that looks like a UIKit bug. I’d advise filing it at bugreport.apple.com > including a sample app showing that behavior. Wi

Re: UITableView: combining row moves with insert/delete/reload in animation

2016-03-08 Thread Luke Hiesterman
Great. That sounds like the appropriate work-around. Luke On Mar 8, 2016, at 1:33 PM, Jens Alfke mailto:j...@mooseyard.com>> wrote: I was able to work around the problem by moving the reloadRows call to after -endUpdates. Of course I had to modify the row numbers to the post-insert/delete/mov

Re: Returning a string value from a c function to a Objective-C class method. Is there an approved approach?

2016-03-08 Thread Alex Zavatone
Super lovely code Jonathan. My feeble brain ended up seeing if a delegate pattern would resolve this issue and it did. The trick I am trying to achieve is simply "get the data out of the C class, the C/Obj-C glue and dump it into a more friendly structure to expose the data. Having the data co

NSSplitViewController and loading of NSSplitViewItems

2016-03-08 Thread Dragan Milić
As it becomes common for my recent posts, since the issue is not easy to explain in words, I’ve attached a very simple project demonstrating it. It’s ongoing troubles with NSSplitViews, this time specifically with NSSplitViewController. A sentence from documentation says: “A split view controll

Re: NSSplitViewController and loading of NSSplitViewItems

2016-03-08 Thread Dragan Milić
On sre 09.03.2016., at 01.49, Dragan Milić wrote: > As it becomes common for my recent posts, since the issue is not easy to > explain in words, I’ve attached a very simple project demonstrating it. > > It’s ongoing troubles with NSSplitViews, this time specifically with > NSSplitViewController

UICollectionViewCells flashing on reload

2016-03-08 Thread Rick Mann
I have a UICollectionView with cells that have an image and some UILabels. The user can sort the list. When the sort button is tapped, I sort the array, then call self.collectionView?.reloadData(). Everything reloads fine, but I see some of the text labels flash the content of the previous data

Enable to edit rounded corners / borders in Storyboard

2016-03-08 Thread 森田秀幸
Hello, I created a Interface Builder / Storyboard extension library. I think that this feature is very useful. https://github.com/recruit-mtl/EXTView/ Don't you think good that it become the standard feature? --- MORITA Hideyuki ___ Cocoa-dev mailing

Re: UICollectionViewCells flashing on reload

2016-03-08 Thread Rick Mann
Augh, nevermind. Buried deep inside there was a dispatch_async() call. > On Mar 8, 2016, at 17:31 , Rick Mann wrote: > > I have a UICollectionView with cells that have an image and some UILabels. > > The user can sort the list. When the sort button is tapped, I sort the array, > then call self

Installing MDM profile via Safari View Controller

2016-03-08 Thread Arjun SM
Hi all, I have a requirement to install an MDM profile with-in the App for which I was trying to use Safari View Controller. But in the POC i tried, Safari VC fails to installs the Profiles. No error logs are printed on console as well to understand what failed. The same works perfectly fine when