[iPhone] iPhone Screen with Add Photo and UITableView

2009-11-15 Thread Tharindu Madushanka
Hi I am trying to implement a screen in that it should have a table view, with add photo button and to right a table view cell. Could I do this with a single table view ? Can anyone point some way to do it. Like in contacts app Thank you, Tharindu ___

Re: How can a plug-in bundle get access to its own resources?

2009-11-15 Thread Motti Shneor
Thanks, but the bundleWithIdentifier has its own problems. 1. The identifier is (as far as i know) accessible only from the bundle itself, which I don't have! I'm circling around here, without access to my own resources! Must I hard-code the bundle identifier as a string constant within each

Re: Where are the interface builder components?

2009-11-15 Thread lbland
On Nov 14, 2009, at 8:40 PM, Dave DeLong wrote: There are a bunch of freely available frameworks that have UI elements like that, such as BWToolkit, BGHudAppKit, AmberFramework, iLife Controls, HMBlkAppKit, and more. Here's a decent list:

jdns_sd.dll ??? Bonjour Cocoa OK, but .... Bonjour Java Windows??? - need help!

2009-11-15 Thread Gabriel Höhener
Hello folks I already could make a cocoa application that works just like I want using bonjour (it works with wlan and bluetooth and cable like a charm!). Then I thought to develop the same thing for windows and thought that this would be as easy... no way! It's a nightmare!!! Has anybody

Re: How can a plug-in bundle get access to its own resources?

2009-11-15 Thread Mike Abdullah
On 15 Nov 2009, at 11:36 AM, Motti Shneor mot...@waves.com wrote: Thanks, but the bundleWithIdentifier has its own problems. 1. The identifier is (as far as i know) accessible only from the bundle itself, which I don't have! I'm circling around here, without access to my own resources!

Sync my iPhone app with the Desktop version

2009-11-15 Thread Karolis Ramanauskas
Good day, Does anyone here have pointers on how to implement syncing of my iphone application with the desktop version. I am interested in the way Things on iPhone does it, for example: http://bit.ly/OrLhi. They use wi-fi. The biggest problem I have digging up any information is that looking for

Re: Sync my iPhone app with the Desktop version

2009-11-15 Thread John Cebasek
Another plug for Jens Alfke's MyNetworkLibrary... Takes a bit to set up (detailed in the documentation), but works fine! It's at: http://bitbucket.org/snej/mynetwork/ John On 2009-11-15, at 9:40 AM, Karolis Ramanauskas wrote: Good day, Does anyone here have pointers on how to implement

Re: [iPhone] iPhone Screen with Add Photo and UITableView

2009-11-15 Thread Luke Hiesterman
What you see in Contacts is probably all in a tableHeaderView. Luke Sent from my iPhone. On Nov 15, 2009, at 2:40 AM, Tharindu Madushanka tharindu...@gmail.com wrote: Hi I am trying to implement a screen in that it should have a table view, with add photo button and to right a table

