Re: how do I put a subview in a superview with color

2010-12-31 Thread colo
Hi all. I think I got this down to a science once it works. Recap: I want to learn the ability to directly put Cocoa desktop NSView subClass View into another subClass view repeat until not needed. No reason application design wise. I just need to know how to do it. I changed the implementation

how do I put a subview in a superview with color

2010-12-30 Thread colo
I was following the Chapter 17 Cocoa programming for osx 3rd ed The code is below. All I want to do for a working example is draw an NSView subview in the superview. And give it have a color and width height. I was trying all sorts of things. I can draw NSMakeRects in the drawRect method But I

Re: how do I put a subview in a superview with color

2010-12-30 Thread colo
On Thu, Dec 30, 2010 at 5:32 PM, Alastair Houghton alast...@alastairs-place.net wrote: On 30 Dec 2010, at 22:22, colo wrote: I was following the Chapter 17 Cocoa programming for osx 3rd ed The code is below. All I want to do for a working example is draw an NSView subview in the superview

Re: how do I put a subview in a superview with color

2010-12-30 Thread colo
On Thu, Dec 30, 2010 at 6:50 PM, aglee ag...@mac.com wrote: On Dec 30, 2010, at 06:13 PM, colo colo0l...@gmail.com wrote: I can get it to compile just fine now but I can't get the button to show up at all. Perhaps I am sending the addSubview to the incorrect place? NSView *superview

Re: UIBezierPath: trying to create an array with CGPointMake

2010-12-20 Thread colo
Look at the documentation for -[UIBezierPath moveToPoint:]. The method returns void, but you're trying to assign the (nonexistent) result to members of the points[] array. You ought to be ignoring the void value, and aren't, just as the error message says. You're returning path

UIBezierPath: trying to create an array with CGPointMake

2010-12-19 Thread colo
I'm in the processing of trying to create an array of Path points to draw a UIBezierPath CGRectMake onto each control point. Right now I am getting an error of error: void value not ignored as it ought to be I could totally be going about this the wrong way but until I know I better I am trying

iOS Pages app UI Widget question.

2010-12-08 Thread colo
Hi apologies if I have the incorrect mailing list. I am looking to build a sample app that utilizes the feature in Pages like Apps for a Box Shape object with four NE SE SW NW corner control resizing handles. In various books I have read up on drawing closed UI Bezier Paths in various books but

Re: iOS Pages app UI Widget question.

2010-12-08 Thread colo
On Wed, Dec 8, 2010 at 3:57 PM, Conrad Shultz con...@synthetiqsolutions.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/8/10 12:50 PM, colo wrote: Hi apologies if I have the incorrect mailing list. I am looking to build a sample app that utilizes the feature in Pages like

Re: iOS Pages app UI Widget question.

2010-12-08 Thread colo
I think Nick is specifically looking for the resize handle widgets, not the curves themselves. --Kyle Sluder Correct Kyle. To add to that I am looking for the iOS implementation of them. Drawkit has not been ported to iOS. If Apple provided this kind of object to everyone, you would see way

What are people using for page layout apps ui drawkit?

2010-10-24 Thread colo
I know Cocoa has a project group that was building a Graphics API called Drawkit but it's not been ported to iOS. So I was wondering what people are using to build Pages like apps say Freeform or other type of page layout apps. Is there a new project I might have missed or is everyone just

Does a Core Animation Runtime Player/Editor exist?

2010-07-01 Thread colo
I am looking for a realtime editing window tool like a script console that will display Obj-C Core Animation instructions. Just like Processing and it's many variants Node Box Ruby etc. Or like Quartz Composer but pure code not nodes. Can Quartz Composer take Obj-C Code in realtime? Or is there a

Looking for examples of UIScrollView using Core Data

2010-04-17 Thread colo
I have been hacking at the code from the iphone cookbook trying to get a UIScrollView to fetch Core Data sql. I checked the archives first and did not find anything. I know that tableviews work hand in hand with Core Data. Every tutorial I can find verifies this. -coder boy

Re: Looking for examples of UIScrollView using Core Data

2010-04-17 Thread colo
wrote: On 17 Apr 2010, at 12:35 PM, colo wrote: I have been hacking at the code from the iphone cookbook trying to get a UIScrollView to fetch Core Data sql. I checked the archives first and did not find anything. I know that tableviews work hand in hand with Core Data. Every tutorial I can

