Debugging a self made Framework

2010-10-25 Thread Frank Gregor
Hello, after hours of searching the web reading the docs, however I'm unable to debug my framework. I've builded it with Debug config and added this builded framework to my project. When I start debugging my project, setting a breakpoint at an object from a class declared in the framework a

[ANN] Houston iPhone dev meetup Tuesday 10/26

2010-10-25 Thread Joao Prado Maia
Hello, We have an Houston iPhone development meetup happening next Tuesday (10/26) at 6:30pm. We currently have 28 people RSVP'ed to the event, and would love to get more developers involved. It's free to attend our meetings Darren Stokes will be presenting an introduction to using Core Data

NSDrawer contentView clip

2010-10-25 Thread gMail.com
I have put some buttons within a drawer.contentView The top most button gets cut by 20 pixels because the contentView result shorter than its superview height. So, at the top of the drawer I always see a gray rectangle, 20 pixels height, where I can't draw in. Please, how can I use the whole

Debugging a self made Framework

2010-10-25 Thread Frank Gregor
Hello, after hours of searching the web reading the docs, however I'm unable to debug my framework. I've builded it with Debug config and added this builded framework to my project. When I start debugging my project, setting a breakpoint at an object from a class declared in the framework a

Re: Debugging a self made Framework

2010-10-25 Thread Jerry Krinock
On 2010 Oct 24, at 08:56, Frank Gregor wrote: When I start debugging my project, setting a breakpoint at an object from a class declared in the framework a Step into method don't work. It always steps over... Can someone give me a hint You've posted to (and possibly searched) the wrong

Re: NSError help

2010-10-25 Thread Tom Jones
Thanks, Yes, the compiler was complaining about the *err = *localErr;. I origionally had it to be *err = localErr; but I was still getting a EXC_BAD_ACCESS error. But then the light bulb went off :-)when I read he isn't checking for nil err, and that is exactly what was my problem. I changed

Drag and drop between 2 table views

2010-10-25 Thread Paul Johnson
I have two table views and I want to drag and drop from one to the other. I'm using Core Data and Bindings, and the I'm able to select items in the source table and I'm copying an index set listing indexes of the selected items to the pasteboard. I haven't been able to drop the selected

HTTPS problem

2010-10-25 Thread Artem
My app is communicating to several secured servers (SSL). One of those working with created by me self-signed certificate. Problem is when app is tries to connect to that server with: - (void)continueWithoutCredentialForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge;

Audio Streaming with Cocoa

2010-10-25 Thread Bilel Mhedhbi
Hi everybody, I want to practice and make my own radio player with Cocoa. I just want to know what are your ideas about how to get an audio stream across the internet (I already did something, but I want to know your ideas before I show it to you). Best Regards, B.

Re: [NSImage] Bug in System Preferences? [solved]

2010-10-25 Thread Iceberg-Dev
On Oct 23, 2010, at 2:41 AM, Ken Ferry wrote: On Oct 22, 2010, at 4:07 PM, Iceberg-Dev dev.iceb...@gmail.com wrote: On Oct 22, 2010, at 12:48 AM, Iceberg-Dev wrote: I'm currently playing with a screen saver. Problem: It draws correctly in fullscreen mode or in SaverLab but

Thread not registered mystery under GC

2010-10-25 Thread Andy O'Meara
Hey guys, hopefully someone who knows what may be going under the pthread/NSThread hood when GC is enabled can solve this little mystery... Pretty straightforward situation: I have a 64 bit Cocoa app (and screen saver) that uses pthreads (via the pthread API, *not* NSThread). To be compatible

Drag and drop between two table views.

