hey thanks, will check it out.
Memo.
On 30 Jun 2009, at 16:18, mmalc Crawford wrote:
On Jun 30, 2009, at 3:33 AM, Memo Akten wrote:
i was wondering if it is at all possible to receive the multi-touch
data on the trackpads of the recent macbook pros?
Now that the WWDC videos are
Hi All, i was wondering if it is at all possible to receive the multi-
touch data on the trackpads of the recent macbook pros?
Cheers,
Memo.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator commen
there a problem with building a normal skin for your movie (via: http://www.apple.com/quicktime/tutorials/mediaskins.html)
and then playing it back in a controller-less QTMovieView?
curiously,
douglas
On Apr 10, 2009, at 7:11 AM, Memo Akten wrote:
Hi All, I would like to create a custom
Hi All, I would like to create a custom QTMoviePlayer. I've read the
QTKit programming guide and looked at the sample, and understand the
basics of using QTMovie and QTMovieView. I want a custom skin (play/
pause button, seekable controller etc.) I could do this just by using
a QTMovieView w
Thanks John, the second approach seems like it makes the most sense
for my needs. cheers.
On 6 Apr 2009, at 19:10, John Calhoun wrote:
On Apr 6, 2009, at 6:31 AM, Memo Akten wrote:
Hi, I would like to add a PDFView to another view. But if my root
view is layer backed I see nothing (just
Hi, I would like to add a PDFView to another view. But if my root view
is layer backed I see nothing (just white). If I disable layer
backing, pdf appears fine.
My code is:
NSString *path = [[NSBundle mainBundle] pathForResource:fileName
ofType:nil inDirectory:folder];
PDFDocument* pdf = [
Thanks for the replies guys. I do prefer the #define method simply
because it's less maintenance (only add to one header, instead of
header + .m)
Cheers,
Memo.
On 3 Apr 2009, at 23:44, Quincey Morris wrote:
On Apr 3, 2009, at 15:15, Nate Weaver wrote:
IIRC they're optimized to point to
I was wondering if there is much difference between:
NSString* kMyKey = @"aKey";
// and then throughout the application:
[myDictionary setObject:xxx forKey:kMyKey];
[myDictionary objectForKey: kMyKey];
vs
#define MYKEY @"aKey"
// and then throughout the application:
[myDictionary setObject:
On 1 Apr 2009, at 21:55, Greg Guerin wrote:
Do you understand the Posix permissions and ownership concepts, as
applied to files and dirs? If not, you need to learn those.
Do you understand the Posix 'umask' concept and its default value?
Again, you should learn that.
Finally, you will n
I have an iphone app that runs at 60fps. I have all of my settings
(about 10-15) stored in an NSMutableDictionary. When changes are made
from the UI, the relevant NSNumber in the dictionary is updated. My
update loop (which runs at 60fps) reads the settings directly from the
dictionary (onc
r createDirectoryAtPath: LOG_PATH_FOLDER attributes: nil];
}
logInfo= [[NSMutableDictionary alloc] initWithContentsOfFile:
LOG_PATH];
if(logInfo == nil) logInfo = [[NSMutableDictionary alloc] init];
On 30 Mar 2009, at 01:14, Memo Akten wrote:
Hi Greg, /Users/Shared may work,
Hi Greg, /Users/Shared may work, I'll give that a shot thanks.
On 27 Mar 2009, at 18:26, Greg Guerin wrote:
I'd like the file to be user independent, so it should always read/
write to
the same file whoever logs in (it actually collects stats of
usage). Is
there a better place to store the
people who
are pretending to program, once again I did complex design with CA
related API,
and I have never been stuck in this kind of issue, so I let you think,
nobody can solve
your issue you took the wrong way
Cheers!
On Thu, Mar 19, 2009 at 4:05 PM, Memo Akten wrote:
Hi, I've used jQue
at you are doing you will welcome to come again
Cheers!
On Thu, Mar 19, 2009 at 3:26 PM, Memo Akten wrote:
Hi Matt, thanks for lengthy reply. At this point, I"ve only tried
the first
part, and I cannot get it to use the time I'm supplying in the
animation,
basically its just doing a
proper
animation.
HTH,
-Matt
p.s. if you want to know when an animation has completed, set the
layer's delegate to your app delegate and then implement -
(void)animationDidStop:(CAAnimation *)theAnimation finished:
(BOOL)flag . The flag field tells you whether or not it stopped by
keypaths are changed, it will use the animation
you've specified so all you'll have to do is call
setValue:forKeyPath on the derived layer and it will use the correct
animation. Does that make sense?
-Matt
On Mar 19, 2009, at 9:47 AM, Memo Akten wrote:
Hi Matt, thanks for the answer and yes you
ll not cause the value in the layer to change, however, it
will give you the visible stickiness you seek.
Best Regards.
-Matt
On Mar 19, 2009, at 9:13 AM, Memo Akten wrote:
Hi, I posted this on the quartz list yesterday but received no
response, it seems like such a simple thing...
When I ad
Hi, I posted this on the quartz list yesterday but received no
response, it seems like such a simple thing...
When I add an animation to my layer, it animates, but then snaps back
to its previous position. Is this normal?
growAnimation = [[CABasicAnimation
animationWithKeyPath:@"transfo
Hi All, I'd like to distribute a font with my app bundle, but not
install it. Just load it straight from my bundle for NSTextField and
CATextLayer. My googling led to only this
http://www.cocoabuilder.com/archive/message/cocoa/2005/1/16/125883
but that is 4 years old, I was wondering if there
for others reading this on the archives, I found the problem, I need
to set the bounds (or frame) for titleLayer.
On 13 Mar 2009, at 12:09, Memo Akten wrote:
I have a simple setup below, but I can't see my text layer, what am
I missing?
(also are all of the commented lines ness
I have a simple setup below, but I can't see my text layer, what am I
missing?
(also are all of the commented lines nessecary?)
view= [[[NSApplication sharedApplication] keyWindow] contentView];
rootLayer = [CALayer layer];
[rootLayer setBounds: NSRectToCGRect
that solved it thanks!
On 11 Mar 2009, at 19:25, Joel Norvell wrote:
Hi Memo,
Try doing
setDrawsBackground:NO
when you initialize your NSTextFields.
HTH,
Joel
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
Hi All, I am creating everything programatically:
one custom NSWindow -> one NSView (my root view), that has multiple
custom NSViews attached, in each one is an NSBox and NSTextField.
My problem is, I want the NSTextField to be transparent (and show the
NSBox behind), but instead it's making
Hi Guys, thanks for the detailed responses :)
Peter, thanks for that example, I should have thought of doing a
similar test myself, but I didn't, so thanks for doing that, always
the best way to be sure ;)
Michael, so does this mean that CFRunLoopTimer and NSTimer don't
behave the same wa
Ah ok, thats what I wasn't sure about, whether or not the pool would
be released after every timer update. So if no events come in for a
few seconds, I"ll have my runloops autorelease pool swelling up -
which is not desired. My solution of creating my own autorelease pool
before all app upd
I know what autorelease pools are and how they work so my question
isn't about that.
In my iPhone app I create a NSTimer to run at 60fps, in it I update a
bunch of stuff and draw opengl.
Currently I have:
-(void) timerLoop {
// create autorelease pool in case anything needs it
Yea that is exactly how I have it currently as I described in my mail.
But to maintain that has unnecessarily extra steps. My Controller
extends my own custom controller class (which extends
UIViewController) which adds the common functionality I require to the
types of apps I'm building. B
Hi All, I have a UI with a lot of UISliders and UISwitches. For every
single one I have an IBAction which updates an internal variable, I
also have a pointer to every control in my controller so if a variable
is updated programmatically it's updated in the UI. In my game's
update loop I che
(Mehmet S. Akten)
www.memo.tv
www.twitter.com/memotv
www.vimeo.com/memotv
On 18 Feb 2009, at 19:46, Memo Akten wrote:
Hi Thanks for the response. I was building for 2.2.
I am now trying for 2.2.1 and getting the exact same behavior.
Regarding the 2nd point, if I use UIActionSheet it works
Hi Thanks for the response. I was building for 2.2.
I am now trying for 2.2.1 and getting the exact same behavior.
Regarding the 2nd point, if I use UIActionSheet it works correctly,
but UIAlertView does not orient.
A bit of info about my setup.
- I create window manually in applicationDidF
Hi All, i have two problems regarding running my app in landscape mode:
1. I would like my app to to start in landscape mode. In my root
viewcontroller I have:
- (BOOL)shouldAutorotateToInterfaceOrientation:
(UIInterfaceOrientation)interfaceOrientation {
return (interfaceOrientation ==
06 AM, Memo Akten wrote:
Hi ALl, i'm aware that on desktop using mach_absolute_time() is the
way to
go for precise timing of code
(http://developer.apple.com/qa/qa2004/qa1398.html) but I was
wondering what
is the alternative for iphone? not sure if this is the right place
to post,
but
Hi ALl, i'm aware that on desktop using mach_absolute_time() is the
way to go for precise timing of code (http://developer.apple.com/qa/qa2004/qa1398.html
) but I was wondering what is the alternative for iphone? not sure if
this is the right place to post, but I"d gladly repost if someone
c
, then still in the IBAction method call a startTimer method
which simply does what your "timer = [NSTimer scheduledTimer... ]
method does.
Perhaps breaking out the parts like that helps? I don't know.
HTH,
Ron
On 29 Jan 2009, at 22:07, Memo Akten wrote:
Hi All, I'd like
Hi All, I'd like a function that sets up a timer, and can also change
the frequency, but I just can't get it to work. If I call it more than
once it just stops calling the timerLoop function altogether. I've
tried so many things including not actually scheduling the timer in
the setFrameRat
that, don't have the docs handy).
-rob.
On Jan 15, 2009, at 11:18 AM, Memo Akten wrote:
wow i did not know that, brilliant thanks! is there a way to do it
programmatically? i could not find it in the docs...
On 15 Jan 2009, at 16:17, danton chin wrote:
Memo,
While in your iPhon
Hi, what I'd like to be able to do in my iphone app, is detect touches
on the window (or a view), from an object which is not a UIResponder.
Ideally if touches sent notifications which could be registered via
the notification center it would be ideal. I know I could add
touchesBegan, touche
will be added to your
photo album.
On Thu, Jan 15, 2009 at 11:08 AM, Memo Akten wrote:
Not sure if this is the right place for this, but is it possible for
my app to screengrab what its done and save it to the photo app?
___
Cocoa-dev mailing list
Not sure if this is the right place for this, but is it possible for
my app to screengrab what its done and save it to the photo app?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to t
. Akten)
www.memo.tv
[EMAIL PROTECTED]
mob: +44 (0) 7958 783 832
landline: +44 (0) 20 8123 9986
29 Ironworks
Dace Rd
London E3 2NX, UK
On 22 Sep 2008, at 11:52, Memo Akten wrote:
ah thanks, will try it out.
On 21 Sep 2008, at 23:19, Jean-Daniel Dupas wrote:
You are free to setup a
cool thanks...
On 6 Oct 2008, at 07:31, Simone Tellini wrote:
Il giorno 06/ott/08, alle ore 05:38, Memo Akten ha scritto:
Hi All, I was wondering how straightforward it is to write an app
that responds to Apple Remote events. would I get them in - (void)
sendEvent:(NSEvent*)event ?
I
Hi All, I was wondering how straightforward it is to write an app that
responds to Apple Remote events. would I get them in - (void)
sendEvent:(NSEvent*)event ?
or what would I need to do? If anyone can point me in the right
direction i'd appreciate it...
cheers.
I'm guessing cornerSize is an int?
so i/cornerSize will always return 0, so asin(i/cornerSize) will
always return 0 so cos(asin(i/cornerSize)) will always return 1 so (1-
cos(asin(i/cornerSize))) will always return 0
you want to do i/(float) cornerSize
-
13:31, John Clayton wrote:
Try looking into using the NSApplication delegate methods that
inform you when your app becomes active/hidden, e.g.
- (void)applicationDidBecomeActive:(NSNotification *)aNotification
Thanks
--
John Clayton
On 22/09/2008, at 1:07 PM, Memo Akten wrote:
Hi All, i
Hi All, i have an app which is running on the desktop :
windowRect = [[NSScreen mainScreen] visibleFrame];
window = [[NSWindow alloc] initWithContentRect:windowRect
styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered
defer:NO];
[window setFrame:windowRect displa
(kUIModeAllSuppressed, kUIOptionAutoShowMenuBar);
[window makeKeyAndOrderFront];
Le 21 sept. 08 à 23:58, Memo Akten a écrit :
hmm, yea does seem a bit problematic. so is it not possible to
play quicktime across multiple monitors then? those threads seem to
have not come to a solution...
On 19 Sep 2008
only really useful for the simplest of cases. Search the list
archives
for "enterFullScreenMode".
On 9/19/08 9:42 AM, Memo Akten said:
wow that looks perfect thanks..
On 19 Sep 2008, at 05:10, John C. Randolph wrote:
On Sep 17, 2008, at 12:03 PM, Memo Akten wrote:
Hi All, I
thanks, that did it...
On 19 Sep 2008, at 15:18, Fabian wrote:
Try [NSApp activateIgnoringOtherApps:YES];
HTH.
On Fri, Sep 19, 2008 at 12:28 PM, Memo Akten <[EMAIL PROTECTED]> wrote:
I want to create a very simple little app that launches a window at
startup,
and then runs
I want to create a very simple little app that launches a window at
startup, and then runs in the background with no dock and menu.
I've created the app as a standard cocoa app, extending NSApplication
overriding init (set delegate to self) and
applicationDidFinishLaunching to setup a time
Thanks for the replies guys, I think all fingers point to the same
method which is a few years old - but thats cool. I was wondering if
it had been simplified in Leopard but seems not (I just didn't want to
write out-of-date code)
Cheers,
Memo.
On 18 Sep 2008, at 12:03, Memo Akten
THanks, i'll look in to all that.. though I think for now NSView
enterFullScreenMode:withOptions: may be quite good
On 19 Sep 2008, at 05:13, Michael Ash wrote:
On Wed, Sep 17, 2008 at 3:03 PM, Memo Akten <[EMAIL PROTECTED]> wrote:
Hi All, I'd like to create a littl
wow that looks perfect thanks..
On 19 Sep 2008, at 05:10, John C. Randolph wrote:
On Sep 17, 2008, at 12:03 PM, Memo Akten wrote:
Hi All, I'd like to create a little app the runs a quicktime movie
(prores) fullscreen across multiple monitors. I think I can figure
out the QTKit stuff
In my app I'd like to check for system idle time, and perform an
action after a set amount of time. I've found this code to check for
system idle time
http://www.cocoabuilder.com/archive/message/cocoa/2004/10/27/120354
is this still the best way to do it on leopard?
cheers,
memo.
__
Hi All, I'd like to create a little app the runs a quicktime movie
(prores) fullscreen across multiple monitors. I think I can figure out
the QTKit stuff, but couldn't find upto date documentation on going
fullscreen. I've found some code snippets to do it, but they are all
pre-leopard and
Thanks Joshua, that clears up the memory stuff... i think i finally
get it now: unless you explicitly alloc or retain, you never need to
release...
cheers,
memo.
On 28 Aug 2008, at 13:12, Joshua Pennington wrote:
On Aug 28, 2008, at 6:46 AM, Memo Akten <[EMAIL PROTECTED]> wrote:
Hi All, I have a few questions regarding using NSMutableDictionary,
NSNumbers, and more memory management.
I have a mutable dictionary, which I would like to store a bunch of
values, which my app will modify and save and load as a plist. This is
inside a QCPlugIn and it seems the autoreleas
Thanks guys, its starting to become a bit clearer now. I'll use the
alloc / init / release route for now until I"ve read through the
memory management doc
Cheers,
Memo.
On 27 Aug 2008, at 12:22, Jonathan del Strother wrote:
On Wed, Aug 27, 2008 at 12:13 PM, Memo Akten <[EM
t out to QC
with self.outputXMLData = cardsLoadedData;
Cheers,
Memo.
On 27 Aug 2008, at 11:57, Jonathan del Strother wrote:
On Wed, Aug 27, 2008 at 11:45 AM, Memo Akten <[EMAIL PROTECTED]> wrote:
HI All, i'm a bit confused about the 2 scenarios:
NSDictionary *m
HI All, i'm a bit confused about the 2 scenarios:
NSDictionary *myData1 = [NSDictionary
dictionaryWithContentsOfFile:@"mydata.plist"]; // this one I don't
need to release when I'm done?
NSDictionary *myData2 = [[NSDictionary alloc]
initWithContentsOfFile:@"mydata.plist"]; // this one I do
"t may work, but it is unnecessarily complicated. Since AppleScript
is just a user-friendly representation of Apple Events, you can use
either raw Apple Events (AEDesc and friends) or the Scripting Bridge
(Leopard only) to do the exact same thing without the overhead of
launching another applicat
EMAIL PROTECTED]> wrote:
>
> On 16 Jun '08, at 6:09 AM, Memo Akten wrote:
>
>> I'd like to launch one of the apps -
>> Finder - in a specific folder in Cover Flow (app is leopard only).
>> I've been searching how to do this but cannot find any info.
&g
Hi all, i'm not sure if this is relevant to this list but not sure
where else to post it.
>From my cocoa app (a QC PlugIn), I'm launching apps with the command:
[[NSWorkspace sharedWorkspace] launchApplication:currentAppToLaunch];
which is working fine, but I'd like to launch one of the apps
10, 2008, at 4:22 PM, Memo Akten wrote:
Hi, that looks great thanks, I've just been looking through the
documentation, but I don't think it allows control over terminating
the app, or detecting when its closed. I would like to have that
level of control (just terminate, and dete
TECTED]
On 11 Jun 2008, at 00:02, Michael Vannorsdel wrote:
[[NSWorkspace sharedWorkspace] launchApplication:@"Safari"];
On Jun 10, 2008, at 4:55 PM, Memo Akten wrote:
Hi all, i'm writing an app that launches some default apps like
safari, itunes, iphoto etc using NSTask. I w
Hi all, i'm writing an app that launches some default apps like
safari, itunes, iphoto etc using NSTask. I was wondering if there is a
way of writing the launch url not fully hardcoded but using some
system variables / methods etc.?
Memo (Mehmet S. Akten)
www.memo.tv
[EMAIL PROTECTED]
__
thanks! works great!
On Mon, 9 Jun 2008 07:27:01 -0400, "douglas a. welton"
<[EMAIL PROTECTED]> wrote:
> Check out NSScreen documentation for the -(NSRect)visibleFrame method.
>
> On Jun 9, 2008, at 6:49 AM, Memo Akten wrote:
>
>> <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
Received: from 82-68-202-222.dsl.in-addr.zen.co.uk [82.68.202.222] with
HTTP/1.1 (POST); Mon, 09 Jun 2008 04:49:35 -0600
User-Agent: RoundCube Webmail/0.1-rc2
Content-Type: text/plain; charse
Akten)
www.memo.tv
[EMAIL PROTECTED]
+44 (0) 7958 783 832
+44 (0) 20 8123 9986
29 Ironworks
Dace Rd
London E3 2NX, UK
On 4 Jun 2008, at 23:29, Charles Steinman wrote:
--- Memo Akten <[EMAIL PROTECTED]> wrote:
Is it possible to somehow just launch the quicklook
window for a
quicktime
Thanks for the replies guys. What I would like to do, may be a lot
simpler than what i may have explained. I just want my app to launch
the quicktime movie, in what looks like exactly like the finder
quicklook window - in fact if its possible to even somehow do it with
an applescript or som
Hi All, I"m building a little cocoa app, its mainly a quartz composer
composition + custom plugin, which I'm embedding and controlling via
QCRenderer.
I'm writing a Quartz Composer plugin which creates a few buttons and
when you click one I would like to launch a quicktime file, but I
would like
70 matches
Mail list logo