Re: Xcode - An Apple Embarrassment

2012-03-01 Thread Robert Monaghan
Hi Wade, Many of Apple's other products are pretty solid. Its a shame that XCode 4 is pretty unstable. XCode 3.2.6 -might- crash once every 2 to 3 months, Xcode 4.2 -will- crash about once an hour. I am not even interested in trying Xcode 4.3. This reminds me of how bad Microsoft Office used to

Re: Xcode - An Apple Embarrassment

2012-03-01 Thread John Joyce
> >> Man I don't know why there is soo much hate towards v4... but I personally >> love it. I think it's one of the best IDE's available on any platform. Yes >> there are bugs... but there are bugs in every IDE. Go try and use Visual >> Studio. Gah. >> >> To be honest, it seems that the majority

Re: Core Data NSFetchRequest with predicate

2012-03-01 Thread Jerry Krinock
On 2012 Mar 01, at 18:52, M. S. Hrishikesh wrote: > NSString *key = @"tag"; > NSPredicate *pred = [NSPredicate predicateWithFormat:@"%K like > %@",key,@"personality"]; Well, what you're doing looks OK to me, but I'm not sure because I don't often use +predicateWithFormat:. Since you're appare

Re: Xcode - An Apple Embarrassment

2012-03-01 Thread Preston Sumner
On Mar 1, 2012, at 4:27 PM, Gene Crucean wrote: > Man I don't know why there is soo much hate towards v4... but I personally > love it. I think it's one of the best IDE's available on any platform. Yes > there are bugs... but there are bugs in every IDE. Go try and use Visual > Studio. Gah. > > T

Re: Xcode - An Apple Embarrassment

2012-03-01 Thread Dave Keck
> *No*. I've said it before (right here) and I'll say it again; this is *not* > jumping to the documentation, and it is *not* doing what Xcode 3 did. It > switches to the documentation window and it enters the double-clicked word > into the search field, and it does the search, but it doesn'

Re: Suggestions for forcing NSSlider to some values, without tickmarks

2012-03-01 Thread Conrad Shultz
On 3/1/12 4:13 PM, Graham Cox wrote: > > On 02/03/2012, at 11:00 AM, Sean McBride wrote: > >> Any suggested subclassing points? That's where I'm stuck really... > > > > Wait. If you only set one tick mark, it is centred anyway does that not > do the job for you? Setting a tick mark has

Re: Xcode - An Apple Embarrassment

2012-03-01 Thread Ian Joyner
Another 2c. I had a product called MacEiffel, which brought the Eiffel programming language to Mac native development environments, first CodeWarrior where it was easy to interface reasonably to CW, but then to ProjectBuilder where I couldn't do the neat things I could with CW, but then to Xcode

Core Data NSFetchRequest with predicate