in search of a starter iphone painting tutorial or sample code

2009-07-03 Thread colo
I am seeking a bare bones beginner source or tutorial for building painting apps on the iphone. Of all the apps I tested. None have a paint bucket tool that only fills in a section of color. They all fill the screen. So, I must make my own. :D ___

Re: in search of a starter iphone painting tutorial or sample code

2009-07-03 Thread colo
Thank you all. I however am not a beginner at the programing side of things now. I was more looking for some type of possible common article or reading material that is on the web from others that have tinkered with painting apps for iphone in particular. Since there seem to be so many in the

Re: in search of a starter iphone painting tutorial or sample code

2009-07-03 Thread colo
This one uses OpenGL: http://developer.apple.com/iphone/library/samplecode/GLPaint/index.html You could use a similar technique to create CGPaths to represent the strokes, but performance with OpenGL is considerably better. mmalc Oh awesome! Thank you. This is a perfect start that I was

Re: Recommendations to Reading the Xcode in built Documentation to the fullest effect

2009-05-29 Thread colo
Oooo! AppKiDo will do. Who cares about polish. As long as it finds data fast is the goal. Thank you all. This has helped a ton. On Thu, May 28, 2009 at 11:24 PM, Kevin LaCoste klaco...@zenvilla.com wrote: The fact that AppKiDo isn't built in is one of the reasons I like it. When you update

Recommendations to Reading the Xcode in built Documentation to the fullest effect

2009-05-26 Thread colo
I want to really get Cocoa and iphone methods etc... so I find myself in the Docs every other minute. But I find that it's kinda wonky to see where things subclass from or what goes with what as examples. I know there was some sort of guide to navigating it and learning from it better. Do you

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread colo
Just curious if some frameworks have been thought of for Animation. In the likes of Jquery or others. For example window.show(fade_in, slow); That way animations can be very clean and simple to write and test. ___ Cocoa-dev mailing list

Re: Cover Flow in Cocoa?

2008-05-27 Thread colo
Dumb question. But has anyone tried to recreate the Real First Coverflow? The one that started thais whole thing. The Cover flow app had a really smooth animation dynamic, and ever tilted overhead just so slightly. That one was just awesome compared to the current coverflow like On Tue, May 27,

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

2008-05-21 Thread colo
Good start. But I reallly think the text needs line spacing or formatting. It's Like Text overload. Just the first stepone has the word cocoa littered Everywherre! AAH HHA HAA to many words. On Wed, May 21, 2008 at 3:33 PM, Erik Buck [EMAIL PROTECTED] wrote: I have started a guided

Re: Learning Curve/Documentation Challenge/Recommendation

2008-05-19 Thread colo
I guess I am just reeealy careful and curious in the end. Anyway to all I am like 1/3 into my book now and this round after the amass of ruby I have used, Obj 2.0 is much easier to get now. But my argument stands that I prefer ruby syntax more now than ever :P What else then The key value

Re: Learning Curve/Documentation Challenge/Recommendation

2008-05-17 Thread colo
I do not know enough yet. BUT ! I just did get the new Cocoa Book from Hillgrass Amazon. I found the tool F-Script here. It lets you nearly instatly get something working. I think something like the Hillgrass book should be ported to F-Script. As example in the tut for core image F-Script it gives

Re: Guidance for Cocoa's steep learning curve

2008-05-15 Thread colo
Lets add to this fun madness. Nice simple clean tutorials like this http://cocoadevcentral.com/d/learn_objectivec/ Could cocoa parts in the frame work be summed up like that as well? How many examples or paragraphs and or pages of text does it take to finally drill down the Cocoa method into your

Re: Guidance for Cocoa's steep learning curve

2008-05-15 Thread colo
Let me take this opportunity to once again shamelessly plug my C tutorial: http://masters-of-the-void.com which covers most of this (it doesn't cover pointers to functions and bitwise operations), especially memory management and pointers. Shameless plug but oh so nice of a Tut.

Cocoa Programming for Mac OS X 3rd ed Shipping?

2008-05-15 Thread colo
Oh look at that. http://theocacao.com/document.page/571 Says amazon is shipping, but a call to Borders tells me it will be first of June. Sooo Should I order from Amazon? Is it really out? Or a sanfoo? ___ Cocoa-dev mailing list

