RE: How to get iOS version at runtime?

2014-07-18 Thread Julius Oklamcak
[[UIDevice currentDevice] systemVersion] returns a string, i.e. "7.1.2". if ([[[UIDevice currentDevice] systemVersion] compare:@"8.0" options:NSNumericSearch] == NSOrderedDescending) // older than 8.0 else // 8.0 and newer -Original Message- From: cocoa-dev-bounces+juliuso

RE: Best way to make Finder/Mail style toolbars?

2014-03-09 Thread Julius Oklamcak
> What does the code you're using look like? (Also, are you on 10.9?) The following works for me from 10.6 to 10.9 (I've left out code that creates an NSSearchField, NSPopUpButton and NSTextField controls - all look the same): - (NSToolbarItem *)toolbar:(NSToolbar *)toolbar itemForItemIdentifier:

RE: iOS 7 GUI update lag during drag touches

2013-10-03 Thread Julius Oklamcak
> CGPoint apoint=[[touches anyObject] locationInView:[self view]]; > [layer setPosition:apoint]; You need to disable implicit CALayer animation(s): [CATransaction begin]; [CATransaction setDisableActions:YES]; [layer setPosition:apoint]; [CATransaction commit]; __

RE: Button on side menu not working

2013-07-28 Thread Julius Oklamcak
There could be two reasons: > [self.view sendSubviewToBack:_menuView.view]; Is placing other UIViews in the view hierarchy on top of the menu view and they could be eating touches. > _menuView.view.frame=CGRectMake(-160,0,160,440); > self.view.frame=CGRectMake(160, 20, 320, 548); UIViews that a

RE: Moving a textField from under keyboard

2013-06-28 Thread Julius Oklamcak
> I'm looking for "something" OR some method that knows how to change (I think) the position (I think) of the view containing a UITextField so the TextField is visible after a keyboard comes up and covers it. Then the view goes back to normal position once the keyboard is dismissed. > > Is there a

RE: iOS splash screen animation

2013-04-10 Thread Julius Oklamcak
> When my app starts, I'd like to show a splash screen with a logo, > etc, and animate it to the main screen after a short delay. > [snip] > Any suggestions what I could be doing wrong? Do this in your root view controller's -viewWillAppear: method. You also need to ensure that it only happens onc

RE: How can I get rid of this warning message?

2013-01-21 Thread Julius Oklamcak
> Ok, I agree that the selector is unknown, but we know from the > previous line that the target responds to it. So I'd like to > prevent this particular warning. I'm sure I ought to know how > do do this, but how do I go about removing this warning message? > Ideally, I'd like to do this on a file

RE: [Q] a view is associated with more than one view controller?

2012-10-25 Thread Julius Oklamcak
> If anyone knows how to solve this problem, please show me your guidance. >From some work I did earlier this year for a client, UIImagePickerController needs to be presented modally or in a UIPopoverController. It also doesn't handle being a root view controller very well (window.rootViewControll

RE: How to (slowly) rotate a view

2012-08-05 Thread Julius Oklamcak
FWIW: UIView sets the delegate of its CALayer to itself - one of the things that it appears to do is to disable any implicit animations. If you add your own CALayer to a UIView's CALayer, then you're in full control. As already pointed out, it's easier using one of the UIView animation class method

RE: PDF Rendering on iPad's

