I think that you might want NSLayoutManager. This depends on how you are
displaying the text, NSLayout manager can allow you to both find out and
change where truncation will happen. WWDC 2013 session 220 has some info
about iOS's version of this which is very similar to Cococa's.
TJ
On Fri,
https://developer.apple.com/downloads/index.action?name=wwdc
On Fri, Nov 8, 2013 at 11:23 PM, 2551 2551p...@gmail.com wrote:
For all those interested:
https://www.dropbox.com/s/nqdsguiap4qs9ec/WWDC_2010_114.zip
Best
Phil
http://applehelpwriter.com
On 9 Nov 2013, at 01:54, Brian Clark
I am not sure that there is a catch-all 'no options' constant.
I did find framework specific examples like
kCFDateFormatterNoStyle, kCFNumberFormatterNoStyle, kCollectionDontWantTag,
kCollectionDontWantId, kCollectionDontWantSize,
kCollectionDontWantAttributes, kCollectionDontWantIndex,
The short answer is yes the overhead of an object versus a primitive
value is huge.
The longer answer is that however tiny you think the difference might
be, you need to multiply it by somewhere between 200,000 and 600,000
to really get a sense for the difference in context. For the same
reasons
I would suggest starting with this book by Aaron Hillegass : Objective-C
Programming: The Big Nerd Ranch
Guidehttp://www.bignerdranch.com/book/objective-c_programming_the_big_nerd_ranch_guide.
An alternative is Stephen Kochan's Programming Objective
Could you post the code for the sublayer and what is the residual memory?
On Sat, Mar 24, 2012 at 4:17 AM, Scott Andrew scottand...@roadrunner.comwrote:
I seem to have hit a few limitations with ARC.
1.) Subclasses of CALayer are not being fully released which causes my
view controller to
Does it work if you use a for in loop?
TJ
On Wed, Mar 21, 2012 at 4:28 PM, Quincey Morris
quinceymor...@rivergatesoftware.com wrote:
On Mar 21, 2012, at 13:23 , Quincey Morris wrote:
One thing to check: if your 'scrambleState' actually has a parameter:
- (void) scrambleState: …
Another option would be a container holding just the tiles.
On Wed, Mar 21, 2012 at 5:06 PM, James Bucanek subscri...@gloaming.comwrote:
Pascal Harris mailto:45rpmlists@googlemail.**com45rpmli...@googlemail.com
wrote (Wednesday, March 21, 2012 7:56 AM -):
Now I want to scramble the
How is the red rectangle drawn? I don't have any great insight right now
other than the fact that the change you are talking about happens at a
specific place. When the top aligns with the red rectangle. You might
consider color space or something like that. Maybe (and I am most certainly
guessing
2) Technically, nothing is truly private in Objective-C, so let's stop
trying to completely prevent people from using private APIs.
contradiction++
___
Not quite. You actually CAN hide the ivars and it is odd to expose them
because you have
Well damn, @package accomplishes the 'compilation unit' request.
On Thu, Mar 22, 2012 at 8:36 PM, T.J. Usiyan griotsp...@gmail.com wrote:
2) Technically, nothing is truly private in Objective-C, so let's stop
trying to completely prevent people from using private APIs.
contradiction
11 matches
Mail list logo