Re: Cocoa Programming for Mac OS X 3rd ed Shipping?

2008-05-15 Thread colo
the difference. -joe On May 15, 2008, at 9:29 AM, colo wrote: Oh look at that. http://theocacao.com/document.page/571 Says amazon is shipping, but a call to Borders tells me it will be first of June. Sooo Should I order from Amazon? Is it really out? Or a sanfoo

Re: Cocoa Programming for Mac OS X 3rd ed Shipping?

2008-05-15 Thread colo
heh. I caved, I might see it tomorrow if it does not lie. ___ 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

Bypassing Interface Builder

2008-05-14 Thread colo
I am reading my cocoa book and online tutorials atm. But one ting that totally irks me atm is using interface builder to create objects and instantiate them. I rather just make it in Xcode or Textmate and know what's going on behind the scenes. Might there be not a tutorial but more documented

Re: Bypassing Interface Builder

2008-05-14 Thread colo
Hmmm. The letting it create the files in the nib file sounds fine for me. But what about the linking and configuring? It's just all reflected in code correct? The dragging a pipe to one object to the other that just all shows up in the .m right? So that part can just be bypassed and done in xcode

Re: Bypassing Interface Builder

2008-05-14 Thread colo
from digging through them. Eh i'll force myself any. On Wed, May 14, 2008 at 11:43 AM, I. Savant [EMAIL PROTECTED] wrote: On Wed, May 14, 2008 at 11:35 AM, colo [EMAIL PROTECTED] wrote: Hmmm. The letting it create the files in the nib file sounds fine for me. But what about the linking

Re: Bypassing Interface Builder

2008-05-14 Thread colo
saved me a lot of head scratching (and occasional head-banging). Boyd On May 14, 2008, at 9:37 AM, Andy Lee wrote: On May 14, 2008, at 11:35 AM, colo wrote: Hmmm. The letting it create the files in the nib file sounds fine for me. But what about the linking and configuring? It's just all

Re: Bypassing Interface Builder

2008-05-14 Thread colo
Well. Huh. After reading all of that. I wish there was sorta mentor program. Ah but where would be the fun in that. Any way thats off topic. Nothing more to say other than back to the books. And pray that I get IB soon enough, cause this is my third round at cramming this in. On Wed, May 14,

Re: Bypassing Interface Builder

2008-05-14 Thread colo
On Wed, May 14, 2008 at 7:41 PM, Graham Cox [EMAIL PROTECTED] wrote: One thing to point out here (as the author of DrawKit) is that DrawKit doesn't use INTERFACE builder to any great extent because it is 95% data model. In the model-view-controller architecture, Interface Builder is useful

Re: Custom interface

2008-04-01 Thread colo
Is their no common toolkit like css for Cocoa GUI ? Or hell just use css for building the apps interface? No a widget but a real cocoa app. On 3/31/08, John Stiles [EMAIL PROTECTED] wrote: Basically you get to rewrite all the controls from scratch :) It's not a minor undertaking, so be sure

Re: Garbage collection - was Beginner with Cocoa

2008-03-25 Thread colo
I'll make a compromise with you. :-) I'll let you try one... just one... RubyCocoa application before you start looking at Objective-C. Start here: http://developer.apple.com/documentation/Cocoa/Conceptual/RubyPythonCocoa/Articles/BuildingRubyCocoaAppl.html#/

Re: Garbage collection - was Beginner with Cocoa

2008-03-24 Thread colo
In Ruby GC just works dandy without thought. Why is it so different in Cocoa Obj2.0? What kinda of real headaches will I have jumping into osx programing compared to ruby ? On 3/24/08, Bill Cheeseman [EMAIL PROTECTED] wrote: on 2008-03-24 10:32 AM, Scott Thompson at [EMAIL PROTECTED] wrote:

Re: Beginner with Cocoa

2008-03-24 Thread colo
Reference counting is well established. Retain/release is not reference counting. The essential point of reference counting is that the language system does it for you, you don't have to think about it at all. Most Java and scripting developers never even learn to think that there are

What is the status on the New Cocoa 2.0 Books?

2008-03-12 Thread colo
I know hillegass is doing one but has anyone a date on it ? And might there be others ? ___ 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