2012-07-25 Thread Julius Oklamcak
Dave, > I have a few questions about rendering PDFs and wondered if > anyone here could help. In my open source iOS PDF viewer (https://github.com/vfr/Reader) I employ two techniques: 1) Show a low resolution image of the page below the CATiledLayer-based zoom-able page view. These low resolutio

RE: wacky image stretching on rotation (repost)

2012-07-06 Thread Julius Oklamcak
I would suspect that the UIImageView's autoresizingMask might be the culprit - if it isn't UIViewAutoresizingNone, then the frame may be resizing itself when rotated. Sometimes it is less trouble to create your own UITableViewCell subclass and have full control over your subviews instead of trying

RE: Xcode 4.3, XIB files and deployment target iOS 3.1

2012-07-06 Thread Julius Oklamcak
Presuming that the firstgen iPod touch has iOS 3.x on it, it is probably crashing here: > self.window.rootViewController = self.tabBarController; Since rootViewController was introduced to UIWindow in iOS 4.0. Pre-iOS 4.0 you need to use (from what I recall): [self.window addSubview:self.tabBarC

RE: wacky image stretching on rotation (repost)

2012-07-06 Thread Julius Oklamcak
Check self.thumbImageView.contentMode - it's probably the default UIViewContentModeScaleToFill (should be UIViewContentModeCenter). Also ensure that the UIImage that you provide really has square dimensions. I had the exact same issue when rotating the UIImageView of a UIButton... > I have a UIIma

Re: How to know if a file has been opened before?

2012-06-05 Thread julius
o then this is an interesting example of using memory to simplify program logic. Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Co

RE: NSOperationQueue

2012-06-01 Thread Julius Oklamcak
>> At the moment that the operations are queued, there are some operations in the queue not yet run, and some running. The code that creates the operations doesn't know which ones are needed more urgently (the latest ones), so it can only assign a high priority to all of them, so they all end up wi

RE: Executing a very low-priority operation in iOS

2012-04-25 Thread Julius Oklamcak
> Normally I'd set up a timer to fire in a minute, set up an NSBlockOperation, > and let it go. When it finishes, I'd repeat the process. But I don't see any > way to adjust the priority of an NSOperationQueue. NSBlockOperation inherits from NSOperation so you should be able to -setQueuePriority:

RE: uiviewcontroller

2012-04-19 Thread Julius Oklamcak
Have a look at +attemptRotationToDeviceOrientation in iOS 5: http://developer.apple.com/library/ios/documentation/uikit/reference/UIViewC ontroller_Class/Reference/Reference.html#//apple_ref/occ/clm/UIViewControlle r/attemptRotationToDeviceOrientation > is the official or unofficial way to force

RE: Static TableView Leaks...

2012-04-06 Thread Julius Oklamcak
> leak: > Malloc 48 bytes per incident > libsystem_c.dylib > studup https://devforums.apple.com/message/630695#640345 Known bug in iOS 5.1 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

RE: Delaying Between applicationWillResignActive andapplicationDidEnterBackground

2012-03-21 Thread Julius Oklamcak
Have you looked into using UIApplication's -beginBackgroundTaskWithExpirationHandler: in the UIApplicationDelegate's -applicationDidEnterBackground: to give you some background run time to finish the loop? > My biggest problem is this: My game runs in a tight loop. When I get applicationWillRes

RE: receptionist pattern question: NSOperationQueue vs. GCD

2012-02-16 Thread Julius Oklamcak
> On iOS, NSOperationQueue doesn't use GCD at all. Actually, posts by Apple people in the Developer Forums and the documentation differs on this: http://developer.apple.com/library/ios/#documentation/Cocoa/Reference/NSOper ationQueue_class/Reference/Reference.html "Note: In iOS 4 and later, oper

RE: iOS: Adding pinch-zoom to UIImageView

2012-01-17 Thread Julius Oklamcak
You need to implement the -viewForZoomingInScrollView: UIScrollViewDelegate method and return the image view. Please have a look at Apple's ScrollViewSuite sample code: http://developer.apple.com/library/ios/#samplecode/ScrollViewSuite/Introduct ion/Intro.html > I just added this: >    [scrollVi

Re: Best way to manage double-clicked files?

2011-12-11 Thread julius
ter > suited. I would use one of the application delegate methods such as the one suggested by Lee Ann Rucker and display the pop-up window from inside it. Best wishes Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Co

Re: Best way to manage double-clicked files?

2011-12-10 Thread julius
ww.cocoadev.com/index.pl?DocumentBasedAppOpenLastFileonStartup and http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/NSApplicationDelegate_Protocol/Reference/Reference.html Hope this helps. Julius http://juliuspaintings.co.uk ___ Cocoa

RE: Problems with UIAlertView

2011-08-17 Thread Julius Oklamcak
> I'm looking at popovers. I'm wondering if there is any way that I'm overlooking to make popovers modal. The UIViewController that you present in the popover has a property named modalInPopover: "The default value of this property is NO. Setting it to YES causes an owning popover controller to d

Re: resizing window containing NSView with CALayer

2011-08-08 Thread julius
d tried so far this layered and managed approach looks >beautifully structured and versatile. Best wishes Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator com

Re: resizing window containing NSView with CALayer

2011-08-08 Thread julius
On 8 Aug 2011, at 13:23, Graham Cox wrote: > > On 08/08/2011, at 9:35 PM, julius wrote: > >> When I go and drag the resize handle to make the window as small as I can >> make it, i.e. so the window's content rect has zero height then the view >> misbehaves,

Re: resizing window containing NSView with CALayer

2011-08-08 Thread julius
the title bar to being 0 pixels below it! Amazing. Must have done something to my machine then: Mac Pro, OS X 10.6.8 XCode 3.2.6 thanks for your efforts I was going to put a constraint on window size anyway but now that is essential. best wishes Julius http://juliuspaintings.co.uk __

Re: resizing window containing NSView with CALayer

2011-08-08 Thread julius
On 8 Aug 2011, at 01:46, Graham Cox wrote: > > On 08/08/2011, at 5:52 AM, julius wrote: > >> - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { > > > I didn't notice first time through that this is where your code resides > (sometimes

Re: resizing window containing NSView with CALayer

2011-08-08 Thread julius
On 7 Aug 2011, at 21:30, Kyle Sluder wrote: > On Sun, Aug 7, 2011 at 1:05 PM, julius wrote: >> It is not a problem with the layers. >> I get exactly the same behaviour if I leave out all the layer stuff and >> instead code the following in the view > > Meaning, yo

Re: resizing window containing NSView with CALayer

2011-08-07 Thread julius
raham It is not a problem with the layers. I get exactly the same behaviour if I leave out all the layer stuff and instead code the following in the view - (void)drawRect:(NSRect)dirtyRect { [[NSColor blackColor]set]; [NSBezierPath fillRect:[self bounds]]

Re: resizing window containing NSView with CALayer

2011-08-07 Thread julius
:YES]; self.myViewObj.layer.backgroundColor = CGColorCreateGenericRGB(0.0,0.0,0.0,1.0); } Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

resizing window containing NSView with CALayer

2011-08-06 Thread julius
window is resized the right hand side of the view will have moved to the right. Again the left border is unaffected. XCode 3.2.6 OSX 10.6.8 Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

Re: view:(QTMovieView *)view willDisplayImage:

2011-08-06 Thread julius
On 6 Aug 2011, at 13:23, Ron Fleckner wrote: > > On 06/08/2011, at 9:00 PM, julius wrote: > >> The need for the child window to have a minimum alpha of 0.05 in order for >> it to receive mouse events has an acceptably small effect on the movie's >> colour. &g

Re: view:(QTMovieView *)view willDisplayImage:

2011-08-06 Thread julius
On 5 Aug 2011, at 16:04, douglas welton wrote: > Julius, > > QTMovieLayer is your friend. If you haven't already, check out the Core > Animation QuickTime Layer sample code. I think you'll find it very helpful. > > regards, > > douglas > > Dou

Re: view:(QTMovieView *)view willDisplayImage:

2011-08-04 Thread julius
nt window > Hi Mike thanks. I'll take a good look at both of these. Best wishes Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Co

view:(QTMovieView *)view willDisplayImage:

2011-08-04 Thread julius
e *)image Some discussions on various forums circa 2008, suggest the method had been used successfully in the past but it's not worked for me. XCode seems not to recognise it. Is the method no longer extant? Should I look to try another approach e.g. Core Video? I use XCode

Re: Why does NSArray count return NSUInteger?

2011-05-31 Thread julius
On 31 May 2011, at 10:00, Alejandro Rodríguez wrote: > Hey Julius, > > The reason for using NSUInteger on such a high level framework as Cocoa may > not seem relevant but for the sake of completeness let me go down a road less > explored by many of the other answers. I think u

Re: Why does NSArray count return NSUInteger?

2011-05-30 Thread julius
On 30 May 2011, at 22:34, Quincey Morris wrote: > On May 30, 2011, at 13:45, julius wrote: > >> Hilarity and riot. > > Glad to have been of service. > >> Here is a nice instance that I think quite germane. >> >> The input parameter to NSArray's ob

Re: Why does NSArray count return NSUInteger?

2011-05-30 Thread julius
On 30 May 2011, at 21:56, Dave Zarzycki wrote: > On May 30, 2011, at 1:45 PM, julius wrote: > >> >> On 30 May 2011, at 20:03,Quincey Morris wrote >>> >>> On May 30, 2011, at 08:27, julius wrote: >>> >>>> All I had hoped was that someon

Re: Why does NSArray count return NSUInteger?

2011-05-30 Thread julius
On 30 May 2011, at 20:03,Quincey Morris wrote > > On May 30, 2011, at 08:27, julius wrote: > >> All I had hoped was that someone on this list might illuminate the issue >> more than has happened so far. > > The problem isn't really lack of illumination, bu

Re: Why does NSArray count return NSUInteger?

2011-05-30 Thread julius
On 30 May 2011, at 16:40, Roland King wrote: > > On 30-May-2011, at 11:05 PM, julius wrote: > >> >> On 30 May 2011, at 15:52, Roland King wrote >>> >>> On 30-May-2011, at 9:18 PM, julius wrote: >>> >>>> >>>&g

Re: Why does NSArray count return NSUInteger?

2011-05-30 Thread julius
On 30 May 2011, at 16:02, Graham Cox wrote: > > On 31/05/2011, at 12:03 AM, julius wrote: > >> has the potential to create problems if it skips one's mind > > Well, so does almost anything in life. Coding's no different. > >> Of course I find decision

Re: Why does NSArray count return NSUInteger?

2011-05-30 Thread julius
On 30 May 2011, Graham Cox wrote > > On 30/05/2011, at 9:03 PM, julius wrote: > >> Why did Cocoa developers make the count method return NSUInteger? > > > Because you can't have negative numbers of elements in an array. > > It's that simple. Yes bu

Re: Cocoa-dev Digest, Vol 8, Issue 383

2011-05-30 Thread julius
On 30 May 2011, Graham Cox wrote > > On 30/05/2011, at 9:03 PM, julius wrote: > >> Why did Cocoa developers make the count method return NSUInteger? > > > Because you can't have negative numbers of elements in an array. > > It's that simple. Yes bu

Re: Cocoa-dev Digest, Vol 8, Issue 383

2011-05-30 Thread julius
intuitive result. > They used the datatype which maps onto the thing they are describing, array > elements are non-negative integers, so they used NSUInteger. > So are you saying that the designers made this decision solely because of a particular interpretation of dogma? Julius

Re: Why does NSArray count return NSUInteger?

2011-05-30 Thread julius
f(x < ([ary count] - 3)) does not. So was it really just because the number of array elements is never -3 that the Cocoa developers decided to make NSArray count return type NSUInteger? Julius http://juliuspaintings.co.uk ___ Cocoa-de

Why does NSArray count return NSUInteger?

2011-05-29 Thread julius
have chosen to do this? Julius == Here to satisfy possible curiosity is my test code snippet and results NSMutableArray * zAry = [[NSMutableArray alloc]init]; for(NSInteger i = 0; i < 7; i++) { [zAry addObject:@"obj"]; }

Re: threads and delegates

2010-12-15 Thread julius
nning. The main thread has a running > runloop; use the main thread. > Thanks Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

threads and delegates

2010-12-15 Thread julius
tion: 1. Why do they not get called? 2. How does one create a situation where they do get called? Thanks in advance Julius ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: Need help understanding first responder and multiple nibs

2010-08-04 Thread julius
t were 1st responder and in the key window. Whether that was the "correct" answer I have no way of knowing but it seemed to work in this instance. all the best Julius -- http://juliuspaintings.co.uk I'm looking for comments re: h

Re: NSAllocateCollectable memory allocation problem

2010-06-21 Thread julius
On 21 Jun 2010, at 15:47, Michael Babin wrote: > > On Jun 21, 2010, at 7:06 AM, julius wrote: > >> Inside MyControl define three pointers of type CGFloat , e.g CGFloat * >> mem1, mem2, mem3; >> and declare them as @property GFloat * mem1; etc with corresponding

NSAllocateCollectable memory allocation problem

2010-06-21 Thread julius
ollectable that is causing the problem. Que passa? What am I doing wrong ? Julius -- http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post ad

Re: UTI strings

2010-05-31 Thread julius
d error, add it all together and that must make for thousands of hours lost repeating the same thing over and over again. Reminds me of Einstein's definition of insanity. thanks Julius -- http://juliuspaintings.co.uk I'm looking fo

Re: UTI strings

2010-05-31 Thread julius
On 31 May 2010, at 10:23, Ken Thomases wrote: > On May 31, 2010, at 4:06 AM, Jean-Daniel Dupas wrote: > >> Le 31 mai 2010 à 10:53, julius a écrit : >> >>> and which onto NSMacSimpleTextDocumentType ? >> >> In 3 major releases Apple didn't manage

Re: UTI strings

2010-05-31 Thread julius
ources are in /Developer/Examples/ > > -- Jean-Daniel That's where I got my copy from. Can you perhaps tell me which UTI maps onto NSPlainTextDocumentType and which onto NSMacSimpleTextDocumentType ? Thanks Julius -- http://ju

Re: UTI strings

2010-05-31 Thread julius
On 31 May 2010, at 01:42, John Joyce wrote: > > On May 30, 2010, at 5:15 PM, julius wrote: > >> John hi >> On 30 May 2010, at 19:47, John Joyce wrote: >> >>> That's not how these constants work. >>> These are intended to be constants that ret

Re: UTI strings

2010-05-30 Thread julius
Ken hi, thanks for responding. On 30 May 2010, at 20:21, Ken Thomases wrote: > On May 30, 2010, at 1:04 PM, julius wrote: > >> unless of course there's a way of specifying the constants for >> NSAttributedString using the kUTTypes that I've not found yet > &g

Re: UTI strings

2010-05-30 Thread julius
mentTypeDocumentAttribute? Thanks Julius http://juliuspaintings.co.uk ___ 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.ap

Re: UTI strings

2010-05-30 Thread julius
cumentType NSDocFormatTextDocumentType NSWordMLTextDocumentType NSOfficeOpenXMLTextDocumentType NSOpenDocumentTextDocumentType unless of course there's a way of specifying the constants for NSAttributedString using the kUTTypes that I've not found yet Thanks again Julius On 30 May

Re: UTI strings

2010-05-30 Thread julius
romRange:zRange documentAttributes:zDict error:outError]; Julius On 30 May 2010, at 17:29, Kyle Sluder wrote: > On Sun, May 30, 2010 at 9:22 AM, julius wrote: >> I'm ha

