Re: Thoughts on autolayout

2016-04-21 Thread Stevo Brock
rent sets of constraints per size class. What I ended up with was a single layout that could look good on an iPhone 4 as well as an iPad, that even had different iPhone/iPad images with vastly different aspect ratios. -Stevo Brock Sunset Magicwerks, LLC www.sunsetmagicwerks.com 818-478-9758

Re: Need Help with Swift

2015-12-06 Thread Stevo Brock
duplicating as necessary. Thanks everyone for all your help. -Stevo Brock Sunset Magicwerks, LLC www.sunsetmagicwerks.com 818-478-9758 > On Dec 4, 2015, at 12:12 AM, Roland King wrote: > > >> On 4 Dec 2015, at 16:07, Stevo Brock wrote: >> >> This seems to do

Re: Need Help with Swift

2015-12-04 Thread Stevo Brock
. -Stevo Brock Owner Sunset Magicwerks, LLC www.sunsetmagicwerks.com @SunsetMagicwrks 818-478-9758 > On Dec 3, 2015, at 11:45 PM, Roland King wrote: > > >> On 4 Dec 2015, at 15:42, Stevo Brock > <mailto:devli...@sunsetmagicwerks.com>> wrote: >> >>

Re: Need Help with Swift

2015-12-04 Thread Stevo Brock
I think the trick with all these ideas is that IB will just remove the <…> when it good and well pleases and then you’re back to square one. -Stevo Brock Owner Sunset Magicwerks, LLC www.sunsetmagicwerks.com @SunsetMagicwrks 818-478-9758 > On Dec 3, 2015, at 11:44 PM, Quinc

Re: Need Help with Swift

2015-12-03 Thread Stevo Brock
_TtC11Media_Tools45IB_MediaItemViewController_PhotoMediaItemView in Interface Builder file. So strange… -Stevo Brock Owner Sunset Magicwerks, LLC www.sunsetmagicwerks.com @SunsetMagicwrks 818-478-9758 > On Dec 3, 2015, at 11:30 PM, Roland King wrote: > > >> On 4 Dec 2015, at 15:24, Stevo Brock w

Re: Need Help with Swift

2015-12-03 Thread Stevo Brock
Hi Roland, I think you’re right. The trick is - what do I put in the Storyboard such that it sticks (and IB doesn’t just change it back) and resolves at runtime? -Stevo Brock Owner Sunset Magicwerks, LLC www.sunsetmagicwerks.com @SunsetMagicwrks 818-478-9758 > On Dec 3, 2015, at 11:17

Re: Need Help with Swift

2015-12-03 Thread Stevo Brock
Hi Quincey, The Module field is empty. The MediaItemViewController was loading fine until I decided to add the protocol and all the subsequent decoration.. -Stevo Brock Owner Sunset Magicwerks, LLC www.sunsetmagicwerks.com @SunsetMagicwrks 818-478-9758 > On Dec 3, 2015, at 10:53

Need Help with Swift

2015-12-03 Thread Stevo Brock
troller' (0x10d1dfd60) to 'Media_Tools.MediaItemViewController' (0x1193fc038). -Stevo Brock Owner Sunset Magicwerks, LLC www.sunsetmagicwerks.com @SunsetMagicwrks 818-478-9758 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Hide UINavigationBar and keep UIPageController content static

2015-10-27 Thread Stevo Brock
helps, and I can now go back to drawing the content under the top bars and the content stays put while the bar animates up and down. Thanks again guys for your expert insight. -Stevo Brock Owner Sunset Magicwerks, LLC www.sunsetmagicwerks.com @SunsetMagicwrks 818-478-9758 > On Oct 25, 2

Hide UINavigationBar and keep UIPageController content static

2015-10-20 Thread Stevo Brock
with constraints, where the rest of the application is fully using auto-layout, but this screen is not using auto-layout at all, but I’m currently at a loss as to what would need to go where. Any help is much appreciate! -Stevo Brock Owner Sunset Magicwerks, LLC www.sunsetmagicwerks.com

