[iOS] setting table style for root view controller of a navigation controller

2010-11-30 Thread Donald Hall
Hi all, I have a tab bar based iOS application. The controllers for each tab bar item are UINavigationControllers, and the root view controllers for each navigation controller are custom UITableViewControllers. What is the best way to set the style of the table views? I want at least one of

How to call another tabbar and call an method

2010-11-30 Thread Junior ABC
Hi all, sorry for my poor english. i am brazilian. I have an app with 2 tabs. On first tab I search data on my database and i store the search terms. On second tab called history I show the terms and when i select one term on tableview I want to call the first tab and search automatically using t

Re: NSTask with unzip

2010-11-30 Thread Tim Schröder
There are several free zlib frameworks for Cocoa available, have a look at http://www.timschroeder.net/2010/07/25/the-seven-cities-of-zip/ for a comparison. -- Tim Schröder Am 28.11.2010 um 23:51 schrieb Leonardo: > Great! Thanks for the advises. > Now I have to zip and unzip a NSData (not a

Re: Drawers on windows...

2010-11-30 Thread Kyle Sluder
On Tue, Nov 30, 2010 at 4:08 PM, aglee wrote: > Hi, A.M. :) > > Here are some thoughts on why I went that way with AppKiDo.  Maybe they'll > be relevant to others considering a drawer. > > * One reason I went with the drawer is that by sliding it in and out you can > change its width without affec

Re: Drawers on windows...

2010-11-30 Thread aglee
Hi, A.M. :) Here are some thoughts on why I went that way with AppKiDo.  Maybe they'll be relevant to others considering a drawer. * One reason I went with the drawer is that by sliding it in and out you can change its width without affecting the layout of the parent window.  That matters les

Re: Drawers on windows...

2010-11-30 Thread A.M.
On Nov 30, 2010, at 5:27 PM, Jean-Daniel Dupas wrote: > And for completeness of the answer, here is when Apple recommends to use > drawer: > > http://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGWindows/XHIGWindows.html%23//apple_ref/doc/uid/200

Re: Drawers on windows...

2010-11-30 Thread Ross Carter
On Nov 30, 2010, at 4:29 PM, Sherm Pendley wrote: > On Tue, Nov 30, 2010 at 4:06 PM, lbland wrote: >> >> When drawers first came out they were all the rage. Then they went out of >> favor by some, so much so I thought they would be depreciated. But, it seems >> like drawers are sticking around

Re: Drawers on windows...

2010-11-30 Thread Jean-Daniel Dupas
Le 30 nov. 2010 à 22:29, Sherm Pendley a écrit : > On Tue, Nov 30, 2010 at 4:06 PM, lbland wrote: >> >> When drawers first came out they were all the rage. Then they went out of >> favor by some, so much so I thought they would be depreciated. But, it seems >> like drawers are sticking around

Re: aborting init

2010-11-30 Thread Graham Cox
On 30/11/2010, at 9:09 PM, Michael Watson wrote: > this is not correct; there are more possibilities than 0 being returned. in > most situations, sending a message to nil does indeed yield a return value of > 0/nil. but that's not true all of the time: But it is true probably more than 99% of

Re: Drawers on windows...

2010-11-30 Thread Sherm Pendley
On Tue, Nov 30, 2010 at 4:06 PM, lbland wrote: > > When drawers first came out they were all the rage. Then they went out of > favor by some, so much so I thought they would be depreciated. But, it seems > like drawers are sticking around. But, on the other hand, drawers seem to > come and then

Drawers on windows...

2010-11-30 Thread lbland
hi- When drawers first came out they were all the rage. Then they went out of favor by some, so much so I thought they would be depreciated. But, it seems like drawers are sticking around. But, on the other hand, drawers seem to come and then go on a few apps without returning. What is the tak

Re: Reducer Sample Code

2010-11-30 Thread Kyle Sluder
On Mon, Nov 29, 2010 at 10:15 PM, John Joyce wrote: > Does anybody know where to locate the "Collapsible Box Plugin" for the > Reducer sample project? > Whenever I try to open the nib file in IB (Xcode 3.x) it wants me to locate > some plugin... It looks like the intent of the sample project wa

Re: Moving a UIView when has a CAAffineTransformationRotate