UTI strings

2010-05-30 Thread julius
reference tells me the system defined UTI strings and i can use the mdls command in the terminal to find the UTI of a given file but so far I have found nothing to tell me which of these UTI strings maps onto which of the Document Type strings I'm looking for.

Re: [NOOB] Finding Information (was: real noob question)

2009-01-19 Thread julius
On 19 Jan 2009, at 16:17, mmalc Crawford wrote: On Jan 19, 2009, at 6:10 AM, julius wrote: I too followed up on the example link which took me to the top of the NSDecimalNumber Class reference document. Scrolling down the first thing I came accross under Tasks was "Creating a De

Re: [NOOB] Finding Information (was: real noob question)

2009-01-19 Thread julius
ttp://cocoawithlove.com/2008/05/square-root-numerical-fun-with.html says "Sadly, NSDecimalNumber does not appear to be written for the mathematically or scientifically inclined. Its operators are mostly limited to basic arithmetic". One of those imponderable mysteries I guess. But s

Re: Mac Pro memory sizes

2009-01-13 Thread julius
pointer arithmetic. Finally I was advised to avoid premature optimisation and bit packing. So my thanks to you all. I return to the fray with mind much eased. Thanks again Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@l

Re: Mac Pro memory sizes

2009-01-13 Thread julius
Keit hi, On 12 Jan 2009, at 22:51, Schultz Keith J. wrote: Hi Julius, If I understand your problem correctly you are: 1) processing a very large amount of intergers 2) using highly optimized code that is: a) you are manipulating the data directly via pointers