Re: retain and don`t retain in accessor methods

2009-11-15 Thread Clark Cox
On Sat, Nov 14, 2009 at 11:35 PM, Ariel Feinerman arielfap...@gmail.com wrote: 2009/11/15 Kyle Sluder kyle.slu...@gmail.com On Sat, Nov 14, 2009 at 2:35 PM, Ariel Feinerman arielfap...@gmail.com wrote: I need two versions of -initWith ... and -set ... methods of custom timer class (for

[OT] Re: jdns_sd.dll ??? Bonjour Cocoa OK, but .... Bonjour Java Windows??? - need help!

2009-11-15 Thread Alastair Houghton
On 15 Nov 2009, at 14:14, Gabriel Höhener wrote: I already could make a cocoa application that works just like I want using bonjour (it works with wlan and bluetooth and cable like a charm!). Then I thought to develop the same thing for windows and thought that this would be as easy... no

NSWindowCollectionBehaviorMoveToActiveSpace doesn't work

2009-11-15 Thread slasktrattena...@gmail.com
Hi all, Setting the collection behavior of my (standard) NSWindow to NSWindowCollectionBehaviorMoveToActiveSpace has no effect whatsoever. Someone else posted a simple test project a while back demonstrating the problem: http://lists.apple.com/archives/cocoa-dev/2009/Oct/msg00647.html Any

Example of categorized lists in a Mail-type interface

2009-11-15 Thread Ian Piper
Hi all, I would appreciate it if someone could point me at an example that I could use as the basis for building a categorized list similar to the mail folders display in Mail. I have a data model that has an entity called category and another called item. These have a one to many

Re: NSWindowCollectionBehaviorMoveToActiveSpace doesn't work

2009-11-15 Thread slasktrattena...@gmail.com
This appears to be a bug. I found that whereas calling [self setCollectionBehavior:NSWindowCollectionBehaviorMoveToActiveSpace]; has no effect, [self setCollectionBehavior:1]; produces the desired behavior. I'll file a radar. /f On Sun, Nov 15, 2009 at 7:31 PM, slasktrattena...@gmail.com

Re: Example of categorized lists in a Mail-type interface

2009-11-15 Thread Seth Willits
On Nov 15, 2009, at 10:38 AM, Ian Piper wrote: I would appreciate it if someone could point me at an example that I could use as the basis for building a categorized list similar to the mail folders display in Mail. It's a standard outline view, with group rows. See the delegate methods

Re: CPU sampling and +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]

2009-11-15 Thread Paulo Andrade
Thank you both. I have finally understood what's going on :). On Nov 15, 2009, at 7:19 AM, Joar Wingfors wrote: On 14 nov 2009, at 03.20, Michael Ash wrote: On Fri, Nov 13, 2009 at 1:28 PM, Paulo Andrade p...@mega.ist.utl.pt wrote: Hello, I'm using the CPU sampler template. Here

Re: How can a plug-in bundle get access to its own resources?

2009-11-15 Thread Steve Christensen
As has been pointed out several times, it's a really bad idea to have the same-named class in multiple plugins. The Objective-C runtime will load the first class instance it finds (in your case, in the first- loaded plugin). For all other plugins, when the class is referenced, that first

Re: Automatically terminating application

2009-11-15 Thread William Squires
On Oct 7, 2009, at 9:57 PM, Wim Lewis wrote: On Oct 7, 2009, at 1:44 PM, Daniel Ketel wrote: [...] I must have done something wrong, the application seems to get confused or I don't know what. The system itself still is running, but somehow the application is ignoring ANY input, but

Re: Example of categorized lists in a Mail-type interface

2009-11-15 Thread Rob Keniger
On 16/11/2009, at 4:38 AM, Ian Piper wrote: I would appreciate it if someone could point me at an example that I could use as the basis for building a categorized list similar to the mail folders display in Mail. This should help:

Authorization Samples for Cocoa?

2009-11-15 Thread Laurent Daudelin
Hello. I need a little helper tool to run under privileges and got it to work with help from the BLAuthentication class. However, I'd like to put up a personalized message when the security server requests the user to enter an admin password. The BLAuthentication class uses

Synchronization Core Data

2009-11-15 Thread Karolis Ramanauskas
Good evening to everyone, I'm in a (extensive) planning stage of a project and an issue of synchronization is forcing itself on me, I asked a question this morning about a networking side of things, and I got some info from nice people here about MYNetwork:

Re: CALayer Transitions

2009-11-15 Thread Matt Neuburg
On Sat, 14 Nov 2009 14:58:31 -0600, Gordon Apple g...@ed4u.com said: I assume this should be simple, but so far I haven't found the magic incantation, even after reading the docs, Dudley's book, and some archives. Problem: Layer called contentLayer has sublayers containing layer A, which is

Re: NSPopUpButton submenu's

2009-11-15 Thread Jerry Krinock
On 2009 Nov 14, at 11:14, SRD wrote: I'm still not understanding what I'm doing wrong. - (IBAction) readMenuSelection:(id) sender { // sender is NSPopUpButton NSMenuItem *menuItem = [sender selectedItem]; NSMenu *subMenu = [menuItem submenu]; //

Re: CALayer Transitions

2009-11-15 Thread Kyle Sluder
On Sun, Nov 15, 2009 at 6:51 PM, Matt Neuburg m...@tidbits.com wrote: Your understanding is likely wrong. :) addAnimation:forKey: on a layer triggers the animation then and there. Look at the examples in the Animation section of the Core Animation Programming Guide. To elaborate, the purpose

Re: CALayer Transitions

2009-11-15 Thread Kyle Sluder
On Sun, Nov 15, 2009 at 8:27 PM, Kyle Sluder kyle.slu...@gmail.com wrote: aLayer.actions = [NSArray arrayWithObject:anAnimation]; Er, this is supposed to be a dictionary, not an array. But you probably noticed that or would have understood the compiler error. Sorry 'bout that. --Kyle Sluder

Re: CALayer Transitions

2009-11-15 Thread Gordon Apple
I had actually tried using that delegate method. It gets called a lot because the same controller is delegate to many layers (for drawing). Of course, I filter it for the my content layer. As you noted, using sublayers also triggers for other sublayers and I may have to use your flag method

Customize NSTableHeaderView

2009-11-15 Thread Symadept
Hi, I want to customize NSTableHeaderView to that extent that Shall be able to show custom Image in the background. Shall be able to show the column separator. Any pointers highly appreciable. Regards symadept ___ Cocoa-dev mailing list

Re: Synchronization Core Data

2009-11-15 Thread Martin Hewitson
I would grab a copy of Core Data: Apple's API for Persisting Data on Mac OS X by Marcus S. Zarra This book covers syncing core-data apps between Macs and iPhones in some detail. Cheers, Martin On Nov 16, 2009, at 3:49 AM, Karolis Ramanauskas wrote: Good evening to everyone, I'm in a

Re: Synchronization Core Data

2009-11-15 Thread Karolis Ramanauskas
Ha! I just saw that book Amazon a few hours ago, but for some reason didn't bother looking through the contents. I assumed I need an iPhone book. Thanks! On Sun, Nov 15, 2009 at 11:54 PM, Martin Hewitson martin.hewit...@aei.mpg.de wrote: Apple's API for Persisting Data on Mac OS X

Performance

2009-11-15 Thread Chris Carson
Hi all, A performance related question: I've written a Cocoa app that continuously reads data from a USB device and plots it on a graph. It consists of three of my own classes. The first class is the model that submits asynchronous bulk reads to the USB device. The callback for these reads

Question about IB, filterPredicate, and bindings

2009-11-15 Thread Daniel Wambold
Hello, list. I am a hack programmer, so forgive what is probably an obvious question. I'm working on a core data document based app that uses bindings I've created in IB to control a master / detail interface. Briefly, in XCode's xcdatamodel, there is a Person entity with a name (String)

Transparent layer-backed views

2009-11-15 Thread Zbigniew Sobiecki
Hello, I'm trying to perform some simple animations using CA layers on transparent window and corresponding view. The problem I have is that every time I turn on the layer backing (either through wantsLayer in code, or with IB) the view stops being transparent. I've tried setting

Re: Advice On Subclass vs. Delegate

2009-11-15 Thread s.ross
Let me try character-art to illustrate the issue (forgive the top-post): +---+ Title: | |= splits on spaces only, counts dups +---+ Label: word count Label:dup count +---+ Keywords: |

Re: Where are the interface builder components?

2009-11-15 Thread Pascal Bourguignon
From: Sandro Noël sandro.n...@gestosoft.com But where are the ones from apple... that's what i'm wondering, Why do we have to duplicate work that evidently has already been done. I'm confused as why apple is not including it in it's development tools. it makes no sense to me... If Apple

SFAuthorization

2009-11-15 Thread Nyx0uf
Hi, If i understood correctly, the function AuthorizationExecuteWithPrivileges() executes the given command in a new process. Is there a way to wait for the created process to terminate ? Thanks for helping me. Nyxem.___ Cocoa-dev mailing list

Re: Where are the interface builder components?

2009-11-15 Thread Graham Cox
On 15/11/2009, at 7:04 PM, Pascal Bourguignon wrote: Otherwise, if the question is why there's no market for reusable object component, (which was promised by early OO proponents), perhaps it is because the OO model is flawed? Or, I would rather thing that the _granularity_ of the OO

Re: Where are the interface builder components?

2009-11-15 Thread Kyle Sluder
On Sun, Nov 15, 2009 at 12:04 AM, Pascal Bourguignon p...@informatimago.com wrote: Otherwise, if the question is why there's no market for reusable object component, (which was promised by early OO proponents), perhaps it is because the OO model is flawed?  Or, I would rather thing that the

Re: SFAuthorization

2009-11-15 Thread Dave Keck
If you're sure that no other forked process will exit before the process spawned by AEWP (generally, a reasonable assumption), you can simply wait(). Of course, this will block the run loop, preventing any user interaction from being handled. See 'man 2 wait'.

Re: SFAuthorization

2009-11-15 Thread Kyle Sluder
On Sun, Nov 15, 2009 at 10:39 AM, nyx...@gmail.com nyx...@gmail.com wrote: If i understood correctly, the function AuthorizationExecuteWithPrivileges() executes the given command in a new process. Is there a way to wait for the created process to terminate ? No, using AEWP correctly will

Re: Example of categorized lists in a Mail-type interface

2009-11-15 Thread Ian Piper
On 16 Nov 2009, at 01:09, Rob Keniger wrote: On 16/11/2009, at 4:38 AM, Ian Piper wrote: I would appreciate it if someone could point me at an example that I could use as the basis for building a categorized list similar to the mail folders display in Mail. This should help:

NSFileManager thread safety?

2009-11-15 Thread David Cake
The following code snippet works fine from my main thread. NSFileManager *tempFileManager = [[NSFileManager alloc] init]; NSString *path= [self tempDirPath]; if(![tempFileManager removeItemAtPath: path error: nil]) { NSLog(@failed to remove temp files);