• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
custom insertion point
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

custom insertion point


  • Subject: custom insertion point
  • From: Peng Gu <email@hidden>
  • Date: Tue, 26 Mar 2013 17:25:15 -0400

Hi,

I'm changing the insertion point size by overriding
*-(void)drawInsertionPointInRect:(NSRect)aRect
color:(NSColor *)aColor turnedOn:(BOOL)flag, *But it doesn't handle the
first blink (when you move the insertion point, it goes back to normal)

I managed to handle the first blink by overriding the private method *- (
void)_drawInsertionPointInRect:(NSRect)aRect color:(NSColor *)aColor.*
*
*
But this is not a solution for me since overriding the private method will
result in being decline by App Store. I want the app to be in App Store. I
see Apps like iAWriter and Writeroom have a custom insertion point and they
are in App store.

Does anyone know how they managed to do this, or a better way rather than
overriding the private method?

Thanks.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Prev by Date: Re: Custom Delegate - Using _delegate works but not delegate or [self delegate]
  • Next by Date: Re: Custom Delegate - Using _delegate works but not delegate or [self delegate]
  • Previous by thread: Re: Better way to create a 'grouped' array from a NSArray?
  • Next by thread: Custom insertion point
  • Index(es):
    • Date
    • Thread