Re: Mac Pro memory sizes

2009-01-12 Thread julius
bers into NSArray etc. Would not using it as the main representation seriously affect computation speed ? What are other people doing? If you have any good links or advice they'd be much appreciated. Thanks Julius http://juliuspaintings.co.uk

Re: Mac Pro memory sizes

2009-01-11 Thread julius
perimentation is the only way. best wishes Julius http://juliuspaintings.co.uk ___ 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-admin

Mac Pro memory sizes

2009-01-11 Thread julius
2 x 8-bit byte integers to save to disk, should I now think that this will be saved as 100MB by 64 bit (i.e. 8 x 8-bit byte) integers? If it is 100MB by 64 bit integers then should I think of compressing the data so as to reduce bandwidth requirements? Thanks Jul

Re: text view example

2008-09-07 Thread julius
nt/005-NSTextView.pl is a highly pared down NSTextView example I adapted from http://hayne.net/MacDev/TestKeyDownEvent/ Hope it helps Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Getting the id of a button in a NSCollectionView

2008-07-31 Thread julius
ssume that knowing how to do this would help me do the same thing if I substituted a Custom NSView for the button, i.e. that I would be able to get the associated view's id when a MyElemObject gets created. Thanking you in advance Julius http://julius

Re: [Newbie] Communication between two Views?

