• 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: Wed, 27 Mar 2013 15:55:24 -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

  • Follow-Ups:
    • Re: Custom insertion point
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Convert spelled out numbers to digits?
  • Next by Date: Re: Custom insertion point
  • Previous by thread: custom insertion point
  • Next by thread: Re: Custom insertion point
  • Index(es):
    • Date
    • Thread