Hi All,
I'm using an AVAudioPlayer object to run some Garage Band loop in my App. My
question is how to delete the object when I live the view.
I've set to "stop" the AVAudioPlayer object when I live to stop the music, but
the object is not destroyed.
Have I to set "object=nil;" befor exit?
Anyw
I have an NSTextView to which I want to add some lines that connect
certain words. When the text changes, either by editing, or scrolling,
that lines should follow the words. I thought about using
CoreAnimation, but text in a CATextLayer does not appear to be
editable like the text in an NSTextView
On Mar 30, 2012, at 8:31 PM, Peter Teeson wrote:
> In a Document app I have an NSMatrix. I only need to override drawRect.
> Rather than using a sub-class, which seems overkill to me,
> I decided to try a Category instead.
Categories don't override, they replace. As has already been noted , t
Thank you all for your answers and suggestions.
My use case is to create CFStrings from Unicode - which in the majority of
cases are "short" strings - say, less than 100 characters. In this case, I
create an immutable CFString directly in one go.
Less frequently in the typical use case of the a
Is it possible to use MPMediaPickerController with the iOS 5.x simulator?
I've used it but I get the following exception:
'NSInternalInconsistencyException', reason: 'Unable to load iPodUI.framework'
The code I've used is:
MPMediaPickerController *picker = [[MPMediaPickerController alloc]
in
Le 31 mars 2012 à 18:20, Andreas Grosam a écrit :
> Thank you all for your answers and suggestions.
>
> My use case is to create CFStrings from Unicode - which in the majority of
> cases are "short" strings - say, less than 100 characters. In this case, I
> create an immutable CFString directl
No, Luca, you can not use the iPod framework in the simulator.
On Mar 31, 2012, at 1:10 PM, Luca Ciciriello
wrote:
> Is it possible to use MPMediaPickerController with the iOS 5.x simulator?
>
> I've used it but I get the following exception:
>
> 'NSInternalInconsistencyException', reason: 'Unab
I used "Edit->Refactor->Convert to Objective-C ARC...". My app works fine but
I'm getting a syntax error in Apple's header files. They're all in the same
place: @private.
There error is '__strong' only applies to objective-c object or block pointer
types; type here is 'void *'
Here's an exa
Mac OS 10.7, Xcode 4.3.2
I have an application with which I would like to set Finder labels (colors) for
directories. I use the URL resource API to read and write NSURLLabelNumberKey
for the target directory. This works, up to a point.
If I set the label number to 0, it behaves as expected: Any
On Mar 31, 2012, at 5:29 PM, Fritz Anderson wrote:
> +[NSWorkspace fileLabelColors] returns the available label colors in the same
> order as the index.
>
> What I'd really like is to use the same order as appears in the preferences,
> and in the File/contextual menu. That is, I'd like to confo
On 31/03/2012, at 11:08 PM, Koen van der Drift wrote:
> I have an NSTextView to which I want to add some lines that connect
> certain words. When the text changes, either by editing, or scrolling,
> that lines should follow the words. I thought about using
> CoreAnimation, but text in a CATextLay
On Mar 31, 2012, at 6:09 PM, Graham Cox wrote:
>
> On 31/03/2012, at 11:08 PM, Koen van der Drift wrote:
>
>> I have an NSTextView to which I want to add some lines that connect
>> certain words. When the text changes, either by editing, or scrolling,
>> that lines should follow the words. I
Thanks very much for your input guys.
David:
I had carefully read the Categories and Extensions page in OBJ-C Programming
Language.
And, based on the first paragraph, assumed I could add functionality to
drawRect for my particular case.
Stephen:
In my app there is only the one NSMatrix instan
I don't know if this was the issue that Steven was asking about, but I've been
wondering if there is a recommended way to persist the undo stack so that it's
still available if you restart the app, or close and re-open the document. It's
always bothered me that there is this great mechanism for
Hi
In our plug-ins we are using cursors kept in a *.CUR file.
In windows there's no problem to identify the hot spot from the *.CUR file
(because it's a WIN file, LoadCursor already knows where is the hot spot
automatically).
But in MAC Cocoa, we've encountered a problem when we create a new NSCu
With the release of iOS 5.1, the default behavior for SplitViews has changed so
that when you hide the Master ViewController in a BarButtonItem, instead of
presenting a Popover, the Master VC slides in from the left side of the screen.
Since this is the default behavior now, is it recommended th
Does anyone know of an open-source library that implements Cocoa
touch-style gesture recognisers on OS X?
Thanks,
Doug
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact t
Hello friends.
I'm new to the list and new in Objective-C and Apple programming and I have a
very timely question, I want to manipulate images to develop stenography, but
do not know where begin. I'm reading:1.-vImage Programming Guide2 Core Image
Programming Guide
But it is not clear which l
You may want to look at the freely downloadable Session 114 - Advance Cocoa
Text Tip and Tricks from iTunesU in WWDC 2010 videos. It may help.
Salman
On Mar 31, 2012, at 5:08 AM, Koen van der Drift wrote:
> I have an NSTextView to which I want to add some lines that connect
> certain words. W
Hi all
This is must be the most simple a puzzling problem I've had. Take a new app,
create a custom view class with a drawrect of
- (void)drawRect:(NSRect)dirtyRect
{
if ([NSApp isActive]) {
[[NSColor redColor] set];
}
else {
[[NSColor blueColor
Wikipedia says that cur/ico files have a very simple format:
http://en.wikipedia.org/wiki/ICO_(file_format)
Part of the ICONDIRENTRY structure is the hotspot information. Should
be pretty easy to write a basic parser.
On Sun, Mar 25, 2012 at 4:25 AM, Oshrat Fahima wrote:
> Hi
> In our plug-ins
On Mar 27, 2012, at 4:19 PM, deoxy t2 wrote:
>
>
> Hello friends.
> I'm new to the list and new in Objective-C and Apple programming and I have a
> very timely question, I want to manipulate images to develop stenography, but
> do not know where begin. I'm reading:1.-vImage Programming Guide
22 matches
Mail list logo