Hide UINavigationBar and keep UIPageController content static

2015-10-16 Thread Stevo Brock
with constraints, where the rest of the application is fully using auto-layout, but this screen is not using auto-layout at all, but I’m currently at a loss as to what would need to go where. Any help is much appreciate! -Stevo Brock Owner Sunset Magicwerks, LLC www.sunsetmagicwerks.com

UIActivityViewController tinting

2014-05-28 Thread Stevo Brock
global bar background tint color for the 2 bars at the top. -The global tint color for the "Cancel" in the upper right But the "To:" text and (+) button are not using the tint color. Any idea how to have the "To:" text and (+) button use a tint colo

Re: Disabling screen capture

2014-02-20 Thread Stevo Brock
ill look beyond the immediate question and give > advice on the big picture. Some things just aren't worth doing. > > —Jens I don't know if you have this in place or not, but what about embedding some identifying information i

Re: Classes incompatible with weak references

2012-08-15 Thread Stevo Brock
Ahh the Atari ST… Now those are fond memories indeed… -Stevo Brock Sunset Magicwerks, LLC www.sunsetmagicwerks.com 818-609-0258 On Aug 14, 2012, at 12:09 AM, Vincent Habchi wrote: > Le 13 août 2012, à 23:47, Mike Abdullah scripsit: > >> An idea I've vaguely wonder

Re: Not getting all the data over the cell network

2012-08-10 Thread Stevo Brock
T cell network here. Unknown at another test location, but checking. -Stevo Brock Sunset Magicwerks, LLC www.sunsetmagicwerks.com 818-609-0258 On Aug 9, 2012, at 11:37 PM, Jens Alfke wrote: > > On Aug 8, 2012, at 12:19 PM, Stevo Brock > wrote: > >> What we see is tha

Not getting all the data over the cell network

2012-08-09 Thread Stevo Brock
ally (25% of the time?) the app loads all 87187 bytes, but the rest of the time, the app loads less data and no error or any other condition is ever returned. Does anyone have any idea what could be going wrong and perhaps what is the recommended approach to consistently and correctly loading

Re: NSOperationQueue: -waitUntilAllOperationsAreFinished and -setSuspended:

2011-10-01 Thread Stevo Brock
What about removing replyQueue altogether, have the background operation add it's result processing back into backgroundQueue and just wait on backgroundQueue to finish? -Stevo On Oct 1, 2011, at 3:44 PM, Quincey Morris wrote: > On Oct 1, 2011, at 15:06 , Kyle Sluder wrote: > >> NSOperationQ

Re: Drawing Chinese text to PDF

2011-08-11 Thread Stevo Brock
Hi David, Thanks so much for the bump in the right direction. We're now using NSGraphicsContext + NSString drawAtPoint for a quick and simple solution and it seems to be working great. -Stevo On Aug 11, 2011, at 11:04 AM, David Duncan wrote: > On Aug 11, 2011, at 10:57 AM, Ste

Drawing Chinese text to PDF

2011-08-11 Thread Stevo Brock
is obviously not making it to the PDF through this mechanism. What is the recommended approach for taking an NSString* of text and drawing it to a CGContextRef where the text may contain characters of any language? -Stevo Brock Head of Development Monkey Tools, LLC www.

Re: Unique strings array

2011-03-11 Thread Stevo Brock
Unless I'm missing something, if you have aWord1 = @"the" and aWord2 = @"the", they will both get added to the array/set. You can also use an NSMutableDictionary - just for (NSString* word in wordsArray) [dict setObject:anything forKey:word]; NSArray*uniqueWords = [dict allKeys]

Re: Getting nextKeyView to work

