Re: sync core-data store between OS X and iOS

2010-08-25 Thread Martin Hewitson
On Aug 26, 2010, at 6:39 AM, Nick Zitzmann wrote: > > On Aug 25, 2010, at 10:07 PM, Martin Hewitson wrote: > >> I just wanted to confirm what I've read. Basically, it seems to be true that >> there is currently no official apple API which allows one to sync a >> core-data store between OS X a

[Moderator] spammer removed Re: (no subject)

2010-08-25 Thread Scott Anguish
Must have been a long time subscriber as this never came through moderation or hacked via their yahoo account. But unsubbed just to be safe. sorry for the noise. On Aug 25, 2010, at 4:24 PM, Theodore Petrosky wrote: > http://doqodequ.reco.ws/holyno.html WantMore Ero Stay ingPow er? > SuperbT

Re: sync core-data store between OS X and iOS

2010-08-25 Thread Nick Zitzmann
On Aug 25, 2010, at 10:07 PM, Martin Hewitson wrote: > I just wanted to confirm what I've read. Basically, it seems to be true that > there is currently no official apple API which allows one to sync a core-data > store between OS X and iOS. Am I correct in this statement? Yes, you are. Nick

sync core-data store between OS X and iOS

2010-08-25 Thread Martin Hewitson
Dear list, I just wanted to confirm what I've read. Basically, it seems to be true that there is currently no official apple API which allows one to sync a core-data store between OS X and iOS. Am I correct in this statement? I was at least expecting a way to do it over iTunes and MobileMe. I f

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread Dikshith Rai
> Depending on your sleep interval and the time it takes your application to > startup, you could end up hitting one of the watchdog timers and having your > application get killed. Oh! Thanks for this information David :-) Regards, Dikshith On 26-Aug-2010, at 1:05 AM, David Duncan wrote:

Re: Crashes in _Unwind_Resume

2010-08-25 Thread Joar Wingfors
On 25 aug 2010, at 10.39, Benjamin Rister wrote: > Do you have some experience that this is a compiler bug, or is it just a > guess because it involves exception machinery? I would expect that LLVM’s > exception handling is pretty well broken-in by now, considering the volume of > Obj-C and C+

Re: Crashes in _Unwind_Resume