2008-07-29 Thread julius
On 29 Jul 2008, at 03:35, julius <[EMAIL PROTECTED]> wrote Subject: Re: [Newbie] Communication between two Views? To: "Thomas Wickl" <[EMAIL PROTECTED]> Cc: cocoa-dev@lists.apple.com On 28 Jul 2008, at 16:39, "Thomas Wickl" <[EMAIL PROTECTED]> wrote S

Re: [Newbie] Communication between two Views?

2008-07-28 Thread julius
fications can be found here. (this part of the site is still under construction so kindly excuse glitches) http://juliuspaintings.co.uk/cgi-bin/paint_css/animatedPaint/017-Comunicate-Two-Views.pl Julius http://juliuspaintings.co.uk ___ Cocoa-

Re: How to locate coding examples for specified commands

2008-07-26 Thread julius
uk/cgi-bin/paint_css/animatedPaint/animatedPaint.pl best wishes Julius http://juliuspaintings.co.uk ___ 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

Re: defer loading window using bundles in XCode 3 Leopard

2008-07-25 Thread julius
Kyle Hi On 25 Jul 2008, at 18:49, Kyle Sluder wrote: On Fri, Jul 25, 2008 at 1:38 PM, julius <[EMAIL PROTECTED]> wrote: I want to defer loading a window/panel plus controller and related code by using bundles. Do you really not want to include the code inside your executable? Bundl

