Re: Was using SnowLeopard, Xcode 4.2, iOS 5.0.1... now storyboard won't update

2012-03-09 Thread Roland King
Have you tried clean builds and removing the app from the simulator entirely then rerunning? I've had cases in the past where the new version of the app wasn't uploaded until I removed it first. On 10 Mar, 2012, at 9:31, R wrote: > I switched to Lion, XCode 4.3.1, iOS 5.1. I run my properl

Was using SnowLeopard, Xcode 4.2, iOS 5.0.1... now storyboard won't update

2012-03-09 Thread R
I switched to Lion, XCode 4.3.1, iOS 5.1. I run my properly functioning app on the 5.1 iPhone simulator and the changes I make to the storyboard don't show up in the run. I'm totally perplexed and frustrated. I literally disconnected a segue and removed buttons and they still appear in the test

Re: Can't log in to Developer Centre

2012-03-09 Thread Patrick
Pretty sure that'd be devprogr...@apple.com. On Fri, Mar 9, 2012 at 2:51 PM, Peter Hudson wrote: > I can't log in to my Dev Centre account. > Does anyone know who to email about this ? > > Peter > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.co

Re: Releasing WSMethodInvocationInvoke()

2012-03-09 Thread Gus Mueller
On Mar 6, 2012, at 5:24 PM, Sean McBride wrote: > On Mon, 5 Mar 2012 13:44:24 -0800, Gus Mueller said: > >> That's because it's missing a CF_RETURNS_RETAINED in the header for that >> method, which the analyzer needs to know what's going on. I'm not sure >> there's any way around this other than

Re: ivar access during -finalize

2012-03-09 Thread jonat...@mugginsoft.com
> > On 8 Mar 2012, at 16:58, Quincey Morris wrote: > >> >>> A more robust solution is a probably a separate -dispose method. >> >> Yes, though knowing when to call it can be a puzzle in itself, if there are >> multiple references to the object. In general, you'll probably need to >> invent a

Can't log in to Developer Centre

2012-03-09 Thread Peter Hudson
I can't log in to my Dev Centre account. Does anyone know who to email about this ? Peter ___ 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-ad

Re: Uncaught Exception: NSUnknownKeyException

2012-03-09 Thread Erik Stainsby
You can specify them in IB Don. In the tree of XIB elements (under the Objects header) locate and select the Table Column element. I the Identity Inspector the second heading reads User Interface Item Identifier. Set this to the column id you wish to use in your code (the variable name perhaps)

Re: Uncaught Exception: NSUnknownKeyException

2012-03-09 Thread Donald Hall
Thanks to Mike and Graham for the replies. I think I figured out where the problem was. I am putting data into an NSTableView, with one ivar from the Action class in each column. My original project was so old that it used nibs instead of xibs, so I redid them all. In the new Xcode there doesn'

[solved] Re: Bundled framework not found despite copy build phase and being inside the bundle

2012-03-09 Thread Alexander Reichstadt
I found the problem, the bundled framework being in another project did not have the @executable/../Frameworks set as a installation path. dyld: Library not loaded: /Users/Alexander/Library/Frameworks/PGSQLKit.framework/Versions/A/PGSQLKit Am 09.03.2012 um 22:00 schrieb Alexander Reichstadt: >

Bundled framework not found despite copy build phase and being inside the bundle

2012-03-09 Thread Alexander Reichstadt
Hi, having added the PGSQLKit framework when being bundled it is not found. What I did was adding the framework, making sure it is linked against, making sure the copy buildphase with target frameworks is before the link phase. When I check, the built app bundle does contain the Frameworks dire

Re: The current preferred method for fetching HTTP URLs for IOS

2012-03-09 Thread Wade Tregaskis
> FWIW, my view is that it depends on what your requirements are. For a simple > request, you can go with an [NSString stringWithContentsOfURL] wrapped in a > call to dispatch_async to avoid blocking the main thread. But keep in mind that threads are not free and there are a finite number avai

Re: NSTableView update basics

2012-03-09 Thread Erik Stainsby
A poorly thought out attempt to return the count or zero (I was writing a lot of perl the day I coded this). I recall reading that there is a race condition when *view*-based tables are loaded from nib. This does not obtain in my current case: this is a cell based table. I removed the erran

Re: The current preferred method for fetching HTTP URLs for IOS

