On Thu, Oct 21, 2010 at 10:10 PM, Wayne Shao wrote:
> Hi,
>
> I have this layout: A container view C, with two sub-views in vertical
> order: a Box B on the top, and a WebView W at the bottom.
>
> Box B
> ---
> WebView W
>
>
> In IB, I set the following resize property:
>
> B: fi
Hi,
I have this layout: A container view C, with two sub-views in vertical
order: a Box B on the top, and a WebView W at the bottom.
Box B
---
WebView W
In IB, I set the following resize property:
B: fixed top edge and fix height, take whole width of the parent
W: fixed botto
On 2010-10-22, at 1:32 PM, Graham Cox wrote:
> On 22/10/2010, at 2:19 PM, Abhi Beckert wrote:
>
>> How much does performance/memory suffer from using
>> filteredArrayUsingPredicate?
>
> You state it doesn't matter, then you worry that it might.
>
> With any question about optimisation, the qu
In my iPhone app I use beginTrackingWithTouch, etc. to handle a swipe and
rotate an OpenGL object. I wanted to add pinch and rotate gestures to do the
obvious things. I created a UIRotationGestureRecognizer and a
UIPinchGestureRecognizer, added them to the control view and wrote the action
meth
On 22/10/2010, at 2:19 PM, Abhi Beckert wrote:
> in this case — don't need to worry about performance or memory consumption —
> as there won't ever be many products per category.
> How much does performance/memory suffer from using
> filteredArrayUsingPredicate?
You state it doesn't matter, t
Hi,
I have this code:
- (NSArray *)products
{
if (products)
return products;
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"visible =
1"];
products = [[self.category.products allObjects]
filteredArrayUsingPredicate:predicate];
Forget. I have found it.
I searched for the sound I recalled "fuff" and I found "poof" then I
searched for "animation poof" and I found "NSAnimationEffectPoof", then
NSShowAnimationEffect(NSAnimationEffectPoof, [NSEvent mouseLocation],
NSZeroSize, NULL, NULL, NULL);
--
Leonardo
___
I'm currently playing with a screen saver.
Problem:
It draws correctly in fullscreen mode or in SaverLab but does not in
the preview mode of the 'Desktop & Screen Saver' pane of the System
Preferences.
Basically, in #fail mode, it draws the first frame and then does not
refresh.
NSShowAnimationEffect(NSAnimationEffectPoof, [NSEvent mouseLocation],
NSZeroSize, NULL, NULL, NULL);
Gideon
On 22/10/2010, at 8:43 AM, gMail.com wrote:
> Hi,
> when you remove an icon from the Dock you get an animation "fuff" and a
> sound. Well, in some of my works I reproduced the same f
Hi,
when you remove an icon from the Dock you get an animation "fuff" and a
sound. Well, in some of my works I reproduced the same functionality, but I
can't recall which project it was. I unsuccessfully searched on the web too.
Nothing. I even recall that the sound was an OS resource. And the anim
On 2010 Oct 21, at 11:22, Ben Lachman wrote:
> Alternatively, if there's a token field replacement out there floating around
> I'd love to hear about it.
I've modified Robert Pointon's RPTagCloud to have more token-field features,
and changed the name to RPTokenControl. There's still alot of
On Oct 21, 2010, at 2:48 PM, David Duncan wrote:
On Oct 21, 2010, at 1:44 PM, k...@highrolls.net wrote:
Not a Cocoa topic but I am thinking the smart guys here can show me
the error of my ways.
I do this:
BYTE *destination = (BYTE*)malloc(size);
... do stuff
free(destination);
The fre
On Oct 21, 2010, at 1:44 PM, k...@highrolls.net wrote:
> Not a Cocoa topic but I am thinking the smart guys here can show me the error
> of my ways.
>
> I do this:
>
> BYTE *destination = (BYTE*)malloc(size);
>
> ... do stuff
>
> free(destination);
>
> The free() gives this error
>
> mallo
Not a Cocoa topic but I am thinking the smart guys here can show me
the error of my ways.
I do this:
BYTE *destination = (BYTE*)malloc(size);
... do stuff
free(destination);
The free() gives this error
malloc: *** error for object 0x21568580: Non-aligned pointer being
freed (2)
How can
On Oct 21, 2010, at 3:31 PM, eveningnick eveningnick wrote:
> In some moments i find out (using application ET Testbench) that my
> active event tap is disabled (when i have not called CGDisableEventTap
> nowhere!). I am pretty sure, i am not calling
> CGEventTapEnable(myactivetap, NO) nowhere e
Hello
i have an application that installs several active event taps (active
- those that can modify and filter events) into another application. I
activate them (CGEventTapEnable) and deactivate them only when my app
quits.
In some moments i find out (using application ET Testbench) that my
active
For whatever it's worth I have solved this problem. Or, rather, I have found
another way to get the desired result.
In the docs for MPMoviePlayerViewController it says: "... you can incorporate a
movie player view controller wherever you would normally use a view
controller." This is what I did
Does anyone know if kCFStreamPropertyFTPFileTransferOffset is implemented?
According to this conversation back in 2007 it is not
http://lists.apple.com/archives/macnetworkprog/2007/Mar/msg00067.html
I need to provide pause and resume support for FTP and FTPS uploads in a
cocoa application. I have
>
>1. User removes the managed object from the existing document (using
> array controller), presses the close window button, changes are not saved.
2. Managed object is removed from the managed object context by the
> frameworks and is no longer reachable by any means that I am aware of.
So in light or yesterday's announcement...
I'm looking for a way to draw custom tokens in a NSTokenField subclass without
using SPIs. The only way I've found so far is to class dump
NSTokenAttachment/NSTokenAttachmentCell and then subclass them. Does anyone
have ideas on how one might customi
On Oct 21, 2010, at 10:56 AM, Rimas M. wrote:
> Hello list,
>
> I do not have a lot of practice with Core Animation, maybe that is the
> reason. I have a real annoying problem.
>
> All I want to do is:
> 1. Create CALayer
> 2. Set CGImage for its content
> 3. Depending on situation rotate and z
Hello list,
I do not have a lot of practice with Core Animation, maybe that is the
reason. I have a real annoying problem.
All I want to do is:
1. Create CALayer
2. Set CGImage for its content
3. Depending on situation rotate and zoom in that layer (or its content)
Looks like everything works, b
22 matches
Mail list logo