defer loading window using bundles in XCode 3 Leopard

2008-07-25 Thread julius
ode 3 specific documentation I should be looking at? Any help or advice would be invaluable as I'm on the point of abandoning the attempt. Thanks Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Ple

Re: Cocoa-dev Digest, Vol 5, Issue 892

2008-05-23 Thread Julius Guzy
elp menu in Xcode. The former does a text search the later a definition/api search without you having to change search type. What a fantastic, out of the blue piece of information! How could we ever hope to index our documentation in a way that gave results such as this? I must stop following t

Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-23 Thread Julius Guzy
On 23 May 2008, at 14:14, Steve Weller wrote: On May 23, 2008, at 5:56 AM, Julius Guzy wrote: I have done no analysis of what my learning problems were because I failed to keep a log. All I have to go on so far are vague memories of frustration with Interface Builder primarily but that

Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-23 Thread Julius Guzy
On 22 May 2008, at 23:19, Scott Anguish wrote: On May 22, 2008, at 10:39 AM, Julius Guzy wrote: On 22 May 2008, at 4:55, David Casseres wrote: That's a really good idea, your wiki-that's-more-than-a-wiki. You're in charge! 8^{) Ha Ha But just as a matter of interest

Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-22 Thread Julius Guzy
emonstrate some kind of a consensus and then thrash out a suitable format and mechanism within the group? Julius On May 19, 2008, at 5:31 AM, Julius Guzy wrote: Well I never thought I would cause this much discussion. I have tried but do not have the time needed to reply to all. I might stil

