On 28 May 2009, at 06:31, sheen mac wrote:
I am doing a screen sharing app for iPhone and Mac.I captured the
Mac Screen as NSImage using OpenGL and send it to iPod as Gif data.
But sending and restoring to UIImage process make delay because of
Image size.The image size of capture is 320 x 38
How do I proceed in creating a custom view/window that is attached and act
like an NSMenu for a NSStatusItem.So when the menu bar icon is clicked, this
custom view/window will appear right underneath the NSStatusItem.
So far im thinking to start with a custom NSWindow and an NSView inside
that. Th
On May 29, 2009, at 12:46 AM, John Ku wrote:
Any alternatives? What direction should I look into? Much Appreciated!
How about creating a menu item and using setView: ?
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Ple
Ah, but that just sets a customView for that particular menu item correct?Im
trying to built a full pop up menu from scratch. Im looking to change the
menu borders, background, add buttons, drop down lists, etc. Its actually
less of a menu in terms of function, more of a pop up window that acts lik
Hi,
Is it possible to rearrange items in customize toolbar ?
I want to change the order of NSToolbarItem in NSToolbar.
Thanks,
Nikhil
DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the
property of Persistent Systems Ltd. It is intended only for th
I think what you want is something like MAAttachedWindow which can be
found at http://mattgemmell.com/source.
HTH,
Tim
29 maj 2009 kl. 10.37 skrev John Ku:
Ah, but that just sets a customView for that particular menu item
correct?Im
trying to built a full pop up menu from scratch. Im look
Am 29.05.2009 um 02:55 schrieb John Ku:
And yeah, NSMutableString will be initialized else where and
released later.
Why use a mutable string at all? Just retain the new string and dump
the old one.
Use
@property (retain) NSString *title;
@synthesize title;
and be done with it.
Le 29 mai 09 à 11:31, Alexander Spohr a écrit :
Am 29.05.2009 um 02:55 schrieb John Ku:
And yeah, NSMutableString will be initialized else where and
released later.
Why use a mutable string at all? Just retain the new string and dump
the old one.
Use
@property (retain) NSString *title
Hi !
I'm having strange crashes in my threaded core data application. Happy
WWDC is in few days!
Core Data multithreading basic rule is to avoid passing managed
objects across threads, and pass objectIDs instead.
To "synchronize" 2 mocs from 2 different threads (sharing the same
psc), I
I think the best way I can think of would be to have an object act as an
intermediate for this, which contains an aggregate array that
table3controller is bound to.
In this object define observers for tableview1controller and
tableview2controller's selection property, so that this object receives K
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
Hi list...
I m new to cocoa. I ve a NSTextview, for which i ve set a
scrollerview. I can scroll it vertically.But i wanted to scroll it
horizontally also. I ve used [NSTextView
setHasHorizontalScroller:YES]; But i m wondering why its not
workingPlease help me..:(
--
With Regards,
Hello, I'm trying to find out how to tell the apple remote to not do
hold events for the left and right buttons. Is this Possible? If so
how do I do it?
Thanks,
Mr. Gecko
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post ad
Hi
I have a MyAppViewController that creates a set of views and that works
fine. They are displayed and animated.
I want to know in the view controller when one of the views is touched and
work on it.
For that I have in the uiview class :
- (void) touchesBegan: (NSSet *)touches withEvent:(UIEvent
On May 29, 2009, at 9:39 AM, Pierre Berloquin wrote:
But I get an error :
duplicate symbol .objc_class_name_MyAppViewController
What am I doing wrong ?
You're building the class "MyAppViewController" twice for some reason.
Did you accidentally #import a .m file anywhere, or leave an
imp
Yes, I did import too many times, but that was in a desperate attempt to
import enough!I corrected that and now I have my original error :
MyAppViewController may not respond to +manageMyViews
which blocks the program
Thanks
2009/5/29 Nick Zitzmann
>
> On May 29, 2009, at 9:39 AM, Pierre Berloq
Hi list...
I m new to cocoa. I ve a NSTextview, for which i ve set a
scrollerview. I can scroll it vertically.But i wanted to scroll it
horizontally also. I ve used [NSScrollView
setHasHorizontalScroller:YES]; But i m wondering why its not
workingPlease help me..:(
--
--
With Regards,
> Yes, I did import too many times, but that was in a desperate attempt to
> import enough!I corrected that and now I have my original error :
> MyAppViewController may not respond to +manageMyViews
> which blocks the program
So you're not importing MyAppViewController.h? You need to learn the
dif
On Fri, May 29, 2009 at 11:18 AM, Pierre Berloquin wrote:
> Yes, I did import too many times, but that was in a desperate attempt to
> import enough!I corrected that and now I have my original error :
> MyAppViewController may not respond to +manageMyViews
> which blocks the program
>
You've defi
No I'm not that innocent. I do import the .h . My program is already
complex, with several classes working together ok. Only this message problem
blocks me.
2009/5/29 Scott Ribe
> > Yes, I did import too many times, but that was in a desperate attempt to
> > import enough!I corrected that and no
On Fri, May 29, 2009 at 11:20 AM, archana udupa wrote:
> Hi list...
> I m new to cocoa. I ve a NSTextview, for which i ve set a
> scrollerview. I can scroll it vertically.But i wanted to scroll it
> horizontally also. I ve used [NSScrollView
> setHasHorizontalScroller:YES]; But i m wondering why
Hi All,
I have a application in which i display application names along with an
image in a table column. Also i display their versions in another column.
I have used custom ImageAndText cell for the first column and
NSTextFieldCell fro the second column.
If i resize the second column, then the con
On May 29, 2009, at 10:00 AM, Arun wrote:
Hi All,
I have a application in which i display application names along with
an
image in a table column. Also i display their versions in another
column.
I have used custom ImageAndText cell for the first column and
NSTextFieldCell fro the second
> No I'm not that innocent. I do import the .h . My program is already complex,
> with several classes working together ok. Only this message problem blocks me.
Well then, my second guess would be one of those frustrating typos that you
don't see even though you've looked at the identifiers severa
On May 29, 2009, at 1:41 AM, Nikhil Khandelwal wrote:
Hi,
Is it possible to rearrange items in customize toolbar ?
I want to change the order of NSToolbarItem in NSToolbar.
Thanks,
Nikhil
Hello Nikhil,
The order of the items in the toolbar is determined by the order of
the item identifie
Hello list,
I've been scratching my head for a few hours already trying to get the
autoresizing masks set correctly for the following situation, with no
luck, and would greatly appreciate some help.
I have a view containing two labels, labelA and labelB, horizontally
laid out in sequence,
Hello,
I'm trying to issue a "REPORT" request to a server, the HTTP Method
header needs to look like this:
REPORT /bernard/work/ HTTP/1.1
So I use setHTTPMethod to set the HTTP Method: [theRequest
setHTTPMethod:@"REPORT /bernard/work/"];
But when I issue the request, the server returns a
On Fri, May 29, 2009 at 4:10 PM, Chris Purcell wrote:
> Hello,
>
> I'm trying to issue a "REPORT" request to a server, the HTTP Method header
> needs to look like this:
>
> REPORT /bernard/work/ HTTP/1.1
>
> So I use setHTTPMethod to set the HTTP Method: [theRequest
> setHTTPMethod:@"REPORT /berna
On May 29, 2009, at 2:49 AM, Aurélien Hugelé wrote:
Core Data multithreading basic rule is to avoid passing managed
objects across threads, and pass objectIDs instead.
yup.
To "synchronize" 2 mocs from 2 different threads (sharing the same
psc), I use mergeChangesFromContextDidSaveNotific
On May 29, 2009, at 1:38 PM, WT wrote:
I also tried turning off the "autoresize subviews" option in IB for
the container view (and all 4 elements, not that that should
matter), in the hopes that that would work since I compute the
correct coordinates for all elements myself. Yet, it still d
On Fri, May 29, 2009 at 2:25 PM, Ben Trumbull wrote:
> In a literal sense, it can appear that way. The specific implementation
> details of mergeChangesFromContextDidSaveNotification address the paradox.
> The framework gets to bend its own rules a touch in much the same way that
> an object acc
On May 29, 2009, at 2:46 PM, Kyle Sluder wrote:
Can we please have some further clarification on this in the docs
please? r.6933634
The documentation states explicitly:
You can use this method to, for example, update a managed object
context on the main thread with work completed in anoth
On Fri, May 29, 2009 at 2:59 PM, mmalc Crawford wrote:
> Could you elaborate on what is unclear?
Perhaps it would suffice to just have a simple one-liner that mentions
NSManagedObjectContextDidSave, specifically in the context of
multi-threaded Core Data. It's not an easy topic, so I think an
ai
I don't see any methods such as NSSearchPathForDirectoriesInDomains() for
getting the localized name of the /Users/Shared directory. Is there one?
Thanks,
Erg
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin r
On May 29, 2009, at 3:40 PM, Kyle Sluder wrote:
And if it's determined to already be clear enough, please close the
bug
No, there is something there to be addressed -- thanks for the
clarification.
mmalc
___
Cocoa-dev mailing list (Cocoa-d
On 29 May 2009, at 3:49 PM, Erg Consultant wrote:
I don't see any methods such as
NSSearchPathForDirectoriesInDomains() for getting the localized name
of the /Users/Shared directory. Is there one?
Once you have any path, you can get the localized components via -
[NSFileManager components
How does that help?
I can get a list of all user dirs via:
NSSearchPathForDirectoriesInDomains( NSUserDirectory, NSLocalDomainMask, YES );
But I still don't know which of those returned is the Shared one.
Erg
From: Chris Parker
To: Erg Consultant
Cc: Chris
Hi Seth,
thanks for answering to my call for help. You make a good point.
Perhaps it is a problem with my code after all. However, not updating
the label positions still causes them to move and if I am not moving
them, someone else is. Anyhow, I created a sample project that still
shows t
On Fri, May 29, 2009 at 7:01 PM, Erg Consultant
wrote:
> How does that help?
>
> I can get a list of all user dirs via:
>
> NSSearchPathForDirectoriesInDomains( NSUserDirectory, NSLocalDomainMask, YES
> );
>
> But I still don't know which of those returned is the Shared one.
This is not even rem
How can I get the full path to the Users/Shared dir and the dir's localized
name?
Thanks,
Erg
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
On May 29, 2009, at 4:27 PM, Erg Consultant wrote:
How can I get the full path to the Users/Shared dir and the dir's
localized name?
FSRef usersSharedFSRef;
if (FSFindFolder(kOnAppropriateDisk, kSharedUserDataFolderType,
kDontCreateFolder, &usersSharedFSRef) == noErr)
{
NSString* user
It seems to me that you want to also use NSTIFFPboardType/
NSPDFPboardType with the image data. Mail/iPhoto like to deal with
files (for attachments/library items), but TextEdit wants a raw image
(IIRC).
-W
On May 30, 2009, at 4:21 AM, Srinivasa Prabhu wrote:
Hi all,
I am trying to drag
I am periodically bitten by EXC_BAD_ACCESS memory problems that are
sometimes hard to find. One that just occurred was that I was
mistakenly returning an un-initialized local variable from a method
(i.e.
NSObject myObject;
...
... some if-statements
...
return myObject; // I should hav
On 30/05/2009, at 1:13 PM, Eric Hermanson wrote:
Is there a way to tune xCode so that it warns you of these types of
potential problems (and more)? The Java development environment
I've been using for the past several years (Jetbrains IDEA) has
unbelievably fantastic code-editing and comp
Thank You. I also just found this useful web page based on your
feedback:
http://developer.apple.com/TOOLS/xcode/staticanalysis.html
On May 29, 2009, at 11:22 PM, Graham Cox wrote:
On 30/05/2009, at 1:13 PM, Eric Hermanson wrote:
Is there a way to tune xCode so that it warns you of thes
On May 29, 2009, at 11:22 PM, Graham Cox wrote:
Is there a way to tune xCode so that it warns you of these types of
potential problems (and more)? The Java development environment
I've been using for the past several years (Jetbrains IDEA) has
unbelievably fantastic code-editing and compile
I'm a new Cocoa programmer working on my first non-trivial custom view
and I have a question regarding the right way to handle view resizing.
Say that I have a list of shapes that I need to draw left to right
across my view, and this list grows over time. Eventually, I will
need to draw
I have an app I install with PackageMaker setting the permissions on the
staging dirs to root/admin as mentioned in the Apple docs so that the app gets
installed with permissions for any user.
I also install an empty dir with full rwxrwxrwx permissions - this is a data
dir that my app will use
On 29/05/2009, at 10:14 AM, Robert Olivier wrote:
I'm a new Cocoa programmer working on my first non-trivial custom
view and I have a question regarding the right way to handle view
resizing.
Say that I have a list of shapes that I need to draw left to right
across my view, and this list
49 matches
Mail list logo