Re: Question about hebrew in textfields and textviews

2012-04-11 Thread Aviah Morag
First of all, it's true that having fields with natural directionality will give you the proper runtime directionality (RTL/LTR) depending on the language in which the user is typing. To my knowledge, that doesn't affect the alignment (left/right), even if it would make sense for it to do so. If

Networking and sleep

2012-04-11 Thread Lorenzo Thurman
I have an app which attempts to make an internet connection after receiving an NSWorkspaceDidWake notification. Most of the time, the connection fails with the error, "...internet connection appears to be offline (-1009)". My guess is the the OS has not yet reinitialized networking before my app

A question about core data.

2012-04-11 Thread Michael Parchet
Hello, I have started a billing project with coco and core data. In my project, I have a form that the user must fill to add a customer (for example) but it seems that core data have only an array controller with a manage object context to manage the core data database. Is it true ? In some

How to use AEKeyword for sending mail from the application?

2012-04-11 Thread Yeduguri Reddy
Hi, Iam using web kit framework and NSAppleEventDescriptor to send a mail from the application. Iam able to put the subject in the mail using AEKeyword 'urln' But I do not know which AEKeyword has to be used to set Recipient address in the TO Field of the mail. Kindly help me with this. Rega

Re: Leaks in UIPanGestureRecognizer?

2012-04-11 Thread Rick Mann
Thanks, Kurt. Filed: 11234294. On Apr 11, 2012, at 22:47 , Kurt Revis wrote: > On Apr 11, 2012, at 3:42 PM, Rick Mann wrote: > >> I seem to be seeing a leak way down deep inside UIPanGestureRecognizer >> handling. The offending caller is strdup. There seems to be one of these for >> every pan

Re: Leaks in UIPanGestureRecognizer?

2012-04-11 Thread Kurt Revis
On Apr 11, 2012, at 3:42 PM, Rick Mann wrote: > I seem to be seeing a leak way down deep inside UIPanGestureRecognizer > handling. The offending caller is strdup. There seems to be one of these for > every pan gesture I do. You're not the first one to notice -- I've seen several reports of the

Re: AVQueuePlayer ( stuttering/freezing - dissapointing playback )

2012-04-11 Thread arri
HI Rob, thanks for your input! Yes, all files are identical. And no, i'm not 'manually' preloading/-rolling anything (is that possible at all?) And i was asuming that AVQueuePlayer would be doing this automatically... Basically AVPlayer already does what i want when it plays live an HTTP-stream

Re: Tracking down a strange SIGABRT

2012-04-11 Thread Ken Thomases
On Apr 11, 2012, at 8:27 PM, Alex Zavatone wrote: > I've got a stange situation that just started happening on one of my devices > and only on this device. > > Not using ARC (yet), no memory leaks. > > Thread one gets a SIGABRT when I load a view, but only on this one device > (IPod Touch Gen3

Tracking down a strange SIGABRT

2012-04-11 Thread Alex Zavatone
I've got a stange situation that just started happening on one of my devices and only on this device. Not using ARC (yet), no memory leaks. Thread one gets a SIGABRT when I load a view, but only on this one device (IPod Touch Gen3) running iOS 5.0.1. It was working fine all day, then it just

Leaks in UIPanGestureRecognizer?

2012-04-11 Thread Rick Mann
I seem to be seeing a leak way down deep inside UIPanGestureRecognizer handling. The offending caller is strdup. There seems to be one of these for every pan gesture I do. # Address CategoryEvent Type RefCt Timestamp Size Responsible Library Responsible Caller

Re: clearing a webview after use

2012-04-11 Thread Koen van der Drift
On Apr 11, 2012, at 10:36 AM, Fritz Anderson wrote: > On 11 Apr 2012, at 7:51 AM, Koen van der Drift wrote: > >> Is there a way to empty or clear a webview when I close the popover, >> so that next time it is opened it doesn't show the previous page? I >> don't want to clear the cache, because w

Re: Debugging NSWindowController and NSArrayController

2012-04-11 Thread Rui Pacheco
Yep. po managedObjectContext and po [arrayController managedObjectContext] returns the same address. On 11 April 2012 21:41, Keary Suska wrote: > On Apr 11, 2012, at 11:49 AM, Rui Pacheco wrote: > > > Prepares content is checked, Uses lazy fetching is not - setting it > doesn't change anything.

Re: Debugging NSWindowController and NSArrayController

2012-04-11 Thread Keary Suska
On Apr 11, 2012, at 11:49 AM, Rui Pacheco wrote: > Prepares content is checked, Uses lazy fetching is not - setting it doesn't > change anything. I called -fetch: on gdb and the result was nil. > managedObjects returns an empty array. Have you verified that the array controller is using the sam

Cocoaheads Lake Forest CA meeting tonight

2012-04-11 Thread Scott Ellsworth
CocoaHeads Lake Forest will be meeting on the second Wednesday of the month. We will be meeting at the Orange County Public Library (El Toro) community room, 24672 Raymond Way, Lake Forest, CA 92630 Please join us from 7pm to 9pm on Wednesday, 4/11 Tonight we will both discuss the new iPad/iOS 5

Re: Debugging NSWindowController and NSArrayController