Re: ANN: Step by step introduction to programming with Cocoa

2008-05-22 Thread Julius Guzy
On 22 May 2008, at 1:52, Jack Repenning wrote: On May 21, 2008, at 5:38 PM, Julius Guzy wrote: Actually the idea was to include a text box at the end of each section where people could post queries regarding that section, e.g. questions about something they did not understand or

Re: ANN: Step by step introduction to programming with Cocoa

2008-05-22 Thread Julius Guzy
On 22 May 2008, at 1:43, Shawn Erickson wrote: On Wed, May 21, 2008 at 5:38 PM, Julius Guzy <[EMAIL PROTECTED]> wrote: I suggested some time back (A documetation suggestion 19 May 2008 13:31:30) but no one took me up on it, the idea of seeing if Apple would so to speak "donate

Re: ANN: Step by step introduction to programming with Cocoa

2008-05-21 Thread Julius Guzy
this list 6. The context of the question and the reply is that much more clear 7. It could result in a pretty good piece of documentation. I thought i would just throw the idea into the ring again all the best Julius http://juliuspaintings.co.uk __

A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-19 Thread Julius Guzy
self help community. 9. It could result in a pretty good piece of documentation. It is just a thought must rush Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comme

Re: Cocoa et al as HCI usability problem

2008-05-19 Thread Julius Guzy
To be absolutely clear: I think anyone able to navigate the intricacies of Cocoa et al must be a pretty savvy programmer. Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Cocoa et al as HCI usability problem

2008-05-18 Thread Julius Guzy
On 19 May 2008, at 2:34, Jens Alfke wrote: On 18 May '08, at 6:15 PM, Julius Guzy wrote: I do not think it naive of me to raise serious questions regarding usability given that i have made huge and increasingly successful efforts to get into this system so I can do some heavy

Re: Cocoa et al as HCI usability problem

2008-05-18 Thread Julius Guzy
On 19 May 2008, at 1:56, David Wilson wrote: On Sun, May 18, 2008 at 8:41 PM, Julius Guzy <[EMAIL PROTECTED]> wrote: Well, there is a problems with the documentation and if it does not get resolved then people will end up unable to write the code. I mean what is the point in l

Re: Cocoa et al as HCI usability problem

2008-05-18 Thread Julius Guzy
On 18 May 2008, at 17:41, Jens Alfke wrote: On 18 May '08, at 4:33 AM, Julius Guzy wrote: Apple has been less celebrated for the humanity of its programming interface having, in my experience of Macs from the Lisa onwards, seemingly taken the attitude that its programmers were hobb

Re: Cocoa et al as HCI usability problem