2010-10-25 Thread Paul Johnson
I am trying to drag and drop from one text view to another. I can write an index set of copied rows to the pasteboard using: - (BOOL)tableView:(NSTableView *)tv writeRowsWithIndexes:(NSIndexSet *)rowIndexes toPasteboard:(NSPasteboard*)pboard { // Copy the row numbers to the

Move UINavigationBar down?

2010-10-25 Thread Stephen Zyszkiewicz
I'm trying to position the navigation bar below the top of the screen. I've tried the following in viewWillAppear: self.navigationController.view.frame = CGRectMake(0.0, 54.0, 320.0, 426.0); self.navigationController.navigationBar.frame = CGRectMake(0.0, 0.0, 320.0, 44.0); The problem is it

Re: Thread not registered mystery under GC

2010-10-25 Thread Bill Bumgarner
On Oct 25, 2010, at 2:22 PM, Andy O'Meara wrote: Per Apple GC Programming Guide (page 15): // SNIP // Garbage collection is performed on its own thread--a thread is explicitly registered with the collector if it calls NSThread's currentThread method (or if it uses an autorelease

Few binaries in one application's Bundle

2010-10-25 Thread eveningnick eveningnick
Hello My project consists of few binaries, and i wanted to put them into one application Bundle (thus, i placed them into ./Contents/MacOS/). Only one of these binaries is launched when the bundle is doubleclicked in finder (i have specified it in ExecutableFile in bundle's Info.plist file).

Re: Debugging a self made Framework

2010-10-25 Thread Uli Kusterer
On 24.10.2010, at 17:56, Frank Gregor wrote: after hours of searching the web reading the docs, however I'm unable to debug my framework. I've builded it with Debug config and added this builded framework to my project. When I start debugging my project, setting a breakpoint at an object

Re: Audio Streaming with Cocoa

2010-10-25 Thread Uli Kusterer
On 25.10.2010, at 16:10, Bilel Mhedhbi wrote: I want to practice and make my own radio player with Cocoa. I just want to know what are your ideas about how to get an audio stream across the internet (I already did something, but I want to know your ideas before I show it to you).

Re: Move UINavigationBar down?

2010-10-25 Thread Uli Kusterer
On 26.10.2010, at 00:12, Stephen Zyszkiewicz wrote: Should I be trying to adjust the navigation controller frame, or should I instead try to add the navigation controller to another view that is below the top of the screen? Either sounds good. It's probably faster if you just try both than

Re: Few binaries in one application's Bundle

2010-10-25 Thread Uli Kusterer
On 26.10.2010, at 00:23, eveningnick eveningnick wrote: The problem is, when either one of binaries is started, no one else from this bundle can be launched. The bundle itself is LSUIElement=TRUE. I was wondering, if i could use some technique/non-evil hack to keep my appliations in a neat

Re: Few binaries in one application's Bundle

2010-10-25 Thread eveningnick eveningnick
Thanks Uli, it worked! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription:

Re: Audio Streaming with Cocoa

2010-10-25 Thread Jean-Daniel Dupas
Le 26 oct. 2010 à 00:36, Uli Kusterer a écrit : On 25.10.2010, at 16:10, Bilel Mhedhbi wrote: I want to practice and make my own radio player with Cocoa. I just want to know what are your ideas about how to get an audio stream across the internet (I already did something, but I want to

FSCopyObjectSync() failing to overwrite on 10.6?

2010-10-25 Thread Jo Meder
Hi, I'm using FSCopyObjectSync() to copy a file and want it to overwrite the destination file if it exists. However I've discovered this isn't working on 10.6. I'm getting error -48 which is the duplicate filename error. Fair enough, I'm trying to copy and overwrite a file with the same name,

Re: Few binaries in one application's Bundle

2010-10-25 Thread Dave Keck
The problem is, when either one of binaries is started, no one else from this bundle can be launched. The bundle itself is LSUIElement=TRUE. I was wondering, if i could use some technique/non-evil hack to keep my appliations in a neat one bundle (counting that the user should be able to

Re: Drag and drop between two table views.

2010-10-25 Thread Graham Cox
On 26/10/2010, at 8:54 AM, Paul Johnson wrote: I am trying to drag and drop from one text view ^^ you mean TABLE view, right? to another. I can write an index set of copied rows to the pasteboard using: - (BOOL)tableView:(NSTableView *)tv writeRowsWithIndexes:(NSIndexSet