2012-03-09 Thread Marco Tabini
> I've been reading (and trying out) a few approaches on HTTP communication > using GCD to do a dispatch_sync or dispatch_async to a dispatch queue or > using an NSURLRequest. > > Which of these is the preferred method for ingesting strings from HTTP URLs > on iOS? Are there any plusses to one

The current preferred method for fetching HTTP URLs for IOS

2012-03-09 Thread Alex Zavatone
I've been reading (and trying out) a few approaches on HTTP communication using GCD to do a dispatch_sync or dispatch_async to a dispatch queue or using an NSURLRequest. Which of these is the preferred method for ingesting strings from HTTP URLs on iOS? Are there any plusses to one over the ot

Re: background image

2012-03-09 Thread Roland King
Nope. On 9 Mar, 2012, at 19:16, Luca Ciciriello wrote: > Hi All. > Is there a way from iOS code to set an UIImage as iPad desktop wallpaper? > > Luca. > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin reques

background image

2012-03-09 Thread Luca Ciciriello
Hi All. Is there a way from iOS code to set an UIImage as iPad desktop wallpaper? Luca. ___ 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-admi

Re: Convert PDF CGContextRef to NSView for hi-res printing

2012-03-09 Thread Gilles Celli
Wim and Graham, Thanks for your quick reply…I finally found out how to print vector based graphs thanks to Wim's answer: I created a NSView based class which draws then (via drawRect:) the Coreplot graphs with my custom made method renderGraphsInContext: It works wonderfully. Cheers, Gilles

Re: Accessing array in thread safe way

2012-03-09 Thread Roland King
On Mar 9, 2012, at 5:17 PM, CoGe - Tamas Nagy wrote: > Thanks for the suggestion, its really appreciated! I'll do some tests - > actually the GCD way seems to be the forward. > > Anyway, maybe the array contains non-thread safe objects (QCRenderers) - > object that should not be bounce between

Re: NSTableView update basics

2012-03-09 Thread Graham Cox
On 09/03/2012, at 4:42 PM, Erik Stainsby wrote: > - (NSInteger) numberOfRowsInTableView:(NSTableView *)tableView { > return [tableData count] || 0; > } What is the intention here? You are doing a boolean OR with the value zero, which will promote (in fact demote) the return type to a BOO

Re: Uncaught Exception: NSUnknownKeyException

2012-03-09 Thread Graham Cox
On 09/03/2012, at 5:57 PM, Donald Hall wrote: > s class is not key value coding-compliant for the key (null). The key is nil (null). So the problem is where the key is coming from, not the operation of the Action class. --Graham ___ Cocoa-dev maili

Re: Accessing array in thread safe way

2012-03-09 Thread CoGe - Tamas Nagy
Thanks for the suggestion, its really appreciated! I'll do some tests - actually the GCD way seems to be the forward. Anyway, maybe the array contains non-thread safe objects (QCRenderers) - object that should not be bounce between different threads. But with those, I think I can't use GCD, bec

Re: @-directives

2012-03-09 Thread Jean-Daniel Dupas
Le 9 mars 2012 à 03:55, Roland King a écrit : > Good thinking .. > > OBJC1_AT_KEYWORD(not_keyword) > OBJC1_AT_KEYWORD(class) > OBJC1_AT_KEYWORD(compatibility_alias) > OBJC1_AT_KEYWORD(defs) > OBJC1_AT_KEYWORD(encode) > OBJC1_AT_KEYWORD(end) > OBJC1_AT_KEYWORD(implementation) > OBJC1_AT_KEYWORD(

Re: Accessing array in thread safe way

2012-03-09 Thread Quincey Morris
On Mar 9, 2012, at 00:30 , CoGe - Tamas Nagy wrote: > Thanks Quiencey to pointing this out, however, what you suggest instead of > the current implementation? What I use for this class is putting and/or > update objects into it from different threads, then access it from an other > (reader) th

Re: Accessing array in thread safe way

2012-03-09 Thread CoGe - Tamas Nagy
On Mar 8, 2012, at 11:57 PM, Quincey Morris wrote: > On Mar 8, 2012, at 14:29 , Charles Srstka wrote: > >> For those two examples, it seems like having the default accessor return an >> immutable array via copy would solve the issue. > > It wouldn't solve, e.g., the possibly inconsistency betw