Hi,
I've been struggling to find any information on writing visualizers
for iTunes 10.4. Is there a modern equivalent of the venerable
TN2016?
-Jonathan
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or modera
Hi,
I have an NSManagedObject with a transformable property
arrayOfWidgets, which is an NSArray of Widget instances, which
implement encodeWithCoder:
If I treat the Widget class as immutable, it all works fine : I assign
an NSArray of initialized widgets to arrayOfWidgets, and call save on
the ma
On 19 October 2010 04:38, Sandro Noël wrote:
> Greetings.
>
> The lead developer at my workplace left his brainchild behind but forgot to
> write any documentation for it.
> the framework is now quite unusable because it is quite extensive an no one
> knows the depth of it's architecture.
>
> I
don't have to worry about the managed object
> disappearing from underneath you. Then you can simply clean up the
> connection in the connection:didFailWithError: or connectionDidFinish:
> delegate methods.
>
> Dave
>
> On Sep 30, 2010, at 7:41 AM, Jonathan del Strother
Hi,
I'm in the process of converting an existing iPhone app to use Core
Data for its backend storage. I've got a model that manages an upload
of its own attributes to a server - it has a retained NSURLConnection
instance variable. Traditionally, I'd just release the connection in
the model's dea
On 19 May 2010 13:02, Gideon King wrote:
> I'm looking for some sample code that shows how to take a token in a text
> view and represent it as a single graphical item - just like what xcode does
> when it does method completion, and it puts the arguments in a single blue
> capsule thing that i
On 13 May 2010 14:00, John Pannell wrote:
> Hi Tharindu-
>
> In the past, I have used a UUID for this purpose. You could add the
> following method to a category on NSString to make it quite easy:
>
> + (NSString*) stringWithNewUUID
> {
> CFUUIDRef uuidObj = CFUUIDCreate(nil);
> NSString *
On 11 May 2010 10:39, Steve Cronin wrote:
> Folks;
>
> I need to pare back a project, remove some of the cruft.
>
> I copied the entire project directory and renamed the project and bundle
> identifier for now.
> I've removed various IB widgets as well as objC classes.
>
> I can now build without
On 18 March 2010 18:03, Kyle Sluder wrote:
> On Thu, Mar 18, 2010 at 4:48 AM, Peter Hudson wrote:
>> Does this code report on my app being debugged by any third party, even when
>> the app has been stripped of symbols ?
>
> It does precisely what it claims to do: asks the kernel if the
> P_TRACED
2010/1/11 Gerriet M. Denkmann :
> When I rotate my iPhone in the Simulator, I get:
>
> ... malloc: *** error for object 0x1091000: pointer being freed was not
> allocated
> *** set a breakpoint in malloc_error_break to debug
> (gdb) bt
> #0 0x980d2072 in malloc_error_break ()
> #1 0x97fe1303 in
Perhaps you should be calling the internetConnection function, rather
than comparing its address to 0x001 ?
if (internetConnection() == YES)
2009/12/15 Chunk 1978 :
> i have been researching how to do this, and while i believe my code is
> correct, i always receive the alert stating the
That looks an awful lot like it's running via rosetta. Perhaps the
user has done Get Info on your app and ticked the 'Open using Rosetta'
box?
2009/12/14 David Blanton :
>
>
> I ask this here as I have seen questions on Crash Reports.
>
> This is is Universal Binary ... why is there any PPC invo
h the nib.
>
> Luke
>
> On Nov 3, 2009, at 5:27 AM, Jonathan del Strother wrote:
>
>> 2009/11/3 Jonathan del Strother :
>>>
>>> Heya,
>>>
>>> I'd like to get hold of the top level objects returned by -[NSBundle
>>> loadNibNamed:ow
2009/11/3 Jonathan del Strother :
> Heya,
>
> I'd like to get hold of the top level objects returned by -[NSBundle
> loadNibNamed:owner:options:] when UIViewController loads my view.
> Sadly UIViewController doesn't seem to provide any way of accessing
> these, so I tho
Heya,
I'd like to get hold of the top level objects returned by -[NSBundle
loadNibNamed:owner:options:] when UIViewController loads my view.
Sadly UIViewController doesn't seem to provide any way of accessing
these, so I thought I might be able to just load the nib myself :
-(void)loadView {
cey
Morris wrote:
> On Aug 29, 2009, at 05:36, Jonathan del Strother wrote:
>
>> After upgrading to snow leopard & Xcode 3.2, I've starting getting
>> this warning on NSLogs -
>>
>> NSLog(@"Hello"); // 'Format not a string literal and no form
After upgrading to snow leopard & Xcode 3.2, I've starting getting
this warning on NSLogs -
NSLog(@"Hello"); // 'Format not a string literal and no format arguments'
NSLog(@"Hello %@", name); // compiles fine
I must have some weird project setting somewhere since a new test
project didn't t
2009/8/29 James :
> Hi all,
> How to extract the "Artist" information from an song file?
> Is there any method about it ? Any clues is helpful for me.
> Thank you in advance!
If it's an AAC file, you can use the QTMetaData* functions. If you're
looking to get it out of an mp3, you're unfortunatel
On Thu, Aug 27, 2009 at 11:29 AM, Reza Farhad wrote:
> Dear all
>
> I am running my code through xcode "Build and Analyze" to check for bugs.
> I have the function below which gives me the following error:
>
> Object with +0 retain counts returned to caller where a +1 (owning) retain
> count is exp
On Mon, Aug 24, 2009 at 6:19 PM, Michael A.
Crawford wrote:
> Why would the class initializer be called more than once when my app starts
> up? Is this expected behavior? In case you're wondering, it is called
> twice.
>
> + (void)initialize
> {
> // Create the defaults dictionary, fill it with
On Thu, Aug 13, 2009 at 12:11 PM, Jonathan del
Strother wrote:
> Heya,
> I'm struggling a bit with an NSArrayController with content bound to
> NSUserDefaultsController.
>
> The NSArrayController manages dictionaries, and so it appears that I
> need to select 'Handl
Heya,
I'm struggling a bit with an NSArrayController with content bound to
NSUserDefaultsController.
The NSArrayController manages dictionaries, and so it appears that I
need to select 'Handles Content as Compound Value'. Without this,
changes made to the array through an NSTableView don't seem t
good thing is it did not crash anymore after 200-300 images
> displayed.
> Thanks a lot,
> Dragos
>
>
> On Fri, Jul 24, 2009 at 3:14 AM, Jonathan del Strother
> wrote:
>>
>> UIImage* image = [UIImage imageNamed:fileName];
>> UIImageView *imageView = [
UIImage* image = [UIImage imageNamed:fileName];
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
[image release];
You're overreleasing the image there. You sure the phone is dying
because it's out of memory, rather than because of that?
On Fri, Jul 24, 2009 at 3:07 AM, Dragos
pplication, will apple store approve this?
>
> On 7/22/09 3:06 PM, "Jonathan del Strother" wrote:
>
>> 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 whate
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 King wrote:
> No. Not using published APIs in 2.2 (or 3.0). No access to
On Mon, Jun 15, 2009 at 12:57 PM, Chunk 1978 wrote:
> i installed Safari Block for Safai 4. Safari Block, for those who do
> not already know, blocks flash banner ads on internet sites. to
> install, users simply drag Safari Block folder into
> /Libary/InputManagers. Safai Block works fine.
>
M
On Wed, May 20, 2009 at 1:35 PM, Graham Cox wrote:
>
> On 20/05/2009, at 10:24 PM, Jerry Krinock wrote:
>
>> I believe a short version of your question is: "How can I get multiple
>> inheritance?" The short answer is that Objective-C does not support
>> multiple inheritance.
>
> Yep. I know that,
On Thu, Dec 18, 2008 at 6:43 PM, Stephen J. Butler
wrote:
> Actually, this works for me on 10.5.6, with XCode 3.1.1. The assert
> doesn't trigger.
>
...
> Or it could be a bug that was fixed in the latest release.Try putting
> a run loop in your main function instead. I'd try it, but like I said,
Heya,
I ran into a memory leak recently that I finally managed to track down
to NSURLConnection retaining its delegate.
It appears that cancelling an NSURLConnection won't actually release
its delegate until the next time around the run loop. Normally this
is fine, but I was running on a separate
On Fri, Dec 12, 2008 at 2:54 PM, wrote:
>
> On 12 Dec 2008, at 15:41, Jonathan del Strother wrote:
>
>> Which works fine, but rapidly expands into a huge if-statement as you
>> try and handle more states. Ideally I'd like to do something along
>> the lines of:
&
On Fri, Dec 12, 2008 at 2:14 PM, Kyle Sluder
wrote:
> On Fri, Dec 12, 2008 at 9:12 AM, Kyle Sluder
> wrote:
>> On Fri, Dec 12, 2008 at 8:53 AM, Jonathan del Strother
>>> The number of arguments isn't known at compile-time. I'd like to be
>>> able
I'm calling a method that takes a nil-terminated variable list of
arguments. It doesn't supply a va_arg alternative (like NSLogv,
-[NSString initWithFormat:arguments:] etc).
The number of arguments isn't known at compile-time. I'd like to be
able to take an NSArray of the arguments, and programm
Please just refer people to
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html
when memory management comes up.
And in Gecko's case, 'crypto' certainly does need to be released,
since it's being alloc-inited.
On Tue, Nov 4, 2008 at 1:48 PM, Alex
NSString has most of them. See -[NSString pathComponents], -[NSString
stringByAppendingPathComponent:] etc.
On Wed, Oct 29, 2008 at 1:01 PM, Daniel Luis dos Santos
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> Are there in the Foundation framework (or anywhere else on the Cocoa
> platform) path handlin
On Tue, Oct 28, 2008 at 4:54 PM, han <[EMAIL PROTECTED]> wrote:
> how to run single instance?
Double click
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderator
On Thu, Oct 23, 2008 at 12:34 PM, Sebastian Pape
<[EMAIL PROTECTED]> wrote:
> But my NSMutableDictionary won't accept my NSString, because it
> requires setValue:(id)value and I just have my NSString.
'id' is just a generic type - anything that accepts id will accept
NSString, NSObject, NSData, et
On Wed, Oct 15, 2008 at 11:36 AM, Chris Suter <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 15, 2008 at 9:03 PM, John Engelhart
> <[EMAIL PROTECTED]> wrote:
>>
>> On Oct 14, 2008, at 7:11 AM, Chris Suter wrote:
>>>
>>> You can't override the type for existing methods. For example,
>>> initWithString: al
On Tue, Oct 14, 2008 at 3:38 PM, John Zorko <[EMAIL PROTECTED]> wrote:
>
> Hello, all ...
>
> I'm experiencing a crash after a thread exits.
>
> Program received signal: "EXC_BAD_ACCESS".
> (gdb) bt
> #0 0x300c8c18 in objc_msgSend ()
> #1 0x3067073a in NSPopAutoreleasePool ()
> #2 0x306770ea in
On Tue, Sep 30, 2008 at 8:19 PM, Jonathan del Strother
<[EMAIL PROTECTED]> wrote:
> Heya
> I'm struggling a bit with NSViewControllers. My app displays a list
> of widgets. I have a Widget model, a WidgetView view (an NSView
> subclass), and a WidgetViewController (an NS
On Sat, Oct 4, 2008 at 3:43 PM, Andre Masse <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Can someone explain to me why I get this compiler warning (BigLetterView is
> a subclass of NSView):
>
> 'BigLetterView' may not respond to '-prepareAttributes'
>
>
>
> - (id)initWithFrame:(NSRect)rect {
>
>if(
On Thu, Oct 2, 2008 at 12:42 AM, Graham Cox <[EMAIL PROTECTED]> wrote:
>
> On 2 Oct 2008, at 5:02 am, Genu Mathew wrote:
>
>> On debugging, I found that when I run the command [NewWindow
>> showWindow:self] in the APPController class, the constructor of
>> 'OUSubImageView is called twice
>
>
>
> So
Heya
I'm struggling a bit with NSViewControllers. My app displays a list
of widgets. I have a Widget model, a WidgetView view (an NSView
subclass), and a WidgetViewController (an NSViewController subclass).
All of those have a one-to-one mapping - for any given
WidgetViewController, it has a repr
On Fri, Sep 19, 2008 at 4:18 PM, development2
<[EMAIL PROTECTED]> wrote:
> Ok I hope someone can help me. I need to get this working.
>
> Here is what I am doing. I have a class called Object, it is set up like
> this:
>
> -- Object.h
>
> @interface Object : NSObject
> {
>
>NSNu
On Wed, Aug 27, 2008 at 12:13 PM, Memo Akten <[EMAIL PROTECTED]> wrote:
> ok thanks, I"ve added that link to my ever growing Cocoa bookmarks!!
> I'm just writing a Quartz Composer plugin using the QCPlugIn API and ran
> into a problem regarding this, my question isn't related to the QCPlugIn API
>
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 *myData1 = [NSDictionary
> dictionaryWithContentsOfFile:@"mydata.plist"]; // this one I don't
> need to release when I'm done?
> NSDictionary *myData
On Fri, Aug 22, 2008 at 3:58 PM, Paul Bruneau
<[EMAIL PROTECTED]> wrote:
> I feel I can nearly grasp what I need to do, but not quite. I know what I
> shouldn't be doing--which is what I am doing and I feel I'm a little in the
> weeds. I seek a nudge in the right direction if someone can help.
>
>
On Thu, Aug 21, 2008 at 9:17 AM, Thomas Engelmeier
<[EMAIL PROTECTED]> wrote:
>
> Am 20.08.2008 um 22:54 schrieb Jesse Grosjean:
>
>> Does anyone know what the best way to parse form values from and HTTP Post
>> is?
>>
>> I have a mini HTTP server in my app, and it needs to accept posts. I'm
>> usi
On Tue, Aug 19, 2008 at 2:33 PM, Carmen Cerino Jr. <[EMAIL PROTECTED]> wrote:
> Sorry about the sketchy details. Basically I have a wrapper class for the
> Sequence Grabber, and I want to setup a delegate for the decompression
> callback.
>
> This is where I use the respondsToSelector method:
> sta
On Mon, Jul 28, 2008 at 8:02 AM, Graham Cox <[EMAIL PROTECTED]> wrote:
> Once in a blue moon, I get a console message that a nil string was passed to
> [NSConcreteAttributedString initWithString:] I'd like to find out where this
> is coming from by setting a breakpoint there, but only for a nil str
On Mon, Jul 7, 2008 at 10:38 PM, Meik Schuetz <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> according to the document
>
> http://developer.apple.com/documentation/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLConnection.html
>
> the connection object as well as the receivedData object are released
On Thu, Jun 19, 2008 at 9:36 AM, Martin Häcker <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I was today stung by a problem that I couldn't quite understand.
>
> I was importing a header file with #import and the compiler complained about
> a duplicate interface declaration of the class defined in the
On Mon, Jun 16, 2008 at 11:35 AM, Glover,David
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
>
> I've created a little app that removes some files from within
> /Applications. This works fine when logged in as an Administrator, but
> won't run when logged in as a standard user.
>
>
>
> I've been spendi
On Tue, Jun 10, 2008 at 1:32 PM, Steven Hamilton <[EMAIL PROTECTED]> wrote:
> Hi folks, newbie here.
>
> A quickie query on a warning.
>
> Both returns in the following code give a 'warning: return makes pointer
> from integer without cast'
>
> - (id)outlineView:(NSOutlineView *)outlineView
> numbe
On Mon, Jun 9, 2008 at 2:34 PM, David Troy <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I am new to Cocoa and XCode and have spent the most recent part of my 20+
> years of programming using Ruby rather extensively.
>
> Part of the kool-aid in Ruby land is test-driven and behavior driven
> developmen
On Mon, Jun 2, 2008 at 1:02 AM, Nathan <[EMAIL PROTECTED]> wrote:
> here's my code:
>
> int x;
> - (IBAction)addNew:(id)sender {
>NSString *temp = @"Enter Todo Item Here";
>[Items addObject: temp];
>x=[Items count];
>[label setIntValue: x];
>[tableView setDataSou
On 6/1/08, Stéphane Droux <[EMAIL PROTECTED]> wrote:
> On Sun, Jun 1, 2008 at 1:40 PM, Brian Christensen <[EMAIL PROTECTED]> wrote:
>
>>
>> Even with this new code I'm still not observing any leaking. Are you using
>> garbage collection? With GC enabled you will observe fluctuations until
>> the
>>
On Sat, May 31, 2008 at 10:03 AM, Hamish Allan <[EMAIL PROTECTED]> wrote:
> On Sat, May 31, 2008 at 8:48 AM, Rick Mann <[EMAIL PROTECTED]> wrote:
>>
>> On May 31, 2008, at 00:32:30, j o a r wrote:
>>
>>> Search for "NSKeyValueObservingOptionNew" here:
>>
>> Already using that:
>
> Read it again:
>
On Fri, May 23, 2008 at 10:33 PM, Wayne Shao <[EMAIL PROTECTED]> wrote:
> I am thinking to use Cover Flow in cocoa app.
>
> - Is this a good idea for a desktop/laptop app?
> - What APIs are available?
CoverFlow outside of iTunes? Terrible idea, it'll never take off.
__
On Mon, May 19, 2008 at 11:27 AM, <[EMAIL PROTECTED]> wrote:
> Hi,
> I want to convert string to its corresponding values.I found a method in
> NSAttributedString initWithHtml,i think it will convert HTML to
> attributed string.I found 3 attributes
> NSString *NSExcludedElementsDocumentAttribute
Hi,
I have a CALayer covering my view, with a blur background filter.
Works fine for static cases - everything behind the blur layer is
blurred.
However, for layers that update themselves continuously - eg
QTMovieLayer or QCCompositionLayer - or even just plain layers that
move, I get ugly trails a
On Sun, Apr 20, 2008 at 4:25 PM, Don Arnel <[EMAIL PROTECTED]> wrote:
> I have two different class objects that need to know about each other (see
> below). But if I include the header from one class inside the header of the
> other class the compiler complains. Is this even possible?
>
> ClassOne
On Fri, Apr 18, 2008 at 9:00 PM, Wesley Smith <[EMAIL PROTECTED]> wrote:
> I'm trying to debug a Cocoa app that occasionally exceeds the max
> allowable number of file handles open and I'm wondering if there's a
> way to query how many are actually open. I haven't found anything in
> the docs.
On Thu, Apr 17, 2008 at 11:47 PM, Don Arnel <[EMAIL PROTECTED]> wrote:
> I've been working on a project for a few weeks now and suddenly today I get
> this error while building (see below). I was getting this same error in one
> of my real classes so after commenting out almost every bit of code an
On Wed, Apr 16, 2008 at 1:17 AM, Mario Gajardo Tassara
<[EMAIL PROTECTED]> wrote:
>
> El 15-04-2008, a las 14:21, [EMAIL PROTECTED] escribió:
>
>
> >
> > > I have a nasty leak problem when i realloc several methods of the main
> class of my app.
> > >
> >
> > Without seeing your code, all I can s
On Sun, Apr 13, 2008 at 6:48 PM, Ferhat Ayaz <[EMAIL PROTECTED]> wrote:
> I see in some Apple's Cocoa examples that ivars are set to nil in the
> dealloc method. The auto generated Core Data AppDelegate for new projects
> is doing this for each ivar. Here is a simple example:
>
> - (void)dealloc
On Wed, Apr 9, 2008 at 11:13 AM, norio <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My app wants to know whether the name or the location of a folder got
> changed.
> Is there any notifications to tell those changes?
You might try the FSEvents api
___
Cocoa-d
On Thu, Apr 3, 2008 at 8:38 PM, David Duncan <[EMAIL PROTECTED]> wrote:
> On Apr 3, 2008, at 12:28 PM, Jonathan del Strother wrote:
>
> >
> > > If you have a CVPixelBufferRef, you can use the various functions
> defined
> > > for a CVPixelBuffer to access the
On Thu, Apr 3, 2008 at 8:23 PM, David Duncan <[EMAIL PROTECTED]> wrote:
> On Apr 3, 2008, at 11:34 AM, Jonathan del Strother wrote:
>
>
> > CALayer says that 'contents' is "typically a CGImageRef, but may be
> > something else". I (optimistically) tr
I have a CVPixelBufferRef, with a 2vuy pixel format. I'd like to
display it in a CALayer.
CALayer says that 'contents' is "typically a CGImageRef, but may be
something else". I (optimistically) tried assigning the
CVPixelBufferRef directly to the contents, but apparently that's not
included in t
On Thu, Mar 27, 2008 at 12:21 PM, Nick Rogers <[EMAIL PROTECTED]> wrote:
> i'm declaring the following method:
>
> - (BOOL)searchNodeTarget:(const ItemType)target
> location:(int &)location;
>
> with error: "parse error before '&' token".
>
> can we not use (int &) this way?
Re
On Wed, Mar 19, 2008 at 5:54 PM, Stuart Malin <[EMAIL PROTECTED]> wrote:
> I am having some trouble in an app with an object and its retain
> counts, so I added methods to intercept -retain and -release on my
> affected object so I could set breakpoints to observe the value. But
> doing so cause
On Fri, Feb 22, 2008 at 12:27 AM, Chris Ryland <[EMAIL PROTECTED]> wrote:
> Other than sporadic mentions of problems hither and thither, I don't
> see anyone complaining about using .xib (vs .nib) format much.
>
> Does that mean they're safe to use? Any other experiences?
>
I've found they're be
73 matches
Mail list logo