2010-12-09 Thread Stevo Brock
OK. Nevermind. You have to set the InitialFirstResponder of the TabView Item to get it to go... -Stevo On Dec 9, 2010, at 7:25 PM, Stevo Brock wrote: > Hi All, > > I'm having trouble getting things set up so that I can tab between my > NSTextViews properly. I have a

Getting nextKeyView to work

2010-12-09 Thread Stevo Brock
Hi All, I'm having trouble getting things set up so that I can tab between my NSTextViews properly. I have a window that has a TabView as the only top-level view. When I put 3 TextViews in the first tab, I have not yet been able to get their nextKeyView to work. I've looked online about maki

Re: CGContextSelectFont spinlock

2010-09-16 Thread Stevo Brock
Great suggestion. Here's the full list of backtraces from the iPad (3.2.2)... Spin lock is in Thread 1 at the end... -Stevo Thread 11 (thread 14851): #0 0x33b11968 in select$DARWIN_EXTSN () #1 0x31528d82 in __CFSocketManager () #2 0x33b6678c in _pthread_start () #3 0x33b5c078 in thread_st

Re: CGContextSelectFont spinlock

2010-09-16 Thread Stevo Brock
My original solution is to call: [UIFont familyNames]; in the applicationDidFinishLaunching method to load the font database to avoid the deadlock. -Stevo On Sep 16, 2010, at 3:26 PM, A.M. wrote: > > On Sep 16, 2010, at 5:54 PM, Stevo Brock wrote: > >> G

Re: CGContextSelectFont spinlock

2010-09-15 Thread Stevo Brock
() Thread 1 (process 98336): #0 0x028f in __spin_lock () #1 0x in ?? () -Stevo On Sep 15, 2010, at 5:56 PM, Kyle Sluder wrote: > On Wed, Sep 15, 2010 at 5:53 PM, Stevo Brock wrote: >> Nothing related at all going on. > > It still might be useful to get a backt

Re: CGContextSelectFont spinlock

2010-09-15 Thread Stevo Brock
Nothing related at all going on. -Stevo On Sep 15, 2010, at 5:30 PM, Wim Lewis wrote: > > On Sep 15, 2010, at 5:22 PM, Stevo Brock wrote: >> And also unfortunately, when I click Pause in the Debugger, the stack trace >> I gave is all that is shown. If there is a way to g

Re: CGContextSelectFont spinlock

2010-09-15 Thread Stevo Brock
d using the postscript name to see if the issue goes away. > > Aki > > On 15.9.2010, at 16:44, Stevo Brock wrote: > >> Hi Vince, >> >> The details of the parameters to the function aren't important. The >> specific example I gave has been reduced

Re: CGContextSelectFont spinlock

2010-09-15 Thread Stevo Brock
some other undocumented something results in a spin lock. -Stevo On Sep 15, 2010, at 4:33 PM, Vince DeMarco wrote: > > On Sep 15, 2010, at 4:11 PM, Stevo Brock wrote: > >> Apparently the "font system" was not initialized before this call. Putting >> a "[

Re: CGContextSelectFont spinlock

2010-09-15 Thread Stevo Brock
Apparently the "font system" was not initialized before this call. Putting a "[UIFont familyNames]" somewhere previous causes things to roll just fine. I should mention that this is an OpenGL based app with minimal other system UI. -Stevo Brock Head of Developmen

CGContextSelectFont spinlock

2010-09-15 Thread Stevo Brock
); Depending on where I put this code, sometimes it runs through just fine and sometimes it spinlocks. The stack trace is just: 0: __spin_lock 1: ?? Where is it legal to call this function and why would it spin lock elsewhere? Help! -Stevo Brock Head of Development Monkey Tools, L

Re: Tracking multiple NSURLConnections

2010-06-29 Thread Stevo Brock
You could also subclass NSURLConnection and add any additional data to your subclass that you can easily access in the callbacks. On Jun 29, 2010, at 12:11 PM, Dave DeLong wrote: > If you're spawning dozens of connections, you may want to consider giving > each one a separate delegate object an