Re: Keychain issues with public key on iOS

2013-02-08 Thread Jens Alfke
On Feb 8, 2013, at 1:31 PM, Damien Cooke wrote: > I am trying to put a public key into the ios keychain so I can get a > SecKeyRef to use to verify a signature. Oh dear. Any time I have to deal with the iOS keychain APIs I get either enraged or sick to my stomach or both. Seriously. > So I s

Re: Timeline control like in ScreenFlow...how i can implement?

2013-02-08 Thread Jens Alfke
On Feb 8, 2013, at 3:23 AM, Muthulingam Ammaiappan wrote: > please suggest me how i can implement this Timeline custom view ...? That is way too broad a question, unless you’re looking for a paid consultant. If you have specific questions about usage of the Cocoa frameworks, you can ask those

Re: UI_APPEARANCE_SELECTOR question

2013-02-08 Thread Luke the Hiesterman
Appearance customizations get applied at layout time, so your view simply hasn't had the appearance applied yet in -initWithFrame:. That's why self.tabFont is nil. Luke On Feb 8, 2013, at 1:38 PM, Alex Kac wrote: > Trying to see if I understand this correctly and what I may be doing wrong. I

UI_APPEARANCE_SELECTOR question

2013-02-08 Thread Alex Kac
Trying to see if I understand this correctly and what I may be doing wrong. I have a tab bar project that is in my workspace and I've added this to its font property: UI_APPEARANCE_SELECTOR as such: @interface AKTabBarButton : UIView { } @property (nonatomic, strong) UIFont *tabFont UI_APPEARA

Keychain issues with public key on iOS

2013-02-08 Thread Damien Cooke
All, I am trying to put a public key into the ios keychain so I can get a SecKeyRef to use to verify a signature. Now the key loos like this: -BEGIN PUBLIC KEY- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqE28o7Rhg36oaTGpHgIY n1OcRpwFaznSUriAxmvLymRvoVllB/Rbbd7Ap2ALg4hr8i+lZU9bBND9YYbJbp

Re: Help me fix a bug: endless recursion in NSTextView?

2013-02-08 Thread Ken Thomases
On Feb 8, 2013, at 2:35 PM, Oleg Krupnov wrote: > Here we go: > > [textView isVerticallyResizable] == YES > [textView isHorizontallyResizable] == NO > [[textView textContainer] heightTracksTextView] == NO > [[textView textContainer] widthTracksTextView] == YES > > Does it mean something? It loo

Re: Help me fix a bug: endless recursion in NSTextView?

2013-02-08 Thread Oleg Krupnov
Here we go: [textView isVerticallyResizable] == YES [textView isHorizontallyResizable] == NO [[textView textContainer] heightTracksTextView] == NO [[textView textContainer] widthTracksTextView] == YES Does it mean something? > I'm not sure. It may have something to do with Retina displays. I wo

Re: NSOutlineView cell editing behavior

2013-02-08 Thread Quincey Morris
On Feb 7, 2013, at 23:15 , Kyle Sluder wrote: > Subclass NSOutlineView and override -textDidEndEditing: to do the right > thing? (Or whatever the delegate method is that gives you the "movement > reason.") Weirdly, it doesn't get to this delegate method -- nor does *my* delegate ever get mess

Re: Help me fix a bug: endless recursion in NSTextView?

2013-02-08 Thread Ken Thomases
Hi, On Feb 8, 2013, at 12:45 PM, Oleg Krupnov wrote: > Thanks! This information sounds relevant, but I'm still puzzled. All I > do is just use a NSTextView on a window. The text view is resizable by > width and height, i.e. the text is wrapped when I change the view's > width, and scroll bar appe

Re: Help me fix a bug: endless recursion in NSTextView?

2013-02-08 Thread Oleg Krupnov
Hi Ken, Thanks! This information sounds relevant, but I'm still puzzled. All I do is just use a NSTextView on a window. The text view is resizable by width and height, i.e. the text is wrapped when I change the view's width, and scroll bar appears when I change its height. All pretty standard. I d

Re: Icons in the menubar

2013-02-08 Thread Kyle Sluder
On Feb 8, 2013, at 2:21 AM, dvlc...@gmail.com wrote: > > Hello, > > I've seen some applications use an icon instead of a title in the > menubar (this is often the case for the "Scripts" menu). I know about > the setImage: method, but for some reason, it doesn't seem to work when > you use it on

Re: Help me fix a bug: endless recursion in NSTextView?

2013-02-08 Thread Ken Thomases
On Feb 8, 2013, at 5:05 AM, Oleg Krupnov wrote: > I've received a few reports from users that my app hangs and consumes > 100% CPU, and they have to force quit it. It usually happens on > MacBooks after they are awaken from sleep mode. > > One user also sent the following crash report: > > 16 c

Re: managedObjectIDForURIRepresentation returning wrong NSManagedObjectID

2013-02-08 Thread Mike Abdullah
On 8 Feb 2013, at 09:06, Ben wrote: > I'm confused by the following code. What I'm trying to do is store a > reference in a DogManagedObject transformable property, to a > CatManagedObject, then retrieve the Cat from the Dog at a later date. > However, when I log the output I get a class of 'D

Timeline control like in ScreenFlow...how i can implement?

2013-02-08 Thread Muthulingam Ammaiappan
Hi Friends, i wanted to implement the Timeline control like in Screenflow. my requirements: 1) on top it should show the ruler which indicate the time in seconds 2) it has two tracks(video and audio track) 3)video/audio track allow the user to add multiple number of video clips... clips will

Help me fix a bug: endless recursion in NSTextView?

2013-02-08 Thread Oleg Krupnov
Hi, I've received a few reports from users that my app hangs and consumes 100% CPU, and they have to force quit it. It usually happens on MacBooks after they are awaken from sleep mode. One user also sent the following crash report: 16 com.apple.CoreFoundation0x7fff8846547a _CFX

Icons in the menubar

2013-02-08 Thread dvlchat
Hello, I've seen some applications use an icon instead of a title in the menubar (this is often the case for the "Scripts" menu). I know about the setImage: method, but for some reason, it doesn't seem to work when you use it on the first item in the menubar (the "Apple" menu): instead of displ

Re: managedObjectIDForURIRepresentation returning wrong NSManagedObjectID

2013-02-08 Thread Ben
OK I found the solution. Something must have been up with my core data sqlite file because I trashed the app, tested it again and it worked as expected. On 8 Feb 2013, at 09:06, Ben wrote: > I'm confused by the following code. What I'm trying to do is store a > reference in a DogManagedObject

managedObjectIDForURIRepresentation returning wrong NSManagedObjectID

2013-02-08 Thread Ben
I'm confused by the following code. What I'm trying to do is store a reference in a DogManagedObject transformable property, to a CatManagedObject, then retrieve the Cat from the Dog at a later date. However, when I log the output I get a class of 'Dog' rather than 'Cat'. Any ideas? //ad