> On Nov 14, 2017, at 8:37 PM, Rick Mann wrote:
>
>> I’m not super into graphics, but my gut feeling is that, if you care about
>> optimization details like whether pixmaps are being copied, you should
>> really be using a lower-level graphics API than UIImage, which is mostly a
>> cheap-and-
Takata,
Thanks for making something.
Good luck with your treatment, and welcome back to the land of development!
TTFN,
-bd
> On Oct 25, 2017, at 7:29 AM, Akifumi Takata wrote:
>
> Dear Alex Zavatone,
>
> I prefer to be called as Takata.
>
> I create the repository on GitHub.
> https://gith
On Feb 24, 2014, at 9:48 AM, Kevin Meaney wrote:
> On 24 Feb 2014, at 17:21, Mike Abdullah wrote:
>
>> On 24 Feb 2014, at 17:00, Kevin Meaney wrote:
>>> I've written a command line tool that takes an image file (when testing I'm
>>> using JPEG files) and applies a custom CIFilter (a naive ch
A much faster and simpler approach to do exactly what you have here is
CAShapeLayer. That will draw the path via OpenGL on your behalf without you
having to study OpenGL.
That said, copying and pasting from stack overflow or cocoa-dev list is never a
good solution in the long run. You might not
1, 2012, at 9:36 AM, Bill Dudney wrote:
>> I'm able to add additional space around a paragraph in my subclass of
>> NSATSTypesetter's implementation of
>> willSetLineFragmentRect:forGlyphRange:usedRect:baselineOffset:. However, I
>> am not getting what I expect
Hello,
I'm able to add additional space around a paragraph in my subclass of
NSATSTypesetter's implementation of
willSetLineFragmentRect:forGlyphRange:usedRect:baselineOffset:. However, I am
not getting what I expect as I tweak the parameters to this method. I was
hoping for some insight on wh
he maximum value for a property?
Frank
On Oct 7, 2008, at 1:08 PM, Bill Dudney wrote:
Hi Frank,
That and a whole lot more;
http://developer.apple.com/documentation/Cocoa/Conceptual/Predicates/predicates.html#/
/apple_ref/doc/uid/TP40001798
Good luck!
-bd-
http://bill.dudney.net/roller/objc
Hi Frank,
That and a whole lot more;
http://developer.apple.com/documentation/Cocoa/Conceptual/Predicates/predicates.html#/
/apple_ref/doc/uid/TP40001798
Good luck!
-bd-
http://bill.dudney.net/roller/objc
On Oct 7, 2008, at 3:49 AM, Frank Illenberger wrote:
Hi everybody,
does anybody kno
Hi Cesar,
I had more luck getting rid of the scroll layer and using a 'normal
layer'.
http://bill.dudney.net/roller/objc/entry/catiledlayer_example
Has a full example of doing the tiled layer stuff with a PDF.
My book has an example on doing the tiled layer stuff with tiled jpg
files;
h
Hi John,
Try the layer's presentationLayer property. The presentationLayer is
the thing that is actually moving around and you should be able to get
'current' values from it (give or take a bit).
HTH,
-bd-
http://bill.dudney.net/roller/objc
http://www.pragprog.com/titles/bdcora
On Aug 21
e with multiple image
source containing tiles.
I wanted to access the web site of your book. I was hoping for an
eBook to purchase. The server however hasn't been responding all day.
Best,
Pierre Bernard
Houdah Software s.à r.l.
On 18 Aug 2008, at 19:16, Bill Dudney wrote:
Hi,
I h
Hi,
I have an example on my blog of using the CATiledLayer with a big pdf
file and the CA book (I am the author) has an example of using image
tiles.
http://www.pragprog.com/titles/bdcora
http://bill.dudney.net/roller/objc
Good luck,
-bd-
On Aug 18, 2008, at 10:37 AM, Houdah - ML Pierre
Hi Chilton,
There are a couple of examples of doing just that in the CA book
(disclaimer: I'm the author) showing how to animate views with
keyframe animations.
http://www.pragprog.com/titles/bdcora
The basic idea is to set the path for the keyframe animation and then
put that animation
Hi Chilton,
The animator does not commit its transaction until back in the event
loop so you won't see any animation until you return to the main event
loop.
You can of course override this but in the example below you are doing
the animation yourself so there is no reason for CA. i.e. tr
Hi Gordon,
'the upcomming book on animation'?
If by that you mean the Core Animation book from Pragmatic Programmers
you can get the PDF now from
http://www.pragprog.com/titles/bdcora
and then the paper when it ships. You get a really good discount on it
if you buy both.
Not sure where
Hi Joeles,
The tiled layer does much of the work for you in terms of scrolling
and scaling.
I have an example on my blog;
http://bill.dudney.net/roller/objc/entry/catiledlayer_example
that does something like what you want (I expect based on the
description).
Good luck!
-bd-
http://bil
Text is tricky because of the anti-aliasing issues.
Broaden your search though there are tons of examples on how to fade a
layer in and out of a scene (apple's samples, my blog, others as well).
Basically though
- parent view needs to be layer backed (via setWantsLayer:YES)
- create a layer
HI Sean,
One example would be if you have a method that calculates a value.
That value would not be in the DB so the compiled predicate (if it
would even compile) would not work because there is not column
corresponding to your calc'd value.
I think this is worth filing a bug against the
of you,
Michael
On Apr 16, 2008, at 1:02 AM, Scott Anguish wrote:
On Apr 15, 2008, at 11:01 PM, Bill Dudney wrote:
Hi Michael,
Are you layer backed or layer hosting (i.e. did you se the layer
explicitly?) If you are layer hosting then add he explicit
animation to the view instead
Hi Michael,
Are you layer backed or layer hosting (i.e. did you se the layer
explicitly?) If you are layer hosting then add he explicit animation
to the view instead of the layer (when layer backing you should not
manipulate the layer directly).
If you are doing layer hosting then try lea
Hi Matt,
I hope what Scott said made sense (and what I said in the book, thanks
BTW to Mike for the plug).
If you have a layer backed view (i.e. you only call
myButton.wantsLayer = YES) then you should not ever touch the layer,
only use the methods that are exposed through the view and it
Hi Karl,
Have you tried the preferredFrameSize method? I have had success in
doing simple text sizing with this method ( by simple i mean that i've
done labels and such). It won't tell you the # of lines but it will
give you a frame size.
HTH,
-bd-
http://bill.dudney.net/roller/objc
On
Hi,
Sure...
Make 2 layers one is the 'background' the other is the button (think
the 'on/off' switch in time machine prefs pane)
when the user clicks the button you switch it to the on or off
position with buttonLayer.position = oppositePosition (a CGPoint)
make sense?
If not please feel
Hi Micha,
I'd suggest core animation as the easiest route but i'm sort of partial.
HTH,
-bd-
http://bill.dudney.net/roller/objc
On Feb 26, 2008, at 8:37 AM, Micha Fuhrmann wrote:
Hi everyone,
what is the simplest way to implement an animated button (the
animation should start as it is pre
Hi Micha,
I'd suggest core animation as the easiest route but i'm sort of partial.
HTH,
-bd-
http://bill.dudney.net/roller/objc
On Feb 26, 2008, at 8:37 AM, Micha Fuhrmann wrote:
Hi everyone,
what is the simplest way to implement an animated button (the
animation should start as it is pre
Hi Nate,
Glad it works!
You are correct that when you want to set up you own layer hierarchy
its best to leave that for awakeFromNib instead of setting the check
box. When you check that a view wants a layer in IB and then replace
it its just wasting creating that layer and such. Also I ha
Hi Nathan,
If you move your layer code into awakeFromNib you should have much
better results.
If you don't have layer backing turned on in the nib file the view
loading machinery turns off layer backing after initWithFrame: is
called.
HTH,
-bd-
http://bill.dudney.net/roller/objc
On F
27 matches
Mail list logo