2012-04-11 Thread Rui Pacheco
Prepares content is checked, Uses lazy fetching is not - setting it doesn't change anything. I called -fetch: on gdb and the result was nil. managedObjects returns an empty array. On 11 April 2012 19:12, Keary Suska wrote: > On Apr 11, 2012, at 7:04 AM, Rui Pacheco wrote: > > > Hi, > > > > I hav

Re: Question about hebrew in textfields and textviews

2012-04-11 Thread Kyle Sluder
On Apr 11, 2012, at 10:17 AM, Matthew Weinstein wrote: > Thanks for all the replies. Unfortunately NSNaturalTextAlignment doesn't seem > to affect the justification of the textfields. Try creating a simple project > and simply put a textfield and textview in the window in MainMenu.xib. > Chang

Re: Question about hebrew in textfields and textviews

2012-04-11 Thread Matthew Weinstein
Thanks for all the replies. Unfortunately NSNaturalTextAlignment doesn't seem to affect the justification of the textfields. Try creating a simple project and simply put a textfield and textview in the window in MainMenu.xib. Changing the input to hebrew, running the program does change the text

Re: Debugging NSWindowController and NSArrayController

2012-04-11 Thread Keary Suska
On Apr 11, 2012, at 7:04 AM, Rui Pacheco wrote: > Hi, > > I have an NSWindowController that creates an instance of > NSManagedObjectContext. That window controller loads a NIB that has a table > populated by an NSArrayController bound to the MOC in the window > controller. This was done via Inter

AVQueuePlayer

2012-04-11 Thread arri
Hi, I'm working on Lion-application that uses AVQueuePlayer to play a list of video-files, that should seemlessly play as if they're one large movie. i was thinking AVQueuePlayer would be able to do this out of the box, by feeding it AVPlayerItems (as they become available) while playing. The r

Re: Question about hebrew in textfields and textviews

2012-04-11 Thread Lee Ann Rucker
Try NSNaturalTextAlignment - Original Message - From: "Keary Suska" To: "Matthew Weinstein" Cc: cocoa-dev@lists.apple.com Sent: Wednesday, April 11, 2012 9:54:50 AM Subject: Re: Question about hebrew in textfields and textviews On Apr 11, 2012, at 9:36 AM, Matthew Weinstein wrote: > Wo

Re: Question about hebrew in textfields and textviews

2012-04-11 Thread Fritz Anderson
On 11 Apr 2012, at 10:36 AM, Matthew Weinstein wrote: > Working with a person using hebrew input method. Text appears right-to-left > as desired, but all of the textfields and textviews are still left justfiied, > so it looks a little weird. Is there something I need to do so that when > users

Re: Question about hebrew in textfields and textviews

2012-04-11 Thread Keary Suska
On Apr 11, 2012, at 9:36 AM, Matthew Weinstein wrote: > Working with a person using hebrew input method. Text appears right-to-left > as desired, but all of the textfields and textviews are still left justfiied, > so it looks a little weird. Is there something I need to do so that when > users

Re: -[NSURL path] "If the path has a trailing slash it is stripped"

2012-04-11 Thread Mike Abdullah
On 10 Apr 2012, at 00:52, Jerry Krinock wrote: > > On 2012 Apr 09, at 16:01, Mike Abdullah wrote: > >> Can you tell us why you want the trailing slash maintained? > > I use it in a method which normalizes internet URLs. > > (I hate URL normalization, but my app must work with web browsers tha

Re: -[NSURL path] "If the path has a trailing slash it is stripped"

2012-04-11 Thread Mike Abdullah
On 10 Apr 2012, at 01:05, Jerry Krinock wrote: > > On 2012 Apr 09, at 16:07, Mike Abdullah wrote: > >> The docs are incorrect about the escaping behaviour (and used to be for >> CFURLCopyPath too); both functions do not do escaping >> > > Ah, I was reading Xcode 3 documentation. > > In cur

Question about hebrew in textfields and textviews

2012-04-11 Thread Matthew Weinstein
Dear Cocoa-devs, Working with a person using hebrew input method. Text appears right-to-left as desired, but all of the textfields and textviews are still left justfiied, so it looks a little weird. Is there something I need to do so that when users are using Arabic or Hebrew everything justifie

Re: clearing a webview after use

2012-04-11 Thread Fritz Anderson
On 11 Apr 2012, at 7:51 AM, Koen van der Drift wrote: > Is there a way to empty or clear a webview when I close the popover, > so that next time it is opened it doesn't show the previous page? I > don't want to clear the cache, because when the webview is opened for > an item that was already sele

UINavigationBar appearance not updating

2012-04-11 Thread Roland King
I want to give a hint in my app whether you are or are not using iCloud. As most screens have a navigation bar, I thought that changing the tint color of that would be a nice visual effect, it's not bad, not sure I'm fine with it yet but working on it. To do it I'm using the UIAppearance proto

Debugging NSWindowController and NSArrayController

2012-04-11 Thread Rui Pacheco
Hi, I have an NSWindowController that creates an instance of NSManagedObjectContext. That window controller loads a NIB that has a table populated by an NSArrayController bound to the MOC in the window controller. This was done via Interface Builder. The array controller is set to retrieve Entitie

clearing a webview after use

2012-04-11 Thread Koen van der Drift
In my application (OSX) I implemented an NSPopover that displays a webview to show more info on a a particular item in my model (which are listed in an NSTableView). So the user doubleclicks the table, and the popover appears and shows the website related to that item. I implemented back and forwar