2010-11-30 Thread Gustavo Pizano
Hello Duncan. I did this change and it worked, i dunno if tis correct to do it, but the thing is I need the new locations respective the superview, not the view itself, so I have this: UITouch *aTouch = [touches anyObject]; CGPoint loc

Re: Moving a UIView when has a CAAffineTransformationRotate

2010-11-30 Thread David Duncan
On Nov 30, 2010, at 10:30 AM, Gustavo Pizano wrote: > it works ok for anything but views with a transformation, rotate in this > case) applied, im still having the same behavior as before, what am I doing > wrong?. Not sure, but if your still seeing issues it sounds like time to hit the debug

Re: Moving a UIView when has a CAAffineTransformationRotate

2010-11-30 Thread Gustavo Pizano
Sorry keeping mail in the list, On Nov 30, 2010, at 7:29 PM, Gustavo Pizano wrote: > Hello David, thanks for the reply. > > I have replace the code for this: > > UITouch *aTouch = [touches anyObject]; > CGPoint loc = [aTouch locationInView:

Re: Moving a UIView when has a CAAffineTransformationRotate

2010-11-30 Thread David Duncan
On Nov 30, 2010, at 9:49 AM, Gustavo Pizano wrote: > Any help or tip may be appreciate, my linear algebra is not that good ... :SS > I wanna cry... Move the center instead of the frame. The frame is derived from the center, bounds.size and transform, so once you've placed a transform on the v

Moving a UIView when has a CAAffineTransformationRotate

2010-11-30 Thread Gustavo Pizano
Hello all. Im sorry maybe a little bit OT, because this is more mathematical, but I dunno how to achieve it. First, I have a view, which I can rotate, I can move around doing this: UITouch *aTouch = [touches anyObject]; CGPoint loc = [aT

Re: bindings via file's owner don't update

2010-11-30 Thread Mikkel Eide Eriksen
On Nov 30, 2010, at 5:34 PM, Quincey Morris wrote: > On Nov 29, 2010, at 21:36, Mikkel Eide Eriksen wrote: > >> I'm updating the objectCount property during readFromURL:ofType:error: - >> could that be it? > > No, that's a suitable method, but the question is whether it's running in the > main

Problems implementing custom table view cell

2010-11-30 Thread Hrishikesh Murukkathampoondi
Hello I have the following issues when implementing a custom cell for my table view. Problem 1: My custom cell is called MyCell. It inherits from NSCell. I have set the cell in the table view to MyCell in IB. I have implemented the following method to draw MyCell - (void)drawInteriorWithFrame:

Analyzing a Framework

2010-11-30 Thread Tito Ciuro
Hello, I have been writing a Framework which is tested by a few unit tests. While I try to exercise the API as much as possible, I know for sure I'm not covering everything. I also don't have a good idea where the performance bottlenecks are. Therefore, I'd like to do two things: run gcov and S

Re: [ANN] LuaCocoa: A next-gen Lua/Objective-C bridge

2010-11-30 Thread jonat...@mugginsoft.com
On 30 Nov 2010, at 12:26, Eric Wing wrote: > I am happy to announce the very first public release of LuaCocoa (v. > 0.1.0). This is a next generation Lua/Objective-C bridge that uses > BridgeSupport and libffi on Mac OS X to provide full automatic > bindings to Objective-C and the more difficult

[ANN] LuaCocoa: A next-gen Lua/Objective-C bridge

2010-11-30 Thread Eric Wing
I am happy to announce the very first public release of LuaCocoa (v. 0.1.0). This is a next generation Lua/Objective-C bridge that uses BridgeSupport and libffi on Mac OS X to provide full automatic bindings to Objective-C and the more difficult areas of the platform such as functions, structs, con

Re: aborting init

2010-11-30 Thread Michael Watson
On 29 Nov, 2010, at 19:27, Graham Cox wrote: > > On 30/11/2010, at 1:59 PM, Rainer Standke wrote: > >> The intended behavior is not to get anything if the conditions are not met. >> >> >> Is this kosher? Do I have to do any kind of clean-up after doing something >> like that? > > > Yes, it'

Re: NSTableColumn Binding Question

2010-11-30 Thread jonat...@mugginsoft.com
On 30 Nov 2010, at 01:12, Peter Zegelin wrote: > Hi All, > > I have successfully bound most of the columns of my table to the contents of > an arraycontroller but I have one column that needs to be treated differently. > > I would like the column to just display the row number of the item in