2010-08-25 Thread Greg Parker
On Aug 25, 2010, at 5:20 PM, Roland King wrote: > I've had some of those crashes recently too. In my case I tracked it down to > some bad code I'd written in a KVO method which was throwing an exception > when it was getting called for an update. Instead of seeing the error > (invalid selector I

Re: Crashes in _Unwind_Resume

2010-08-25 Thread Roland King
I've had some of those crashes recently too. In my case I tracked it down to some bad code I'd written in a KVO method which was throwing an exception when it was getting called for an update. Instead of seeing the error (invalid selector I think it was) the app just crashed, when put under the

Re: Document Cursor

2010-08-25 Thread Richard Somers
On Aug 25, 2010, at 1:41 PM, John C. Randolph wrote: Sounds like a job for delayed messaging. It works. You are a genius. Thanks so much. --Richard ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or modera

Re: UTI for Mach-O file

2010-08-25 Thread John Johnson
>> I guess that makes sense. But then why is there a com.apple.mach-o.binary >> and a public.unix-executable UTI in the first place?? > > Well, technically, UTIs are not just applied to on-disk files. They can be > applied to email attachments, where a MIME type might give that sort of > infor

(no subject)

2010-08-25 Thread Theodore Petrosky
http://doqodequ.reco.ws/holyno.html WantMore Ero Stay ingPow er? SuperbT absOfL ove Discover new best tabs for lovirs ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.

Re: Formatting float numbers

2010-08-25 Thread Greg Parker
On Aug 23, 2010, at 1:35 AM, Adriano Brandão wrote: > Thanks man, I tested here and it's working now. > > But, just for curiosity, if I was using only c++ wouldn't I be able to do > that? libicu's C interface provides the same number formatting as NSNumberFormatter. They're both implementing t

Re: UTI for Mach-O file

2010-08-25 Thread Ken Thomases
On Aug 25, 2010, at 12:46 PM, John Johnson wrote: > Hello. I'm implementing an NSDocument-based utility that loads mach-o files > and displays information about them. But no matter what UTI I put in the > Info.plist, I can't get the app to recognize the file when dropped on the > dock tile. The

Re: Crashes in _Unwind_Resume

2010-08-25 Thread vincent habchi
Le 25 août 2010 à 19:39, Benjamin Rister a écrit : > On Aug 25, 2010, at 10:48 AM, vincent habchi wrote: > >> If you use plain GCC 4.2 instead, does it also crash? > > Well, it’s hard to say, since it doesn’t happen on demand. I’d have to make a > new build and push it out to users to see if th

Re: Relation of UIView layer to drawRect:

2010-08-25 Thread David F.
Got it. Thanks. David On Aug 24, 2010, at 11:41 PM, Luke Hiesterman wrote: > Adding a sublayer to self.layer works just like adding a subview to self. > Sublayers are drawn on top of their superlayers. In this case the superlayer > is your view, so the image in the sublayer will be rendered o

Re: Crashes in _Unwind_Resume

2010-08-25 Thread Greg Parker
On Aug 24, 2010, at 7:02 AM, Benjamin Rister wrote: > We’ve started seeing sporadic but regular crashes from _Unwind_Resume in a > Foundation tool. The crashing thread is: >> Thread 0 Crashed: Dispatch queue: com.apple.main-thread >> 0 libSystem.B.dylib0x7fff87e363d6 __kill

Help with bindings in a custom view

2010-08-25 Thread Charles Srstka
My custom view implements -optionDescriptionsForBinding: as follows: - (NSArray *)optionDescriptionsForBinding:(NSString *)binding { NSMutableArray *descs = [NSMutableArray arrayWithArray:[super optionDescriptionsForBinding:binding]]; if([binding isEqualToString:@“foo"]) { NSAttribu

Re: Document Cursor

2010-08-25 Thread John C. Randolph
On Aug 25, 2010, at 12:30 PM, Richard Somers wrote: > On Aug 25, 2010, at 1:30 AM, Quincey Morris wrote: > >>> @implementation MyCustomDocumentView >>> >>> - (void)windowDidBecomeKeyNotification:(NSNotification *)notification >>> { >>> if ([notification object] == [self window]) { >>> NSP

Re:UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread Dikshith Rai
Hi Eric, > Doing so instead of using the default.png behavior allows controlling the > time the spash is shown on screen You can also do this without creating a new view. Just put a sleep() in App delegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictio

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread David Duncan
On Aug 25, 2010, at 12:27 PM, Dikshith Rai wrote: > You can also do this without creating a new view. Just put a sleep() in App > delegate Please don't do this in shipping software. Depending on your sleep interval and the time it takes your application to startup, you could end up hitting one

Re: Document Cursor

2010-08-25 Thread Richard Somers
On Aug 25, 2010, at 1:30 AM, Quincey Morris wrote: @implementation MyCustomDocumentView - (void)windowDidBecomeKeyNotification:(NSNotification *)notification { if ([notification object] == [self window]) { NSPoint point = [[self window] mouseLocationOutsideOfEventStream]; NSRec

Re:UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread Dikshith Rai
Hi Eric, > Doing so instead of using the default.png behavior allows controlling the > time the spash is shown on screen You can also do this without creating a new view. Just put a sleep() in App delegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictio

Re: UTI for Mach-O file

2010-08-25 Thread Kevin Wojniak
You could just handle all files, then once the file is selected verify it's valid, displaying an error if it's not. See: - - - http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/MachORuntime/Reference/reference.html Kevin On Aug 25, 2010, at 10:46 AM, John Johnso

UTI for Mach-O file

2010-08-25 Thread John Johnson
Hello. I'm implementing an NSDocument-based utility that loads mach-o files and displays information about them. But no matter what UTI I put in the Info.plist, I can't get the app to recognize the file when dropped on the dock tile. The only way I could get it recognized is by having no UTI and

Re: Formatting float numbers

2010-08-25 Thread Andreas Grosam
On Aug 23, 2010, at 1:35 AM, Adriano Brandão wrote: > Thanks man, I tested here and it's working now. > > But, just for curiosity, if I was using only c++ wouldn't I be able to do > that? Using the C and C++ standard libraries only, you can't do that with the provided formatters. With the c-

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread Eric Giguere
Ouch, what a shame. Thanks a lot David. As expected, worked perfectly :) Eric. On 2010-08-25, at 12:35, David Duncan wrote: > On Aug 25, 2010, at 4:57 AM, Eric Giguere wrote: > >> The problem is that when I start the application with the Pad upside down, >> the splash view does not get auto-r

Re: Crashes in _Unwind_Resume

2010-08-25 Thread Benjamin Rister
On Aug 25, 2010, at 10:48 AM, vincent habchi wrote: > If you use plain GCC 4.2 instead, does it also crash? Well, it’s hard to say, since it doesn’t happen on demand. I’d have to make a new build and push it out to users to see if the reports stopped coming in. Do you have some experience that

Re: Difference between NSOperationQueue and NSThread in iOS4?

2010-08-25 Thread David Duncan
On Aug 25, 2010, at 9:50 AM, Dave Carrigan wrote: > I would bet that NSOperation on iOS4 is using grand central dispatch, whereas > NSOperation on iOS3 probably used NSThreads. In any case, as the other > commenter said, doing UI operations on any thread other than the main one is > going to ca

Re: Difference between NSOperationQueue and NSThread in iOS4?

2010-08-25 Thread Dave Carrigan
On Aug 25, 2010, at 9:41 AM, Scott Andrew wrote: > I'll need to refigure this out becuase we are trying to load/draw a fairly > complex page where the scrollview is transparent and there are several > composited buttons on a an almost full screen view. I am still curious why > this would work

Re: Difference between NSOperationQueue and NSThread in iOS4?

2010-08-25 Thread Scott Andrew
I'll need to refigure this out becuase we are trying to load/draw a fairly complex page where the scrollview is transparent and there are several composited buttons on a an almost full screen view. I am still curious why this would work on OS 3.2 and not on OS 4 and work like butter. I wonder i

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread David Duncan
On Aug 25, 2010, at 4:57 AM, Eric Giguere wrote: > The problem is that when I start the application with the Pad upside down, > the splash view does not get auto-rotated even though my main view behind it > is always showing with the right orientation. Thats because the view controller managin

Re: Autorelease Pool Question.

2010-08-25 Thread David Duncan
On Aug 25, 2010, at 5:08 AM, Mr. Gecko wrote: > I do not do garbage collection because I am building for 10.4. Why, because I > have 10.4 customers. -drain is still available on 10.4. -- David Duncan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/25/10 4:57 AM, Eric Giguere wrote: > The problem is that when I start the application with the Pad upside > down, the splash view does not get auto-rotated even though my main > view behind it is always showing with the right orientation. I can't

Re: NSCoding between iOS and Mac OS X

2010-08-25 Thread Ricky Sharp
A similar question came up recently. While some objects (e.g. NSNumber) things should be binary compatible. But you may run into issues. Also depends upon what objects you are coding. Mac OS X uses NSColor whereas iOS uses UIColor. I would recommend using an intermediate normalized format in

Re: Is this possible....

2010-08-25 Thread Fritz Anderson
[For the record, this is an iOS problem.] On 24 Aug 2010, at 2:02 AM, Jennifer Usher wrote: > EasterCalcResultsView *easterCalcResultsView = > [[EasterCalcResultsView alloc] initWithNibName:@"EasterCalcResultsView" > bundle:nil]; > [self.navigationController pushViewController

Re: Question about UITableView

2010-08-25 Thread Eric E. Dolecki
Thank you! On Wed, Aug 25, 2010 at 10:35 AM, Roland King wrote: > cellForRowAtIndexPath: > > On 25-Aug-2010, at 10:26 PM, Eric E. Dolecki wrote: > > > I am using a custom cell that contains some buttons. When a buttons is > > pressed, I'd like to update the textlabel of the first cell in the tab

Re: Question about UITableView

2010-08-25 Thread Roland King
cellForRowAtIndexPath: On 25-Aug-2010, at 10:26 PM, Eric E. Dolecki wrote: > I am using a custom cell that contains some buttons. When a buttons is > pressed, I'd like to update the textlabel of the first cell in the table > (which will always be visible since it's a short table). > > What's the

Question about UITableView

2010-08-25 Thread Eric E. Dolecki
I am using a custom cell that contains some buttons. When a buttons is pressed, I'd like to update the textlabel of the first cell in the table (which will always be visible since it's a short table). What's the best way to access that cell and change the textlabel? -- Interactive Designer and

Re: Crashes in _Unwind_Resume

2010-08-25 Thread Benjamin Rister
On Aug 25, 2010, at 3:15 AM, vincent habchi wrote: > What compiler are you using? LLVM GCC 4.2, from Xcode 3.2.3 (1688.0/1691.0/1591.0). Best, Benjamin Rister ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: Difference between NSOperationQueue and NSThread in iOS4?

2010-08-25 Thread Michael Ash
On Tue, Aug 24, 2010 at 2:42 PM, Scott Andrew wrote: > I have a question that I have been researching but can't find an answer for. > > I have some iOS 3.2 code using NSOperation this doesn't work using > NSOperation but works using NSThread withe detatch thread in iOS4 with the > desired effect

NSCoding between iOS and Mac OS X

2010-08-25 Thread Nathan Day
Does anybody know whether NSCoding can be used to transfer data between iOS and Mac OS X. Is this documented as guaranteed to work. I have tried to do a google search but I got nothing, probably searching for the wrong thing. Nathan Day http://homepage.mac.com/nathan_day/ __

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread Eric Giguere
Hi Kyle Sure am. Lets call it then the Launch image. We do need to show something if the application is establishing a remote connection. This screen I'm show as a modal view shows up upside down :( I've had that orientation issue with other applications when I'm programmatically creating contr

Re: UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread Kyle Sluder
On Aug 25, 2010, at 7:57 AM, Eric Giguere wrote: > Hi all > > I have a small problem here with a small application I'm writing for the iPad. > > First, I manually show a splash screen. Doing so instead of using the > default.png behavior allows controlling the time the spash is shown on > scr

Re: Autorelease Pool Question.

2010-08-25 Thread Mr. Gecko
I do not do garbage collection because I am building for 10.4. Why, because I have 10.4 customers. On Aug 25, 2010, at 1:08 AM, Shazron Abdullah wrote: > It is the same if you are not doing garbage collection (drain hints the gc) > drain is the safer bet for all environments > > On 2010-08-24,

UIViewController and splash screen orientation issue on iPad

2010-08-25 Thread Eric Giguere
Hi all I have a small problem here with a small application I'm writing for the iPad. First, I manually show a splash screen. Doing so instead of using the default.png behavior allows controlling the time the spash is shown on screen. To do this, I've found a quite simple example on the net tha

Re: Navigation Services

2010-08-25 Thread Uli Kusterer
On Aug 25, 2010, at 1:37 AM, k...@highrolls.net wrote: > Yes, I know NSOpenPanel etc but Nav services had a cleaner way to display a > preview than the accessory view provides. I need to create a preview if my > qlgenerator is not installed and since the accessory view look clunky I was > just t

Re: Document Cursor

2010-08-25 Thread Quincey Morris
On Aug 24, 2010, at 15:27, Richard Somers wrote: > The following code is used to set the cursor when ever the window containing > the view becomes key and the cursor is inside the view. I have confirmed that > [[NSCursor crosshairCursor] set] is called but nothing happens. The cursor > does not

Re: Crashes in _Unwind_Resume

2010-08-25 Thread vincent habchi
What compiler are you using? Vincent ___ 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