Supporting FTP

2011-05-13 Thread Siegfried
Hello all, I'm working on a new app that needs to support FTP uploading. Searching over the internet and cocoa-dev archives, looks like ConnectionKit is the right framework to use. But, I'm wondering if it's not too big for a simple task. What would you suggest using? libcurl maybe? Does it pr

Re: Supporting FTP

2011-05-13 Thread Mike Abdullah
On 13 May 2011, at 15:01, Siegfried wrote: > Hello all, > > I'm working on a new app that needs to support FTP uploading. Searching over > the internet and cocoa-dev archives, looks like ConnectionKit is the right > framework to use. > > But, I'm wondering if it's not too big for a simple tas

No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Sean McBride
Hi all, So now that Xcode 4 has deprecated .ibplugins, what are those of us that make use of them going to do instead? (Yes, I know I can still use Xcode 3 for now, but I'm looking farther ahead...) We have several custom NSView subclasses that expose bindings. We created an ibplugin so that we

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Dave Fernandes
Also, file a bug report that Xcode 4 should support plugins. On 2011-05-13, at 10:48 AM, Sean McBride wrote: > Hi all, > > So now that Xcode 4 has deprecated .ibplugins, what are those of us that > make use of them going to do instead? > > (Yes, I know I can still use Xcode 3 for now, but I'm l

10.6, sheet controls not responding?

2011-05-13 Thread Eric Williams
I have an app where I drop down a panel using: [NSApp beginSheet: searchResultsPanel modalForWindow: window modalDelegate: self didEndSelector: @selector(didEndSheet:returnCode:contextInfo:) contextInfo: nil]; In addition to two butt

No static functions with linking .a to .dylib

2011-05-13 Thread Alexander Zvyagin
Hello, all! Please help me to link compiled *.a modules to *.dylib library. Currently linked file has runtime errors with no static functions found from .a module by .dylib library: +[NSString stringStaticFunction]: unrecognized selector sent to class 0x12345678 +[NSString stringStaticFunction]

Re: Supporting FTP

2011-05-13 Thread Siegfried
On 13/05/2011, at 11:32, Mike Abdullah wrote: > On 13 May 2011, at 15:01, Siegfried wrote: > >> But, I'm wondering if it's not too big for a simple task. What would you >> suggest using? libcurl maybe? Does it provides better documentation than CK >> (I hope so!)? > > If all you want is uploadi

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Sean McBride
Thanks for the thought, but the feature has been gone since at least WWDC10, and so I'm looking for real-world advice on how to transition, not pipe dreams about Apple changing their mind after a whole year. On Fri, 13 May 2011 10:59:16 -0400, Dave Fernandes said: >Also, file a bug report that X

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Kyle Sluder
On May 13, 2011, at 9:26 AM, Sean McBride wrote: > Thanks for the thought, but the feature has been gone since at least > WWDC10, and so I'm looking for real-world advice on how to transition, > not pipe dreams about Apple changing their mind after a whole year. Doesn't mean you shouldn't file a

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Charles Srstka
On May 13, 2011, at 11:26 AM, Sean McBride wrote: > Thanks for the thought, but the feature has been gone since at least > WWDC10, and so I'm looking for real-world advice on how to transition, > not pipe dreams about Apple changing their mind after a whole year. I was thinking that for a while,

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Sean McBride
On Fri, 13 May 2011 09:54:47 -0700, Kyle Sluder said: >> Thanks for the thought, but the feature has been gone since at least >> WWDC10, and so I'm looking for real-world advice on how to transition, >> not pipe dreams about Apple changing their mind after a whole year. > >Doesn't mean you shouldn

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread lbland
hi- I think it is like a computer ... if you need one now then "what you see is what you got" ... and down the road if you need something else then at that time "what you see is what you got". ... if you don't need a computer then no worries :-) thanks!- -lance __

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Sean McBride
On Fri, 13 May 2011 12:13:15 -0500, Charles Srstka said: >> Thanks for the thought, but the feature has been gone since at least >> WWDC10, and so I'm looking for real-world advice on how to transition, >> not pipe dreams about Apple changing their mind after a whole year. > >I was thinking that f

No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Gabriele de Simone
> No more .ibplugins in Xcode 4, so now what...? I've faced the same problem, and found no elegant solution. Removing dependencies on external plug-ins from a large IB file is tedious and error-prone. Maybe it's unreasonable to think that Xcode will support plug-ins again, but I'm still hopeful

Re: selectionIndexesForProposedSelection on mouse Up or mouse Down

2011-05-13 Thread Corbin Dunn
On May 12, 2011, at 1:42 PM, Brad Stone wrote: > I'm thinking about the perception of the user. When I'm in Mail.app, for > example, clicking in the outlineView (organized by thread) and I click on a > row it feels less responsive because there's a pause before the row > highlights (a pause u

RESOLVED? Re: 10.6, sheet controls not responding?

2011-05-13 Thread Eric Williams
This whole problem went away if I created a new panel in the project, replacing the old panel. I compared all the settings as I went and couldn't find differences. I blame Xcode 4. Eric Williams AIM: wile...@gmail.com Skype: wilersh On May 13, 2011, at 11:09 AM, Eric Williams wrote:

Re: selectionIndexesForProposedSelection on mouse Up or mouse Down

2011-05-13 Thread Quincey Morris
On May 13, 2011, at 10:36, Corbin Dunn wrote: > On May 12, 2011, at 1:42 PM, Brad Stone wrote: > >> I put in NSLog calls to show me when "proposed" and "didChange" get called. >> NSTableView's delegate gets called on mouseDown while NSOutlineView on >> mouseUp. > > That shouldn't be true...an

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Kyle Sluder
On Fri, May 13, 2011 at 10:24 AM, Sean McBride wrote: >>Bindings are also helpful when there are logically >>multiple KVO observations that need to be made. But often times that's >>done more simply with a regular property. > > I have found bindings very helpful for supporting undo, as model chang

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Kyle Sluder
On Fri, May 13, 2011 at 10:27 AM, Sean McBride wrote: > That's a very minor technical problem.  Starting with 10.6 (IIRC) System > Preference plugins went from non-GC to requiring GC.  It wasn't a major > transition. The bigger technical problem probably stems from some things that IB4 does diffe

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Mark Munz
On Fri, May 13, 2011 at 11:10 AM, Kyle Sluder wrote: > > The bigger technical problem probably stems from some things that IB4 > does differently from IB3. Just from analyzing discussion on the dev > forums, it seems apparent that the API needed to change to support > Xcode 4. I bet they're not co

Re: No static functions with linking .a to .dylib

2011-05-13 Thread Greg Parker
On May 13, 2011, at 8:10 AM, Alexander Zvyagin wrote: > Hello, all! > > Please help me to link compiled *.a modules to *.dylib library. > > Currently linked file has runtime errors with no static functions found from > .a module by .dylib library: > > +[NSString stringStaticFunction]: unrecogni

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Greg Parker
On May 13, 2011, at 10:27 AM, Sean McBride wrote: > That's a very minor technical problem. Starting with 10.6 (IIRC) System > Preference plugins went from non-GC to requiring GC. It wasn't a major > transition. Note that there was no transition of existing preference pane binaries. 32-bit prefe

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Sean McBride
On Fri, 13 May 2011 13:43:36 -0700, Greg Parker said: >> That's a very minor technical problem. Starting with 10.6 (IIRC) System >> Preference plugins went from non-GC to requiring GC. It wasn't a major >> transition. > >Note that there was no transition of existing preference pane binaries. >32

Profile (Instruments) and XCode 4

2011-05-13 Thread Luc Van Bogaert
Hi, I've used Instruments in the past with XCode 3.x without problems, but since installing XCode 4, I have been unable to use Profile or Instruments as the app always crashes as soon as it starts. I don't have a clue as to what to check to solve this problem. Any advice would be appreciated.

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Kyle Sluder
On Fri, May 13, 2011 at 1:02 PM, Mark Munz wrote: > Then maybe Xcode 4 wasn't ready for public consumption. There are a lot of things about Xcode 4 that people consider worthy of holding it back. Whoever decides the release schedule obviously disagreed. > I think some > of us that believe Apple'

Autorotation of toolbar?

2011-05-13 Thread Nathan Sims
Hi, I have a very basic iPhone app. It consists of an MKMapView and a UIToolBar at the top. It works, but when I rotate the iPhone, the toolbar goes off to parts unknown and a blank area appears above the map view. How do I correlate/sync the autorotation of the map view with the toolbar? iOS 4.

Re: Autorotation of toolbar?

2011-05-13 Thread Dave DeLong
Configure your autoresizing springs and struts correctly? Dave On May 13, 2011, at 2:42 PM, Nathan Sims wrote: > Hi, I have a very basic iPhone app. It consists of an MKMapView and a > UIToolBar at the top. It works, but when I rotate the iPhone, the toolbar > goes off to parts unknown and a b

Re: Autorotation of toolbar?

2011-05-13 Thread Nathan Sims
Indeed! I had forgotten all about 'them springs'. Thanks! On May 13, 2011, at 3:17 PM, Dave DeLong wrote: > Configure your autoresizing springs and struts correctly? > > Dave > > On May 13, 2011, at 2:42 PM, Nathan Sims wrote: > >> Hi, I have a very basic iPhone app. It consists of an MKMapVi

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Mark Munz
On Fri, May 13, 2011 at 2:12 PM, Kyle Sluder wrote: > > We're starting to head off-topic here. The important thing to do now > is to file bugs against Xcode 4's lack of an IB plugin API. Yes, > complaining is cathartic and might be great exercise for developing an > argument, but even the most wel

Temporary directory names?

2011-05-13 Thread Rick Mann
10.6.7. I'm using -[URLForDirectory:inDomain:appropriateForURL:create:error:] (with create: true) to get a NSItemReplacementDirectory for safe-saving of a file. I create a temporary file in that directory for writing, then replace. The directory that gets created looks like (for my app

Can't create temporary file

2011-05-13 Thread Rick Mann
OS X 10.6.7. I'm trying to create a temporary file as part of exporting some app data. But I get this error when I try to create the file. The error code is ridiculously unhelpful: 2011-05-13 22:27:32.074 Foo[35181:a0f] Error creating file [file://localhost/private/var/folders/0O/0O9Zc+ZKFCy+B

Re: @property IBOutlet

2011-05-13 Thread William Squires
On Apr 25, 2011, at 10:57 PM, koko wrote: > Using this ; > > @property (nonatomic, retain) IBOutlet UIPickerView myPickerView; > > and > > @synthesize myPickerView; > > > do I still need to connect the outlet in IB? My observation says yes but am I > not understanding something? > > I.e.

Re: Can't create temporary file

2011-05-13 Thread Quincey Morris
On May 13, 2011, at 22:46, Rick Mann wrote: > Any idea what I'm doing wrong? Well, this seems relevant: http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSFileHandle_Class/Reference/Reference.html Specifically: > fileHandleForWritingToURL:error

Re: Properties vs Instance Variables

2011-05-13 Thread William Squires
On Apr 26, 2011, at 10:28 PM, Guy Steven wrote: > I am currently learning objective c and cocoa > > I believe I understand the difference between properties and instance > variables, and the effect of using properties as opposed to instance > variables viz a viz KVO and memory management. > > W

Re: Scroll view within scroll view blocks scrolling

2011-05-13 Thread William Squires
On Apr 28, 2011, at 6:12 PM, Indragie Karunaratne wrote: > Despite the confusing title, I'm sure this is an issue that someone else has > run into before. I have a parent scroll view that houses a bunch of subviews, > including an NSTextView (and its own scroll view). The problem is that if I

Re: Temporary directory names?

2011-05-13 Thread Ken Thomases
On May 14, 2011, at 12:46 AM, Rick Mann wrote: > 10.6.7. I'm using > > -[URLForDirectory:inDomain:appropriateForURL:create:error:] > > (with create: true) to get a NSItemReplacementDirectory for safe-saving of a > file. I create a temporary file in that directory for writing, then replace