Re: How to capture a video stream
On 11 Dec 2012, at 05:33, gary.gard...@brokensoftware.com wrote: I need further assistance. I select the capture device, but after I execute run, I get the following: Invalid memory access of location 0x0 rip=0x7fff933e3598 942 Segmentation fault: 11 I am following the AVVideoWall example code. However, I am not outputting to the desktop and layers. Can someone point me in the right direction on solving this issue? The stack trace would certainly help. Can you post it? Jonathan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: What rect does NSTextFieldCell use to draw its contents?
On 10 Dec 2012, at 19:13, Kyle Sluder k...@ksluder.com wrote: It's my understanding that the intent of NSStringDrawing is to provide the exact same drawing as NSTextFieldCell. Is that stated anywhere? But the following code produces text that is offset by 2pt to the left from a standard NSTextFieldCell: @implementation MyTextFieldCell /* : NSTextFieldCell */ - (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView { NSStringDrawingOptions options = 0; if (self.truncatesLastVisibleLine) options |= NSStringDrawingTruncatesLastVisibleLine; if (!self.usesSingleLineMode) options |= NSStringDrawingUsesLineFragmentOrigin; [self.attributedString drawWithRect:[self titleRectForBounds:cellFrame] options:options]; } @end I can't tell if I'm using the wrong rect or failing to pass the right arguments to -drawWithRect:options:. Anyone have any clues? Have you confirmed that the issue occurs with an NSString instance? In the past I have experienced layout differences when calling either drawAtPoint: or drawWithRect:options. I would experiment with calling drawAtPoint: and drawInRect: The Text Layout Programming Guide says: String Drawing and Typesetter Behaviors There are differences among Cocoa’s three ways to draw text with regard to typesetter behavior, which is described in “Typesetter Behaviors and Versions.” By default, the string-drawing convenience methods and NSCell objects supplied by the Application Kit useNSTypesetterBehavior_10_2_WithCompatibility, whereas NSLayoutManager objects use NSTypesetterLatestBehavior. It is important to use the same typesetter behavior when both measuring and rendering text, to avoid differences in paragraph spacing, line spacing, and head indent handling. In cases where you must measure text one way and render it another, set the typesetter behavior to match using thesetTypesetterBehavior: method defined by NSLayoutManager and NSTypesetter. For example, if you need to use anNSLayoutManager object to measure text and convenience string drawing methods to draw it, change the layout manager’s typesetter behavior to NSTypesetterBehavior_10_2_WithCompatibility. Jonathan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
LSOpenURLsWithRole failure
Hi, one of the customers reported that on his 10.8.2 our installer failed to even run and in the terminal there was this message: LSOpenURLsWithRole() failed with error -10810 for the file /Users/visa/Downloads/mxxx_7_05_setupmac/mxxx_7_05_setupmac.app. I have checked that there is no call to the god damn LSOpenURLsWithRole, whatever it is. Any ideas what's wrong? Cheers! Vojtech ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
sheet is divided horizontally in two shades
Hi, The example sheet's grab is attached here. In this one the sheet seems divided in half, but in smaller sheets with less height, the lighter shaded bottom portion is smaller. Occurs in Mac OS X Lion and Mountain Lion. On Leopard and Snow Leopard it doesn't occur. The beginSheet: modalForWindow: …… …… method is called from the main thread. Any ideas would really help. Thanks, Nick ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: LSOpenURLsWithRole failure
On Dec 11, 2012, at 11:12 AM, Vojtěch Meluzín meldaproduct...@gmail.com wrote: Hi, one of the customers reported that on his 10.8.2 our installer failed to even run and in the terminal there was this message: LSOpenURLsWithRole() failed with error -10810 for the file /Users/visa/Downloads/mxxx_7_05_setupmac/mxxx_7_05_setupmac.app. I have checked that there is no call to the god damn LSOpenURLsWithRole, whatever it is. Any ideas what's wrong? Is mxxx_7_05_setupmac.app part of your installation process? What does it do? Charles ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: split views, best practices for 10.8?
On 12/8/12 11:43 PM, Kyle Sluder k...@ksluder.com wrote: On Sat, Dec 8, 2012, at 04:19 PM, Chuck Soper wrote: On 11/27/12 6:33 PM, Chuck Soper chu...@veladg.com wrote: On 11/27/12 2:11 PM, Peter Ammon pam...@apple.com wrote: Hi Chuck, Autolayout works well with NSSplitView in 10.8. Perfect. Thanks for that confirmation. Does that mean that in 10.8 (and not 10.7) that it's fine to call setTranslatesAutoresizingMaskIntoConstraints:NO for subviews of NSSplitView? It is never(*) correct to call -setTranslatesAutoresizingMaskIntoConstraints: on a view for which you do not control the superview's implementation. Never? The documentation for setTranslatesAutoresizingMaskIntoConstraints: says, You should call this method yourself for programmatically created views. This means that programmatically created views cannot be added to NSSplitView, NSTableCellView and other common container views. The outcome of this is that I need to avoid NSSplitView, NSTableCellView, etc. so that I can load (and reload) a custom view from a nib file. Instead, I'll need to implement my own split views using constraints and not rely on NSSplitView. I must call setTranslatesAutoresizingMaskIntoConstraints:NO for my programmatically created views. On 10.8, NSSplitView should be calling -setTranslatesAutoresizingMaskIntoConstraints: already. And, that NSSplitView won't add constraints that conflict with my subviews? This should be the case. NSTableView does add constraints that conflict with my subviews. Is NSSplitView different? And did that difference happen in 10.8? The Cocoa Auto Layout Guide says not to call setTranslatesAutoresizingMaskIntoConstraints:NO for subviews of NSSplitView, but I think that's for 10.7 and the statement is no longer true for 10.8. Is that correct? See above. Being able to call setTranslatesAutoresizingMaskIntoConstraints:NO for subviews of NSSplitView would allow me to add programmatically created views to an NSSplitView instance. I think that NSSplitView in 10.8 works better with subviews with constraints (than 10.7), but I haven't been able to confirm this from the documentation. Chuck ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: split views, best practices for 10.8?
On Tue, Dec 11, 2012, at 10:34 AM, Chuck Soper wrote: Never? The documentation for setTranslatesAutoresizingMaskIntoConstraints: says, You should call this method yourself for programmatically created views. This means that programmatically created views cannot be added to NSSplitView, NSTableCellView and other common container views. Please read the Cocoa Autolayout Release Notes http://developer.apple.com/library/mac/#releasenotes/UserExperience/RNAutomaticLayout/_index.html%23//apple_ref/doc/uid/TP40010631: The principle circumstance in which you should not call setTranslatesAutoresizingMaskIntoConstraints: is when you are not the person who specifies a view’s relation to its container. For example, an NSTableRowView instance is placed by NSTableView. It might do this by allowing the autoresizing mask to be translated into constraints, or it might not. This is a private implementation detail. Other views on which you should not call setTranslatesAutoresizingMaskIntoConstraints: include an NSTableCellView, a subview of NSSplitView, an NSTabViewItem’s view, or the content view of an NSPopover, NSWindow, or NSBox. The outcome of this is that I need to avoid NSSplitView, NSTableCellView, etc. so that I can load (and reload) a custom view from a nib file. Instead, I'll need to implement my own split views using constraints and not rely on NSSplitView. I must call setTranslatesAutoresizingMaskIntoConstraints:NO for my programmatically created views. You are misinterpreting the documentation. It is NOT a requirement to call -setTranslatesAutoresizingMaskIntoConstraints: on programatically-created views. The documentation is simply calling out a case when you would call this method from code because IB didn't already call it for you when you added the view to a view hierarchy in an auto-layout-aware nib. On 10.8, NSSplitView should be calling -setTranslatesAutoresizingMaskIntoConstraints: already. And, that NSSplitView won't add constraints that conflict with my subviews? This should be the case. NSTableView does add constraints that conflict with my subviews. Is NSSplitView different? And did that difference happen in 10.8? NSTableView always sets the frame of its row and cell views using the values returned by -frameOfCellAtColumn:row: and the like. If you add constraints that conflict with those values, you will have a conflict. You cannot use constraints to define the frame of a cell or row view in an NSTableView. You can use constraints to position the contents of that view, however. I do it all the time. The Cocoa Auto Layout Guide says not to call setTranslatesAutoresizingMaskIntoConstraints:NO for subviews of NSSplitView, but I think that's for 10.7 and the statement is no longer true for 10.8. Is that correct? See above. Being able to call setTranslatesAutoresizingMaskIntoConstraints:NO for subviews of NSSplitView would allow me to add programmatically created views to an NSSplitView instance. I think that NSSplitView in 10.8 works better with subviews with constraints (than 10.7), but I haven't been able to confirm this from the documentation. As above, you are assuming you need to call -setTranslatesAutoresizingMaskIntoConstraints: where no such requirement exists. --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: sheet is divided horizontally in two shades
On Tue, Dec 11, 2012, at 09:30 AM, Nick Rogers wrote: Hi, The example sheet's grab is attached here. In this one the sheet seems divided in half, but in smaller sheets with less height, the lighter shaded bottom portion is smaller. There is no attachment here. Please upload your image somewhere and provide a link to it. --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: sheet is divided horizontally in two shades
On Dec 11, 2012, at 11:30 AM, Nick Rogers wrote: Hi, The example sheet's grab is attached here. In this one the sheet seems divided in half, but in smaller sheets with less height, the lighter shaded bottom portion is smaller. Occurs in Mac OS X Lion and Mountain Lion. On Leopard and Snow Leopard it doesn't occur. The beginSheet: modalForWindow: …… …… method is called from the main thread. Any ideas would really help. Thanks, Nick Hi Nick. I think I know what your issue is. However, your message didn't have an attachment. Perhaps the mailing lists don't allow attachments. Could you post the screenshot someone on the web? -Jeff ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: LSOpenURLsWithRole failure
Le 11 déc. 2012 à 18:12, Vojtěch Meluzín meldaproduct...@gmail.com a écrit : Hi, one of the customers reported that on his 10.8.2 our installer failed to even run and in the terminal there was this message: LSOpenURLsWithRole() failed with error -10810 for the file /Users/visa/Downloads/mxxx_7_05_setupmac/mxxx_7_05_setupmac.app. I have checked that there is no call to the god damn LSOpenURLsWithRole, whatever it is. Any ideas what's wrong? Unfortunately error -10810 means kLSUnknownErr (Unexpected internal error), so it does not give much information. You may have a look in the Console Utility, sometimes it contains more useful message (especially launchd error as it is responsible of launching an app when you double clic on it). Look for something like: com.apple.launchd.peruser.501[217]: ([0x0-0x732732].you.bundle.id[10908]) Job failed to exec(3) for weird reason: errno code It may happen when the executable file (Contents/MacOS/exec) in the bundle has wrong permission and is not executable. I sometime see this kind of error when an application archive is uncompress on a PC and then copied on the Mac, or when something goes wrong with the download. -- Jean-Daniel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: How to capture a video stream
On 11 Dec 2012, at 15:18, gary.gard...@brokensoftware.com wrote: Thread 29 Crashed:: Java: AWT-EventQueue-0 0 libsystem_c.dylib 0x7fff8df2aa50 memmove$VARIANT$sse42 + 136 1 com.apple.Foundation 0x7fff8e540715 -[NSConcreteData getBytes:] + 138 2 libJMMacController.dylib 0x000111733191 Java_JMMacController_getFrame + 273 3 ??? 0x000107b23eee 0 + 4424089326 Can you post method JMMacController_getFrame I see there is some of it to be found in http://pastebin.com/UpKB44yp. Post the class if it isn't too big. Jonathan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: split views, best practices for 10.8?
On Dec 8, 2012, at 4:19 PM, Chuck Soper chu...@veladg.com wrote: Hi Peter, On 11/27/12 6:33 PM, Chuck Soper chu...@veladg.com wrote: On 11/27/12 2:11 PM, Peter Ammon pam...@apple.com wrote: Hi Chuck, Autolayout works well with NSSplitView in 10.8. Perfect. Thanks for that confirmation. Does that mean that in 10.8 (and not 10.7) that it's fine to call setTranslatesAutoresizingMaskIntoConstraints:NO for subviews of NSSplitView? For controls that have traditionally positioned their subviews, like NSTableView, NSSplitView, NSTabView, you can think of them as owning the translatesAutoresizingMaskIntoConstraints properties of its subviews, and it will set it appropriately depending on whether the view uses autolayout or not. In 10.8, NSSplitView will set it to NO for its subviews if it is in the modern autolayout mode, because it positions its subviews using autolayout. If you set it to NO yourself, it's harmless in 10.8 but will cause problems in 10.7. Leaving it alone is fine. And, that NSSplitView won't add constraints that conflict with my subviews? It adds constraints that make sense for a split view. For example, in a two pane split view, NSSplitView adds constraints that align the first view's left edge is to the split view's left edge, the last view's right edge to the split view's right edge, and that make a gap in between the views. So if you tried to add constraints that would force one of the views outside of the split view, or that would change the order, then you'll get conflicts. This is a good thing, because the most likely reason you would add a constraint like that is by mistake. However, you can and should add constraints that complement and enhance NSSplitView's layout. For example, you could add a minimum or maximum width constraint on one of its subviews; then when the user drags a split or resizes the window, it won't make that view too big or too small. You can also align a button outside the split view to one of the views inside it. Plus/minus buttons often work this way. And don't overlook the power of adjusting priorities. If you wanted to prevent a split view from clipping a text field, say, you could just raise the text field's content compression resistance priority to above that of the split view's holding priority. You can do that directly in IB. By the way, if you're interested in what the constraints are, you can just log them out: NSLog(@%@, [splitView constraints]). Though of course these constraints are considered internal implementation details, so you should not depend on their existence, order, etc. The Cocoa Auto Layout Guide says not to call setTranslatesAutoresizingMaskIntoConstraints:NO for subviews of NSSplitView, but I think that's for 10.7 and the statement is no longer true for 10.8. Is that correct? It's harmless to call in 10.8, because as I said above NSSplitView will call it. I had been attempting to use constraints in a subview of NSTableCellView (and call setTranslatesAutoresizingMaskIntoConstraints:NO). I was getting lots of Unable to simultaneously satisfy constraints exceptions. NSTableView was adding NSAutoresizingMaskLayoutConstraint instances that were conflicting with my subviews. After I read the Adopting Auto Layout section in Cocoa Auto Layout Guide this makes sense. The reason I had not read the Adopting Auto Layout section was because I was writing a new app for 10.8 and thought the section was specifically for adopting existing code for auto layout. Ah. As you discovered, NSTableView positions its subviews using setFrame:, so it's best to not adjust translatesAutoresizingMaskIntoConstraints on subviews of NSTableView. Hope that helps! -Peter ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: LSOpenURLsWithRole failure
On Dec 11, 2012, at 11:12 AM, Vojtěch Meluzín wrote: one of the customers reported that on his 10.8.2 our installer failed to even run and in the terminal there was this message: LSOpenURLsWithRole() failed with error -10810 for the file /Users/visa/Downloads/mxxx_7_05_setupmac/mxxx_7_05_setupmac.app. I have checked that there is no call to the god damn LSOpenURLsWithRole, whatever it is. Any ideas what's wrong? My first guess is simply that their download was corrupted. You can have them check it with md5sum or the like. Or you can have them trash what they downloaded and download it again. Regards, Ken ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: How to capture a video stream
On 11 Dec 2012, at 15:18, gary.gard...@brokensoftware.com wrote: Thread 29 Crashed:: Java: AWT-EventQueue-0 0 libsystem_c.dylib0x7fff8df2aa50 memmove$VARIANT$sse42 + 136 1 com.apple.Foundation 0x7fff8e540715 -[NSConcreteData getBytes:] + 138 2 libJMMacController.dylib 0x000111733191 Java_JMMacController_getFrame + 273 3 ??? 0x000107b23eee 0 + 4424089326 Can you post method JMMacController_getFrame I see there is some of it to be found in http://pastebin.com/UpKB44yp. Post the class if it isn't too big. Jonathan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/gary.gardner%40brokensoftware.com This email sent to gary.gard...@brokensoftware.com The pastebin for the code is -- http://pastebin.com/vHN8Qwnr The other pastebin that you posted was the JNI side of things. If you want I can paste bin the all the code. Even my test class so that you can emulate the problem and show me exactly where I am going wrong. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: split views, best practices for 10.8?
On Tue, Dec 11, 2012, at 11:08 AM, Peter Ammon wrote: By the way, if you're interested in what the constraints are, you can just log them out: NSLog(@%@, [splitView constraints]). Though of course these constraints are considered internal implementation details, so you should not depend on their existence, order, etc. I've come to the conclusion that this approach is unsuitable when working with constraints. Because the constraints for an entire window are solved at once, and a conflict can occur between any two constraints in a window, it is incumbent on the framework author to publicly document the constraints they install. --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: sheet is divided horizontally in two shades
Hi, The image is at following link (in the album): http://www5.snapfish.com/snapfish/thumbnailshare/AlbumID=7802925026/a=13244939026_13244939026/otsc=SHR/otsi=SALBlink/COBRAND_NAME=snapfish/ And the app has GC required. Wishes, Nick On 12-Dec-2012, at 12:24 AM, Jeff Johnson publicpost...@lapcatsoftware.com wrote: On Dec 11, 2012, at 11:30 AM, Nick Rogers wrote: Hi, The example sheet's grab is attached here. In this one the sheet seems divided in half, but in smaller sheets with less height, the lighter shaded bottom portion is smaller. Occurs in Mac OS X Lion and Mountain Lion. On Leopard and Snow Leopard it doesn't occur. The beginSheet: modalForWindow: …… …… method is called from the main thread. Any ideas would really help. Thanks, Nick Hi Nick. I think I know what your issue is. However, your message didn't have an attachment. Perhaps the mailing lists don't allow attachments. Could you post the screenshot someone on the web? -Jeff ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: sheet is divided horizontally in two shades
oops! that requires a sign up here's the direct link: http://s13.postimage.org/ci00lrbsn/divided_sheet.jpg Best, Nick On 12-Dec-2012, at 2:20 AM, Nick Rogers roger...@mac.com wrote: Hi, The image is at following link (in the album): http://www5.snapfish.com/snapfish/thumbnailshare/AlbumID=7802925026/a=13244939026_13244939026/otsc=SHR/otsi=SALBlink/COBRAND_NAME=snapfish/ And the app has GC required. Wishes, Nick On 12-Dec-2012, at 12:24 AM, Jeff Johnson publicpost...@lapcatsoftware.com wrote: On Dec 11, 2012, at 11:30 AM, Nick Rogers wrote: Hi, The example sheet's grab is attached here. In this one the sheet seems divided in half, but in smaller sheets with less height, the lighter shaded bottom portion is smaller. Occurs in Mac OS X Lion and Mountain Lion. On Leopard and Snow Leopard it doesn't occur. The beginSheet: modalForWindow: …… …… method is called from the main thread. Any ideas would really help. Thanks, Nick Hi Nick. I think I know what your issue is. However, your message didn't have an attachment. Perhaps the mailing lists don't allow attachments. Could you post the screenshot someone on the web? -Jeff ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: sheet is divided horizontally in two shades
rdar://problem/11656928 Discolored stripe drawn at bottom of textured non-resizable windows Duplicate of rdar://problem/11716883 It turns out that this only affects windows with content border autosize. If you set the window content border to none, that should fix the problem. -Jeff On Dec 11, 2012, at 2:54 PM, Nick Rogers wrote: oops! that requires a sign up here's the direct link: http://s13.postimage.org/ci00lrbsn/divided_sheet.jpg Best, Nick On 12-Dec-2012, at 2:20 AM, Nick Rogers roger...@mac.com wrote: Hi, The image is at following link (in the album): http://www5.snapfish.com/snapfish/thumbnailshare/AlbumID=7802925026/a=13244939026_13244939026/otsc=SHR/otsi=SALBlink/COBRAND_NAME=snapfish/ And the app has GC required. Wishes, Nick On 12-Dec-2012, at 12:24 AM, Jeff Johnson publicpost...@lapcatsoftware.com wrote: On Dec 11, 2012, at 11:30 AM, Nick Rogers wrote: Hi, The example sheet's grab is attached here. In this one the sheet seems divided in half, but in smaller sheets with less height, the lighter shaded bottom portion is smaller. Occurs in Mac OS X Lion and Mountain Lion. On Leopard and Snow Leopard it doesn't occur. The beginSheet: modalForWindow: …… …… method is called from the main thread. Any ideas would really help. Thanks, Nick Hi Nick. I think I know what your issue is. However, your message didn't have an attachment. Perhaps the mailing lists don't allow attachments. Could you post the screenshot someone on the web? -Jeff ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: sheet is divided horizontally in two shades
Thanks for the valuable info. Thanks, Nick On 12-Dec-2012, at 2:39 AM, Jeff Johnson publicpost...@lapcatsoftware.com wrote: rdar://problem/11656928 Discolored stripe drawn at bottom of textured non-resizable windows Duplicate of rdar://problem/11716883 It turns out that this only affects windows with content border autosize. If you set the window content border to none, that should fix the problem. -Jeff On Dec 11, 2012, at 2:54 PM, Nick Rogers wrote: oops! that requires a sign up here's the direct link: http://s13.postimage.org/ci00lrbsn/divided_sheet.jpg Best, Nick On 12-Dec-2012, at 2:20 AM, Nick Rogers roger...@mac.com wrote: Hi, The image is at following link (in the album): http://www5.snapfish.com/snapfish/thumbnailshare/AlbumID=7802925026/a=13244939026_13244939026/otsc=SHR/otsi=SALBlink/COBRAND_NAME=snapfish/ And the app has GC required. Wishes, Nick On 12-Dec-2012, at 12:24 AM, Jeff Johnson publicpost...@lapcatsoftware.com wrote: On Dec 11, 2012, at 11:30 AM, Nick Rogers wrote: Hi, The example sheet's grab is attached here. In this one the sheet seems divided in half, but in smaller sheets with less height, the lighter shaded bottom portion is smaller. Occurs in Mac OS X Lion and Mountain Lion. On Leopard and Snow Leopard it doesn't occur. The beginSheet: modalForWindow: …… …… method is called from the main thread. Any ideas would really help. Thanks, Nick Hi Nick. I think I know what your issue is. However, your message didn't have an attachment. Perhaps the mailing lists don't allow attachments. Could you post the screenshot someone on the web? -Jeff ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Session 216 - Advanced Appearance Customization on iOS
Hi everybody, Does someone know the idea behind the THEME of the Session 216 video of the WWDC 2012? In this video is shown how create a theme using a @protocol. This is the way used in Find my Friends. Especially I didn't understand how works this class/protocol. Mainly we have first to create a protocol with all the information needed (like the main color, the main font ecc...) and than??? The developer in the video talks about different implementation (leather, metal ) but I didn't understand how is it possible. Than, later in the video, is shown a second @protocol, called FMFLeather... What should be declared in it?? :( Can someone please give me an overview of the idea?? An overview a little bit longer than the one explained in the video :( Thanks to all in advance! :) ___ Ciani Andrea www.cianiandrea.it ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com