On 22/07/2009, at 2:42 AM, Nick Zitzmann wrote:
One thought: Are you using the -CGImage method of NSBitmapImageRep
anywhere? If so, then you absolutely must not deallocate the
NSBitmapImageRep while the CGImageRef is live, because the
CGImageRef acquired via -CGImage is still using the
Thank you David for the tip!
On Wed, Jul 22, 2009 at 5:11 AM, David Duncan david.dun...@apple.comwrote:
On Jul 21, 2009, at 10:18 AM, Wilson Chen wrote:
My question is: since an EAGLView is a subclass of UIView, is there a
particular reason for the template to not follow the common pattern
Is it possible to develop an application for recording phone calls?
I'm using iPhone OS 2.2.
Thanks in advance
Mahaboob
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
No. Not using published APIs in 2.2 (or 3.0). No access to the phone
piece whatsoever.
Mahaboob wrote:
Is it possible to develop an application for recording phone calls?
I'm using iPhone OS 2.2.
Thanks in advance
Mahaboob
___
Cocoa-dev mailing
On Jul 22, 2009, at 2:19 AM, Mahaboob wrote:
Is it possible to develop an application for recording phone calls?
Possible? Maybe. Supported? No.
-jcr
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
Hi,
I am currently writing something VERY similiar to Apple's Reducer App:
http://developer.apple.com/SampleCode/Reducer/index.html
I'm a Noob and have re-written the code to fit my needs (which is just
the rescaling part) to my needs but there is one Binding i can't get
working.
I can't
I have a window winUser with two buttons bntEnter and bntBuild.
I am trying to switch the default button between the two as the
program progresses.
Initially both buttons are disabled. After the user enters some text
fields I set bntEnter as the default with
[winUser
Well, technically I suppose the user could start a phone call, then
hit the home button launch your recording app, then you could start
recording whatever the microphone picks up...
On Wed, Jul 22, 2009 at 10:26 AM, Roland Kingr...@rols.org wrote:
No. Not using published APIs in 2.2 (or 3.0).
On 21 Jul 2009, at 19:22, Erik Buck wrote:
Sorry. Right after I posted, I found http://www.cocoadev.com/index.pl?FAQs
I should add, since the top link on that page is mine, that I haven't
updated that document for ages, and while it covers some basic things
and links to some other useful
I did like this, but the voice is not getting recorded while I'm making a
call.
If I developed this application, will apple store approve this?
On 7/22/09 3:06 PM, Jonathan del Strother maill...@steelskies.com wrote:
Well, technically I suppose the user could start a phone call, then
hit the
well that's impossible to say and not a cocoa question. If you use only
public APIs and satisfy the other store conditions then I don't see why
not. But you really cannot say and I've certainly not read the app
conditions document recently.
If it worked just grabbing from the microphone, the
On Jul 22, 2009, at 3:12 AM, Mahaboob mahab...@newtok.com wrote:
If I developed this application, will apple store approve this?
None of us is in any position to speculate about the actions of the
App Store approval team on a hypothetical application.
But it is important to note that
Hi
I am trying to implement the ability to move subviews around a view by
dragging them. The simple code I have thus far:
- (void)draggedImage:(NSImage *)anImage endedAt:(NSPoint)aPoint
operation:(NSDragOperation)operation{
[self setFrameOrigin:[self convertPointFromBase:aPoint]];
}
Here
You can make this change without using setDefaultButtonCell at all.
Just make sure you change btnEnter's key equivalent to be something
other than return before changing btnBuild's to be return.
[btnEnter setKeyEquivalent:@];
[btnBuild setKeyEquivalent:@\r];
On Jul 21,
How can I do some custom stuff before my NSManagedObjectContext saves? (I want
to cleanup some garbage that might get created while my app is running). In
my case this would be faster to do than override my NSManagedObject
didTurnIntoFault.
So, to do this, is it safe for me to subclass
Hi Darren,
The point passed into -draggedImage:endedAt:operation: is in screen
coordinates, which is different from the window base coordinates that -
convertPointFromBase: expects. You want to convert from screen to
base, and then from base to your superview's coordinate system
(because
On Jul 22, 2009, at 7:22 AM, Squ Aire wrote:
How can I do some custom stuff before my NSManagedObjectContext saves?
Register for NSManagedObjectContextWillSaveNotification.
mmalc
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
Recorder on the app store does it.
-- CEO WebIS
Sent from my phone
On Jul 22, 2009, at 4:26 AM, Roland King r...@rols.org wrote:
No. Not using published APIs in 2.2 (or 3.0). No access to the phone
piece whatsoever.
Mahaboob wrote:
Is it possible to develop an application for recording
I see no such thing in my docs. Only DidSave. Not WillSave.
From: mmalc_li...@me.com
Date: Wed, 22 Jul 2009 07:54:30 -0700
To: cocoa-dev@lists.apple.com
Subject: Re: When saving the managed object context
On Jul 22, 2009, at 7:22 AM, Squ Aire
On Jul 22, 2009, at 8:05 AM, Squ Aire wrote:
On Jul 22, 2009, at 7:22 AM, Squ Aire wrote:
How can I do some custom stuff before my NSManagedObjectContext
saves?
Register for NSManagedObjectContextWillSaveNotification.
I see no such thing in my docs. Only DidSave. Not WillSave.
Sorry, I've
I didn't see any actual question. I think you also need to post more code if
you want anything better than wild guesses about what you are doing.
Start here:
http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/DragandDrop.html
I assume you are using -
not really, not if we're talking about the same app. The one I've seen
pushes calls through an external service and the recording is done
there ...
Can Recorder record phone calls?
Yes. Recorder 10 can record outgoing calls through an external
service. Because we have to work directly with
Hello all,
I have an NSSlider which can relate to multiple different values. What
would be a good way of showing the user that if the touches the slider
he will change all these values to the value on the slider? Like the
dash in an NSCheckBox, but just for NSSlider.
Best, ALEXander.
I've been using this method to make UUID strings:
+ (NSString *)stringWithUUID{ CFUUIDRef uuidObj = CFUUIDCreate(nil);
NSString *uuidString = (NSString*)CFUUIDCreateString(nil,uuidObj);
CFRelease(uuidObj); return [uuidString autorelease];}
How do you all like it? Is it ok? It's based on
Correct code is:
+ (NSString *)stringWithUUID{ CFUUIDRef uuidObj = CFUUIDCreate(nil);
NSString *uuidString =
(NSString*)NSMakeCollectable(CFUUIDCreateString(nil,uuidObj));
CFRelease(uuidObj); return [uuidString autorelease];}
Or you will leak in GC.
--
Julien
On Wed, Jul 22, 2009 at 6:45
Steve Cronin wrote:
From my Cooca app I want to call an AppleScript with several
parameters one of which is an AppleScript record.
I've got everything about calling and return values working smoothly.
What I can't seem to get is how to create that parameter record.
ObjC-appscript's
Is there a way to actually list all the classes in a given bundle? I
know I can look one up if I know the name but I would like to actually
be able to present a list.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
On Jul 22, 2009, at 12:00 PM, Robert Mullen wrote:
Is there a way to actually list all the classes in a given bundle? I
know I can look one up if I know the name but I would like to
actually be able to present a list.
If the bundle is loaded, you should be able to iterate through all the
Or just use [[NSProcessInfo processInfo] globallyUniqueString]
Keith
On 22 Jul 2009, at 17:53, Julien Jalon wrote:
Correct code is:
+ (NSString *)stringWithUUID{ CFUUIDRef uuidObj = CFUUIDCreate(nil);
NSString *uuidString =
(NSString*)NSMakeCollectable(CFUUIDCreateString(nil,uuidObj));
I've not used it but I recalled a runtime function
objc_copyClassNamesForImage() which you might be able to use to
localise your search to a specific bundle (instead of enumerating all
the Objective-C classes).
Keith
On 22 Jul 2009, at 18:05, glenn andreas wrote:
On Jul 22, 2009, at
You can listen NSBundleDidLoadNotification notifications. it contains
@NSLoadedClasses key in the userinfo dictionary.
This probably won't work for frameworks loaded at launch time, but may
be helpful in some cases.
Le 22 juil. 09 à 19:29, Keith Duncan a écrit :
I've not used it but I
On Jul 22, 2009, at 10:30 AM, Tarek Khouzam wrote:
So here is my issue. I have an app that when it should have hit the
limit of memory it needs to use, it keeps growing over time.
But after 12 hours or so its memory grows about 10x. So what I would
like to know is where I should go from
On Jul 22, 2009, at 10:30 AM, Tarek Khouzam wrote:
So here is my issue. I have an app that when it should have hit the
limit of memory it needs to use, it keeps growing over time.
But after 12 hours or so its memory grows about 10x. So what I would
like to know is where I should go from here?
There is a sample application at:
http://www.ericgorr.net/cocoadev/WindowPosition.zip
and inside of the zip file is a screen shot (screen shot.tiff) of what
I see when I run the application.
It shows the lower y coordinate of the window at -24 and the window is
entirely on screen.
I
On Wed, Jul 22, 2009 at 12:28 PM, Eric Gorrmail...@ericgorr.net wrote:
There is a sample application at:
http://www.ericgorr.net/cocoadev/WindowPosition.zip
and inside of the zip file is a screen shot (screen shot.tiff) of what I see
when I run the application.
It shows the lower y
Thank you very much.
Date: Wed, 22 Jul 2009 18:53:57 +0200
Subject: Re: UUID method Garbage Collection safe?
From: jja...@gmail.com
To: squ...@live.com
CC: cocoa-dev@lists.apple.com
Correct code is:
+ (NSString *)stringWithUUID{ CFUUIDRef uuidObj =
Yes I was aware of this method. However, according to the docs it only
guarantees uniqueness for a given process, and doesn't guarantee it will be
globally unique, if you know what I mean. Thanks for the suggestion though.
Subject: Re: UUID method
On Jul 22, 2009, at 3:36 PM, Shawn Erickson wrote:
On Wed, Jul 22, 2009 at 12:28 PM, Eric Gorrmail...@ericgorr.net
wrote:
There is a sample application at:
http://www.ericgorr.net/cocoadev/WindowPosition.zip
and inside of the zip file is a screen shot (screen shot.tiff) of
what I see
On Jul 22, 2009, at 12:42 PM, Squ Aire wrote:
Yes I was aware of this method. However, according to the docs it
only guarantees uniqueness for a given process, and doesn't
guarantee it will be globally unique, if you know what I mean.
Thanks for the suggestion though.
As the method name
On Jul 22, 2009, at 3:42 PM, Squ Aire wrote:
Yes I was aware of this method. However, according to the docs it
only guarantees uniqueness for a given process, and doesn't
guarantee it will be globally unique, if you know what I mean.
Thanks for the suggestion though.
The documentation
Mahaboob wrote:
If I developed this application, will apple store approve this?
Given the laws governing the recording of telephone conversations,
probably not.
--
alfonso e. urdaneta
red82.com - are you ready?
___
Cocoa-dev mailing list
Hi everyone:
In the Controller class, I used the code as follows to finished the
contextual menu
on the table view. And I succeeded.
videoContextualMenu= [[[NSMenualloc] initWithTitle:@Contextual Menu]
autorelease];
On 23/07/2009, at 1:03 PM, Bright wrote:
Hi everyone:
In the Controller class, I used the code as follows to
finished the contextual menu
on the table view. And I succeeded.
[]
Now I hope the contextual menu disappears in the empty rows. And it
is only valid in the
rows which
Probably not the best subject line, but best I could come up with...
I an animating a ball across the screen, using this code:
CABasicAnimation *animation = [CABasicAnimation
animationWithKeyPath:@position];
animation.duration = duration;
animation.delegate = self;
animation.timingFunction =
Hi, All,
This is my first attempt to deal with Cocoa container class, so I have
some unclear points. I've found one of many tutorials here:
http://www.cocoadev.com/index.pl?NSTableViewDataSource
where it is said, among other, that NSTableView items may be filled
out like this:
-
On 23/07/2009, at 3:41 PM, Alexander Bokovikov wrote:
My specifics is that the data (strings) are delivered by an
external procedure, located out of ObjC stuff, and returning C-style
strings. My table has only one column. My question is, as usual,
about memory manager: May I write
46 matches
Mail list logo