2008-05-18 Thread Julius Guzy
n people will end up unable to write the code. I mean what is the point in loosing people who actually want to program this machine and are willing to put oodles of effort into doing it? Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing lis

Cocoa et al as HCI usability problem

2008-05-18 Thread Julius Guzy
use there are limits to the complexity we can handle. It is expensive because the design of good HCI is primarily an empirical activity centered on user testing. The question is then whether we and possibly apple should do anything about it. Julius http://juliuspaintings.co.uk _

Re: Dynamic message typing problem

2008-05-17 Thread Julius Guzy
tion through coercion viz: int tempVar = (int)[idValue methodIdentifier:(float)param]; This does not work but what is wrong with this line of reasoning and/ or why could the system not make use of coercion as part of a dynamic typing mechanism? Thanks again Julius http://juliuspaintings.co.u

Re: Dynamic message typing problem

2008-05-16 Thread Julius Guzy
CallingClass* callingObj= [[CallingClass alloc]init]; [callingObj callPrintConstFloat:atcObj]; [atcObj printFloat:88.88]; } [Session started at 2008-05-17 00:33:01 +0100.] 2008-05-17 00:33:01.988 testDynamicBinding[2436:10b] 99.990 2008-05

Re: Dynamic message typing problem

2008-05-16 Thread Julius Guzy
are passing object ids these will eventually need to be resolved so that brings us back to square one.. Help!!! P.S. Does this problem of mine qualify as an example of the difficulties in learning cocoa recently discussed on this list? Julius http://juliuspaintings.co.uk __

Re: Dynamic message typing problem

2008-05-16 Thread Julius Guzy
BLE = YES Under Configurations Debug Release Is this information sufficient? Thanks Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Co

Re: Dynamic message typing problem

2008-05-16 Thread Julius Guzy
ointer to a method that tries to printout the pointer as an int rather than the intended uchar value. On May 14, 2008, at 7:19 PM, Julius Guzy wrote: - (void) callPrintConstUnsignedCharRef:(id)pId; { unsigned char * tvarUnsignedChar= 123; [pId printUnsignedCharRef:&t

Re: Bypassing Interface Builder

2008-05-14 Thread Julius Guzy
n Programming in Objective-C, that's clear and nice and easy to grasp, at least for me. That book saved my life. Also the Scott Anguish et al Cocoa Programming, and the Programming with Quartz book that's pretty good stuff too. So there might be stylistic things at work here. The q

Re: Bypassing Interface Builder

2008-05-14 Thread Julius Guzy
st the "tearing one's hair out by the roots" rage and frustration Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.

Dynamic message typing problem

2008-05-14 Thread Julius Guzy
:10:16.672 testDynamicBinding[1311:10b] AnonTargetClass printUnsignedCharRef =123 2008-05-15 02:10:16.672 testDynamicBinding[1311:10b] AnonTargetClass printUnsignedCharRef =255 2008-05-15 02:10:16.673 testDynamicBinding[1311:10b] End calling the methods dynamically Thanks Julius http://juliu

Re: Bypassing Interface Builder

2008-05-14 Thread Julius Guzy
send you right back to square one. All this said, cocoa and Objective-C is beautiful. I just wish it were easier to learn. Julius http://juliuspaintings.co.uk ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r

Problem with CIFilters

2008-05-11 Thread Julius Eckert
to make this more clear: http://www.mygnu.com/julius/temp/SFBug.mov Has anyone an idea , why this is happening and how I can fix it? BTW: its a quicksilver interface called "silverflow", already available as beta on my website www.jeckert.net.tc , freeware Thanks in advan

tricky window status

2008-02-24 Thread Julius Eckert
Hi, my application pops up and becomes keywindow when a hotkey is pressed. when the hotkey is pressed i do: [NSApp activateIgnoringOtherApps:true]; and [[self window] makeKeyAndOrderFront:self]; this works fine but the behaviour is that the current applications window looses its focus. i wa

  1   2   >