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 o

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 wrote: > On Dec 30, 2010, at 06:13 PM, colo 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 = [w

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 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

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 jus

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 immed

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 t

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

Re: iOS Pages app UI Widget question.

2010-12-08 Thread colo
On Wed, Dec 8, 2010 at 3:57 PM, Conrad Shultz 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 i

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 ha

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 rolling

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

Re: Looking for examples of UIScrollView using Core Data

2010-04-17 Thread colo
n 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

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: in search of a starter iphone painting tutorial or sample code

2009-07-03 Thread colo
> This one uses OpenGL: > > > 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

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 stor

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 ___ Cocoa-

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 wrote: > The fact that AppKiDo isn't built in is one of the reasons I like it. When > you update your docs in Xcode's bu

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 know

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 (Cocoa-dev@lists

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 intr

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 co

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: 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 Help/U

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

2008-05-15 Thread colo
rth to you? Seems about 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. >> Soo

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 (Cocoa-dev@lists.apple.co

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 Tu

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 you

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 > usefu

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
g Interface Builder, it > would have 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

Re: Bypassing Interface Builder

2008-05-14 Thread colo
ust discourages me 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 s

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 I

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 exa

Re: Custom interface

2008-04-01 Thread colo
Thats silly. eh' i'm not going to argue I have no need to just yet, I still need to learn the detailed basics. But what of using opengl for the gui then? The Blender app utilizes this to the effect. On 4/1/08, Rob Keniger <[EMAIL PROTECTED]> wrote: > > On 01/04/2008, a

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 s

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#/ > /apple_ref/doc

Re: Garbage collection - was Beginner with Cocoa

2008-03-24 Thread colo
4/08, Bill Cheeseman <[EMAIL PROTECTED]> wrote: > on 2008-03-24 1:02 PM, colo at [EMAIL PROTECTED] wrote: > > > Are there tutorials or some such for these Cocoa > > Release ideals or will I cross them when I read the pdf ? > > > If you have Apple's Deve

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

Re: Garbage collection - was Beginner with Cocoa

2008-03-24 Thread colo
tutorials or some such for these Cocoa Release ideals or will I cross them when I read the pdf ? On 3/24/08, Bill Cheeseman <[EMAIL PROTECTED]> wrote: > on 2008-03-24 11:30 AM, colo at [EMAIL PROTECTED] wrote: > > > In Ruby GC just works dandy without thought. Why is it so diffe

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: What is the status on the New Cocoa 2.0 Books?

2008-03-12 Thread colo
Ah, then that was my focus of this discussion. Thank you. >Though tutorials and guides are severely lacking in the Objective-C 2.0 arena. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to

Re: What is the status on the New Cocoa 2.0 Books?

2008-03-12 Thread colo
Wow thats a long time to wait for new docs and working tutorials for the new Leopard API's . As I two really want to get started at learning how to code for the NDA thing as well That NDA thing must be just that awesome to wait so long for some docs On Wed, Mar 12, 2008 at 8:48 PM, Gary L. Wade

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 cocoa-dev-admin