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
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
On 19 October 2010 04:38, Sandro Noël apple.li...@gestosoft.com 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
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
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 wrote:
if my model refaults
On 19 May 2010 13:02, Gideon King gid...@novamind.com 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
On 18 March 2010 18:03, Kyle Sluder kyle.slu...@gmail.com wrote:
On Thu, Mar 18, 2010 at 4:48 AM, Peter Hudson peter.hud...@mac.com 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
2010/1/11 Gerriet M. Denkmann gerr...@mdenkmann.de:
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
Perhaps you should be calling the internetConnection function, rather
than comparing its address to 0x001 ?
if (internetConnection() == YES)
2009/12/15 Chunk 1978 chunk1...@gmail.com:
i have been researching how to do this, and while i believe my code is
correct, i always receive 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 aired...@tularosa.net:
I ask this here as I have seen questions on Crash Reports.
This is is Universal Binary ... why is
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 {
2009/11/3 Jonathan del Strother maill...@steelskies.com:
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
, 2009, at 5:27 AM, Jonathan del Strother wrote:
2009/11/3 Jonathan del Strother maill...@steelskies.com:
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
2009/8/29 James ldl0313...@163.com:
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
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 throw
Morrisquinceymor...@earthlink.net 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 format
arguments'
NSLog(@Hello %@, name); // compiles
On Thu, Aug 27, 2009 at 11:29 AM, Reza Farhadr...@qu-s.eu 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
On Mon, Aug 24, 2009 at 6:19 PM, Michael A.
Crawfordmichaelacrawf...@me.com 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
On Thu, Aug 13, 2009 at 12:11 PM, Jonathan del
Strothermaill...@steelskies.com 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 'Handles Content as
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
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
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
maill...@steelskies.com wrote:
UIImage* image = [UIImage imageNamed:fileName];
UIImageView *imageView = [[UIImageView alloc] initWithImage:image
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 Mon, Jun 15, 2009 at 12:57 PM, Chunk 1978chunk1...@gmail.com 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
On Wed, May 20, 2009 at 1:35 PM, Graham Cox graham@bigpond.com 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
On Thu, Dec 18, 2008 at 6:43 PM, Stephen J. Butler
stephen.but...@gmail.com 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
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
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
On Fri, Dec 12, 2008 at 2:14 PM, Kyle Sluder
kyle.sluder+cocoa-...@gmail.com wrote:
On Fri, Dec 12, 2008 at 9:12 AM, Kyle Sluder
kyle.sluder+cocoa-...@gmail.com 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
On Fri, Dec 12, 2008 at 2:54 PM, matt.go...@agfa.com 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:
NSMutableArray
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,
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 handling
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 moderators
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, etc.
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: always returns an
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 NSViewController subclass).
All
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(![super
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
Sounds like you
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
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 *myData2 =
On Wed, Aug 27, 2008 at 12:13 PM, Memo Akten [EMAIL PROTECTED] wrote:
ok thanks, Ive 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
so I'm
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.
I have
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
using CFHTTP to
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:
static
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 string.
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 in the
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 header
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 spending some time
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
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
development
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
collector gets
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:
The change dictionary
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 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. Does
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 and
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 suggest is making
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-dev
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 base address, row bytes, width, height
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 causes
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 better
62 matches
Mail list logo