2012-03-01 Thread M. S. Hrishikesh
Hi I have populated core data in my App with 10 entries. When I setup a fetch request with a predicate this way: --- NSString *key = @"tag"; NSPredicate *pred = [NSPredicate predicateWithFormat:@"%K like %@",key,@"personality"]; [req setPredicate:pred]; NSArray *results = [self.manag

Re: Xcode - An Apple Embarrassment

2012-03-01 Thread Todd Heberlein
On Mar 1, 2012, at 3:27 PM, Gene Crucean wrote: > Man I don't know why there is soo much hate towards v4... I did find the switch from 3.x to 4.x jarring, but I have adjusted. I am still using Version 4.1, and for me it has been fairly stable. Are the instability issues everyone is complaining

Re: How are views supposed to reload after being nillified by memory warnings?

2012-03-01 Thread Roland King
so keep debugging then. How do you know the white view is screen-sized and has no superview? Actually a UIView which you can see and yet has no superview is probably just the UIWindow itself. How about the view which has just been loaded? Does it have a superview? Probably won't at that poin

Re: Suggestions for forcing NSSlider to some values, without tickmarks

2012-03-01 Thread Quincey Morris
On Mar 1, 2012, at 13:18 , Sean McBride wrote: > I have a continuous linear NSSlider who's range is -180 to 180 degrees. I > don't want tick marks because any value is acceptable. However, the value > zero is important, and I need for the user to be able to get to exactly 0.0 > (0.1 or whatev

Re: Suggestions for forcing NSSlider to some values, without tickmarks

2012-03-01 Thread Graham Cox
On 02/03/2012, at 11:00 AM, Sean McBride wrote: > Any suggested subclassing points? That's where I'm stuck really... Wait. If you only set one tick mark, it is centred anyway does that not do the job for you? --Graham ___ Cocoa-dev mailing

Re: Suggestions for forcing NSSlider to some values, without tickmarks

2012-03-01 Thread Graham Cox
On 02/03/2012, at 11:00 AM, Sean McBride wrote: > Any suggested subclassing points? That's where I'm stuck really... Look at NSSliderCell. What I'd suggest is setting a single tick mark, and have your subclass treat it as a centred tick mark. Your subclass might not even draw it, but the sli

Re: Who is responsible for removing observers in longer key paths [solved]

2012-03-01 Thread Per Bull Holmen
Den 22:58 1. mars 2012 skrev Quincey Morris følgende: > You can *try* dealloc voodoo, but I think it's crucial to look at the > observerInfo in the debugger. And, the number of remaining observers may be > more informative than what they are. Hi Sorry it took a little while to get back to you.

Re: Suggestions for forcing NSSlider to some values, without tickmarks

2012-03-01 Thread Sean McBride
On Fri, 2 Mar 2012 10:31:29 +1100, Graham Cox said: >I guess what might be nice is a tendency for it to "snap" to the zero >position when the slider is dragged close to it. Yes, that's what I'm looking for. > You might be able to do >that with a standard slider by manipulating the values close t

Re: iPhone search and notification widgets

2012-03-01 Thread Rick Mann
Thanks all. On Mar 1, 2012, at 15:19 , Conrad Shultz wrote: > 1) AFAIK the search is for Apple-supplied apps only. > > 2) Content can be inserted into the notification center (what you called the > slider) by a combination of local notifications > (https://developer.apple.com/library/ios/docu

Re: Suggestions for forcing NSSlider to some values, without tickmarks

2012-03-01 Thread Graham Cox
On 02/03/2012, at 8:18 AM, Sean McBride wrote: > Hi all, > > I have a continuous linear NSSlider who's range is -180 to 180 degrees. I > don't want tick marks because any value is acceptable. However, the value > zero is important, and I need for the user to be able to get to exactly 0.0 >

Re: Xcode - An Apple Embarrassment

2012-03-01 Thread Gene Crucean
Man I don't know why there is soo much hate towards v4... but I personally love it. I think it's one of the best IDE's available on any platform. Yes there are bugs... but there are bugs in every IDE. Go try and use Visual Studio. Gah. To be honest, it seems that the majority of the noise is about

Re: iPhone search and notification widgets

2012-03-01 Thread Conrad Shultz
1) AFAIK the search is for Apple-supplied apps only. 2) Content can be inserted into the notification center (what you called the slider) by a combination of local notifications (https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introducti

Re: Suggestions for forcing NSSlider to some values, without tickmarks

2012-03-01 Thread Marco Tabini
On 2012-03-01, at 4:18 PM, Sean McBride wrote: > Hi all, > > I have a continuous linear NSSlider who's range is -180 to 180 degrees. I > don't want tick marks because any value is acceptable. However, the value > zero is important, and I need for the user to be able to get to exactly 0.0 > (

Re: iPhone search and notification widgets

2012-03-01 Thread Kyle Sluder
On Mar 1, 2012, at 1:09 PM, Rick Mann wrote: > This may be obvious to some, but I couldn't actually find discussion of it in > the docs, perhaps because I don't know the proper terminology. > > You know the global search available on iOS? The search bar you get to by > sliding the home page to

Re: HELP!! Big problem with relationships and saving in iOS core data

2012-03-01 Thread Keary Suska
On Mar 1, 2012, at 2:39 PM, Eric Giguere wrote: > In a button handler, I create an object A, then a child B then and child C to > B. > Save this whole thing, all is ok. The key issue here is, *how*? We would need to see your code to make sure you are establishing the relationships properly...

Re: kCGErrorIllegalArgument: _CGSFindSharedWindow: WID -1

2012-03-01 Thread Fritz Anderson
On 1 Mar 2012, at 1:42 PM, John MacMullin wrote: > I am getting the above message in the Console referencing both the dock and > my program. > > I am running Lion, Xcode 4.3. The same program under Snow Leopard is error > free. > > Any ideas? [The remaining 3/4 of the message seems to deman

Re: How are views supposed to reload after being nillified by memory warnings?

2012-03-01 Thread G S
OK, after our controller's view gets blown away on the memory warning, it does appear to be reloaded from the nib when it's time for redisplay. At least the IBOutlet members are non-nil in viewDidLoad (I nilled them on viewDidUnload). So it appears that the controller's view is reloaded from the

Re: Who is responsible for removing observers in longer key paths

2012-03-01 Thread Quincey Morris
On Mar 1, 2012, at 13:23 , Per Bull Holmen wrote: > OK. I haven't thought of KVO-compliance at the level > because no values can change at this level. Only the controller's > parameterInfo property can change, by replacing it. That's what I > meant by calling the parameterInfo object immutable. N

Re: HELP!! Big problem with relationships and saving in iOS core data

2012-03-01 Thread Eric Giguere
Hi Keary Esoteritech, I like it! I am using only 1 context. Right now I've capture de basic code doing this: Initiating the data connexion from the main window using an NSFetchedResultsController that is loading (well its empty now...) the list of item A. This guy is on a property in my main

Re: Who is responsible for removing observers in longer key paths

2012-03-01 Thread Per Bull Holmen
Den 21:42 1. mars 2012 skrev Quincey Morris følgende: > No, it's nothing to do with the mutability of the parameterInfo object. > > The problem is likely caused by lack of KVO compliance of your key path > either at the or the level, or both. I think > the console message suggests a place to se

Suggestions for forcing NSSlider to some values, without tickmarks

2012-03-01 Thread Sean McBride
Hi all, I have a continuous linear NSSlider who's range is -180 to 180 degrees. I don't want tick marks because any value is acceptable. However, the value zero is important, and I need for the user to be able to get to exactly 0.0 (0.1 or whatever is no good). How would you suggest accompli

iPhone search and notification widgets

2012-03-01 Thread Rick Mann
This may be obvious to some, but I couldn't actually find discussion of it in the docs, perhaps because I don't know the proper terminology. You know the global search available on iOS? The search bar you get to by sliding the home page to the right. Is there any way to make my own app's data s

Re: HELP!! Big problem with relationships and saving in iOS core data

2012-03-01 Thread Eric Giguere
Hi Richard Thx for the advice, and a good one I'd say at least for the sanity part. It didn't help in terms of code though that's why I'm sending this SOS :) At least its good to know that I just don't know. I have some basic experience with core data on the mac, first real try on iOS. Its clea

Re: Who is responsible for removing observers in longer key paths

2012-03-01 Thread Quincey Morris
On Mar 1, 2012, at 11:26 , Per Bull Holmen wrote: > parameterInfo.. > > "parameterInfo" is a literal key name, maps to a > parameter in a plug-in, and must be resolved at run-time. > is one of several attribute names, such as "minValue", > "maxValue" etc. There is a value object that represent

Re: Who is responsible for removing observers in longer key paths

2012-03-01 Thread Keary Suska
On Mar 1, 2012, at 12:26 PM, Per Bull Holmen wrote: > In my current project I have a controller object, that the view can > bind to, with the following key path: > > parameterInfo.. > > "parameterInfo" is a literal key name, maps to a > parameter in a plug-in, and must be resolved at run-time.

Re: HELP!! Big problem with relationships and saving in iOS core data

2012-03-01 Thread Keary Suska
On Mar 1, 2012, at 7:12 AM, Eric Giguere wrote: > I'm on the verge of loosing my sanity... I've been running after save bugs > and I'm now completely out of ideas, other than to drop Core Data. > > In my model, I have EntityA, wich has an 1-many relationship to EntityB, > which also have a 1-ma

kCGErrorIllegalArgument: _CGSFindSharedWindow: WID -1

2012-03-01 Thread John MacMullin
I am getting the above message in the Console referencing both the dock and my program. I am running Lion, Xcode 4.3. The same program under Snow Leopard is error free. Any ideas? Best regards, John MacMullin Attorney at Law 9634 North 7th Avenue Phoenix, AZ 85021 1-602-904-5426 1-800-924-

Who is responsible for removing observers in longer key paths

2012-03-01 Thread Per Bull Holmen
Hi In my current project I have a controller object, that the view can bind to, with the following key path: parameterInfo.. "parameterInfo" is a literal key name, maps to a parameter in a plug-in, and must be resolved at run-time. is one of several attribute names, such as "minValue", "maxVal

Re: Modal only to another window?

2012-03-01 Thread Howard Moon
Thanks, guys! A sheet looks like just what I need here. Now I just need to figure out how to set that up in the context of vstgui. I'll ask over there if I need help with that. Thanks, Howard On Feb 29, 2012, at 7:15 PM, Graham Cox wrote: > > On 01/03/2012, at 10:05 AM, Howard Moon

Re: HELP!! Big problem with relationships and saving in iOS core data

2012-03-01 Thread Richard Somers
On Mar 1, 2012, at 7:12 AM, Eric Giguere wrote: > I'm on the verge of loosing my sanity... > I've been hitting this error for a long time now. > If I try deleting the C object before saving the new stuff, I get this error: > Domain=NSCocoaErrorDomain Code=134030 "The operation couldn’t be comp

Re: Autolayout: How to force calling [NSView baselineOffsetFromBottom] again?

2012-03-01 Thread Manfred Schwind
Answer to my own question: The baselineOffsetFromBottom seems to be cached by (or in combination with) the corresponding NSLayoutConstraint instance that uses it. When I remove the constraint from its NSView and add it again, then baselineOffsetFromBottom is called again. But I found no other wa

HELP!! Big problem with relationships and saving in iOS core data

2012-03-01 Thread Eric Giguere
Hi all I'm on the verge of loosing my sanity... I've been running after save bugs and I'm now completely out of ideas, other than to drop Core Data. In my model, I have EntityA, wich has an 1-many relationship to EntityB, which also have a 1-many relationship to EntityC. Both relationship are bi

Re: Xcode - An Apple Embarrassment

2012-03-01 Thread George Toledo
I'm not sure how/why this has spilled over to the Cocoa list, but out of curiosity Wade, did you work there after Xcode 4's release? If not, I think the argument is slightly specious. Does anyone require devs at Apple to use Xcode 4, or conform to the broken technologies that are foisted upon o

Re: Xcode - An Apple Embarrassment

2012-03-01 Thread H. Miersch
> Xcode is used exhaustively within Apple, makes you think that they have an incentive to get it right, right? so what's the problem? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the