On 20/08/2009, at 10:52 AM, Steve Mykytyn wrote:
Suggestions?
I link to libcrypto simply by adding a -libcrypto to my other linker
flags in the project settings. I don't have to include any paths or
frameworks or anything, and it works.
--Graham
On 20/08/2009, at 4:09 PM, Graham Cox wrote:
On 20/08/2009, at 10:52 AM, Steve Mykytyn wrote:
Suggestions?
I link to libcrypto simply by adding a -libcrypto to my other
linker flags in the project settings. I don't have to include any
paths or frameworks or anything, and it works.
I need to implement a system where I can verify the number of running
copies of my app on a local network against a site license. I thought
DO might be a good way to implement this.
So what I'm thinking is the following. I'd appreciate it if someone
with experience of DO could help me fill
Le 20 août 2009 à 01:13, I. Savant a écrit :
On Aug 19, 2009, at 6:49 PM, Jean-Daniel Dupas wrote:
You're probably calling setImage: before the nib is loaded (and so
the outlet is connected).
You can force it to load by calling [aWindowController window]
before trying to set the image.
whoops, I meant the CFBundleShortVersionString key.
On Thu, Aug 20, 2009 at 12:52 AM, aaron
smithbeingthexemplaryli...@gmail.com wrote:
hey all,
I'm reading through some debugging stuff, and looking at this page
(http://developer.apple.com/technotes/tn2004/tn2123.html) about crash
reports.
Am 20.08.2009 um 04:38 schrieb M Pulis:
I got that, Bill, thank you.
The OP did not specify what particular sql store (we still do NOT
know) nor if he is compiled Universal, has any helper programs, etc,
he did however, describe symptoms I have seen with Rosetta. So I
simply proposed
Am 20.08.2009 um 11:34 schrieb Ruotger Skupin:
Am 19.08.2009 um 22:00 schrieb Ben Trumbull:
I debugged it with some Snow Leopard magic and found out, that
firing
faults is very slow the first time after boot. When I use -[NSArray
filteredArrayUsingPredicate:] the fault firing is killing
Hi Joe,
Sorry to misunderstand your intentions. I had an inkling I might be
reading your question wrong. I'm intrigued now as to how you might do
it. This low level c code makes my head spin, but if I read the docs
correctly it should be possible to decode the keyCodes to Unicode
I'm wondering if there's a way to make an xib like the one auto-generated by
XCode for iPhone apps. In the main window, there's a
grayed area showing 'Loaded from .xib' and if you click on the link
inside the area, IB will open the corresponding xib file for you.
Anyone knows how? Thanks.
On Aug 19, 2009, at 1:44 PM, PCWiz wrote:
This seems to be a bug with Snow Leopard, or Snow leopards developer
tools. I took the same project, and then compiled and ran it on
Leopard, the issue does not exist. I'm not sure why this is happening.
SnowLeopard is still
Hi,
This is my third app in Xcode3. Had to use Xcode3 becuase it has to be
a 64-bit app.
In earlier two apps, the control reaches to the breakpoint on the
first line of the init method of AppController class, while debugging.
But in this third one, it is not reaching the breakpoint, and
On 20/08/2009, at 9:08 PM, Nick Rogers wrote:
What I may be missing here?
So maybe init isn't actually being called. Objects constructed from a
nib are usually inited using -initWithCoder:. Is AppController coming
from a nib?
--Graham
___
Hi,
AppController is not coming from an archive.
Dragged an NSObject to MainMenu.xib, set its class to AppController,
made AppController the delegate of File's Owner.
Thanks,
Nick
On 20-Aug-09, at 4:47 PM, Graham Cox wrote:
On 20/08/2009, at 9:08 PM, Nick Rogers wrote:
What I may be
On 20/08/2009, at 9:20 PM, Navneet Kumar wrote:
AppController is not coming from an archive.
Dragged an NSObject to MainMenu.xib, set its class to AppController,
made AppController the delegate of File's Owner.
These two statements contradict one another.
If you dragged an object into
On Aug 19, 2009, at 10:38 PM, M Pulis wrote:
My whole deal was about any PPC tasks in the OP's product's chain of
execution, as I.S. selectively missed then exaggerated the off
topic point (#5 of 8) in his surgical excerpt of my detailed
response to his questioning of my suggestion to the
On Aug 19, 2009, at 10:13 PM, Todd Heberlein wrote:
or
-viewDidLoad
on the iPhone (?).
Sure. The OP mentioned NSImage and NSImageView (Mac), so I focused
on that. You're right, though. There, too. :-)
--
I.S.
___
Cocoa-dev
HI All,
In my application I am setting shortcut key for a menu item as
[Menuitem setKeyEquivalentModifierMask:NSAlternateMask];
[Menuitem setKeyEquivalent:@1];
But it is not working with alt key though it is working fine if I press Fn +
option + 1 or control + option + 1.
Is option key is not
On Aug 20, 2009, at 3:41 AM, Jean-Daniel Dupas wrote:
The -[NSWindowController loadWindow] methods says you can call -
[NSWindowController window] to load the window, so I don't think it
should be an issue..
Just a point, I think that in NSWindowController it may be better to
initialize
ok
best,
gary
ToothPics Company
1.800.218.0531
On Aug 20, 2009, at 2:16 AM, Ruotger Skupin li...@chipmunk-app.com
wrote:
Am 20.08.2009 um 04:38 schrieb M Pulis:
I got that, Bill, thank you.
The OP did not specify what particular sql store (we still do NOT
know) nor if he is
I need to implement a system where I can verify the number of running
copies of my app on a local network against a site license. I thought
DO might be a good way to implement this.
Consider using just Bonjour for this -- with careful implementation of
the name and type service strings, you
Thank you for sharing that link with me -- that is what I've been
looking for! Hopefully that will now allow me to customize my
collection views.
I believe binding the prototype view back to the NSCollectionViewItem
will give you access to the controller. As I pointed out, you should
Hi all,
I have NSMutableArray (fixed length) that I wish to fill with unique
values at each index from a source NSArray (fixed length, greater than
the length of the target mutable array).
Realise that I can do this by writing a loop and check to see if a
value has bee pre-filled, the last
On 20/08/2009, at 10:43 PM, Devraj Mukherjee wrote:
Is there are better way of doing this?
Use a NSMutableSet, which only accepts unique objects. You can turn it
into an array later.
However you can probably do this just as easily with an array,
avoiding the slowdown at the end, if
On 20 Aug 2009, at 13:43, Devraj Mukherjee wrote:
Hi all,
I have NSMutableArray (fixed length) that I wish to fill with unique
values at each index from a source NSArray (fixed length, greater than
the length of the target mutable array).
This sounds worrying. There is no such thing as a
That's a great idea - nice one ;-)
I've made some headway since my earlier post, by starting with Bonjour
using NSNetService and NSNetServiceBrowser. I'm starting to form some
slightly more intelligent (I hope) questions.
Port Number. Given my scenario wouldn't I need to use a fixed port
Le 20 août 2009 à 13:55, I. Savant a écrit :
On Aug 20, 2009, at 3:41 AM, Jean-Daniel Dupas wrote:
The -[NSWindowController loadWindow] methods says you can call -
[NSWindowController window] to load the window, so I don't think it
should be an issue..
Just a point, I think that in
On Aug 20, 2009, at 9:37 AM, Jean-Daniel Dupas wrote:
I managed to find a issue when you don't bind the window outlet and
try to call [self window] in awakeFromNib.
Instead of returning nil, it try to load the nib again, falls in a
infinite recursive loop and crash when the stack is full.
On 8/19/09 5:05 PM, Seth Willits said:
I've been noticing this for a little while now. For some wacky
reason, the thread that tickles default buttons and progress
indicators to update is somehow no long working in my app. Default
buttons don't pulsate and the progress indicators don't spin.
Le 20 août 2009 à 16:21, I. Savant a écrit :
On Aug 20, 2009, at 9:37 AM, Jean-Daniel Dupas wrote:
I managed to find a issue when you don't bind the window outlet and
try to call [self window] in awakeFromNib.
Instead of returning nil, it try to load the nib again, falls in a
infinite
On Aug 20, 2009, at 10:40 AM, Jean-Daniel Dupas wrote:
It's fine too.
From the NSWindowController subclass note (at bottom of the
reference):
windowDidLoad : Override to perform tasks after the window nib file
is loaded.
And the -[NSWindowController window] and -[NSWindowController
On Aug 19, 2009, at 5:52 PM, Steve Mykytyn wrote:
The older machine does not have /usr/lib/libcrypto.0.9.x.dylib, it
has /usr/lib/libcrypto.0.9.y.dylib, which is where the alias
resolves, but somehow the app does not get it right.
Note that it's a symlink, not an alias...
I have
I am using an NSOutlineView
in my App so i downloaded Apples Photo Search Sample App which uses an
NSOutlineView. While using it I noticed that it gives the root/header object
of the outline view a Gradient Background, so I looked through the code
but I couldn't see what did it. Would someone mind
On Aug 20, 2009, at 10:59 AM, Kyle Sluder wrote:
Use -awakeFromNib to do view setup (turning on layer backing,
creating caches colors, etc.). Use -windowDidLoad (or -
windowControllerDidLoadNib or whatever that NSDocument method is)
for setting up inter-view relationships.
Hmm ... so
On 20/08/2009, at 5:17 AM, Paul Bruneau wrote:
In summary, it seemed like a Long Way to Go just to let my new
Entrance objects know who their document is. In my future is the
fact that Entrances will have FrameModules, which may contain a
Door, which will contain an array of Cutouts and
On Aug 19, 2009, at 7:26 PM, augusto callejas wrote:
since the finder under snow leopard is going to be pure cocoa,
i assume any contextual menu plugin written in carbon will not work?
if so, where would i find sample code like above, except using just
cocoa?
Can't discuss that here. Try
On Aug 19, 2009, at 5:26 PM, augusto callejas wrote:
if so, where would i find sample code like above, except using just
cocoa?
There aren't any. You have to use Carbon for at least the entry point
of a CM plugin. After that, you can call any Foundation method you
want, or even AppKit
On 21/08/2009, at 1:18 AM, Graham Cox wrote:
On 20/08/2009, at 5:17 AM, Paul Bruneau wrote:
In summary, it seemed like a Long Way to Go just to let my new
Entrance objects know who their document is. In my future is the
fact that Entrances will have FrameModules, which may contain a
On Aug 20, 2009, at 7:43 AM, I. Savant idiotsavant2...@gmail.com
wrote:
The remaining questions are is one better than the other? and if
so, which?
Use -awakeFromNib to do view setup (turning on layer backing, creating
caches colors, etc.). Use -windowDidLoad (or -
Hi all-
I'm just starting my first real document-based Cocoa app. My other app
was non-document based and the undo system was quite different (plus I
know I did some things wrong MVC-wise in that app).
The documentation I have read tells me that I should implement undo in
the Setter
hi-
i'm trying to find a cocoa example of a contextual menu plugin,
but searching the apple developer site only comes up with an
example based on carbon:
http://developer.apple.com/Samplecode/SampleCMPlugIn/index.html
since the finder under snow leopard is going to be pure cocoa,
i assume any
Hi,
I've got a problem with my app, some of the windows do not behave correctly
with 'Spaces', I've narrowed it down to this...
If the window is backed by an NSDocument, it behaves correctly, i.e. if this
window is active within the application, when the user clicks on the dock
icon, the Space
On Aug 20, 2009, at 8:05 AM, I. Savant idiotsavant2...@gmail.com
wrote:
Hmm ... so would you say to do otherwise is doing it wrong or
doing it sub-optimally?
No, but if it winds up mattering, that's how it usually shakes out. So
I tend to follow that pattern even before it begins to
[Re-sending this message with new details, and also because my thread
was hijacked yesterday.]
In debugging my undo grouping issue, I've replaced NSUndoManager's -
beginUndoGrouping and -endUndoGrouping with methods that log whenever
they're invoked.
- (void)replacement_beginUndoGrouping
On Aug 20, 2009, at 7:55 AM, Joshua Garnham wrote:
I am using an NSOutlineView
in my App so i downloaded Apples Photo Search Sample App which uses an
NSOutlineView. While using it I noticed that it gives the root/
header object
of the outline view a Gradient Background, so I looked through
Hi list.
I've included in an Objective-C++ project some part of a my old
application written in pure ANSI ISO/IEC 14882:2006 C++. For the
portability sake was very important to me the compliance with this
standard. In this ANSI C++ application I've used the template
metaprogramming
Bind the pop up cell's
selectedValue binding to a string representing the current name, or
bind its selectedIndex binding to a number that represents the index
of the current name.
This was the step I had missed, I hadn't bound any of the selected
bindings.
I tried looking in the class
On Aug 20, 2009, at 09:04, Christopher Campbell Jensen wrote:
I tried looking in the class documentation, but that doesn't mention
anything about what properties need to be bound. I also looked in
the cocoa bindings programming guide, but couldn't really see any
reference to this either.
Hey All, I'm trying to do some testing with Smart Crash Reporter,
which integrates with Crash Reporter. So I'm trying to write some code
to force crash my app. But it won't crash. hahaha.
Anyone have any code I can use to do this?
I've been trying to just do some extra releases on an object, but
What if you push the (physical) volume up/down button on the side of
the device? Does it show up then?
On Aug 14, 2009, at 11:09 AM, Eric E. Dolecki wrote:
I just tried with just headphones... I can't get a volume slider at
all.
Thanks,
E.
On Aug 14, 2009, at 11:37 AM, Luke the
On Aug 20, 2009, at 11:04 AM, aaron smith wrote:
Hey All, I'm trying to do some testing with Smart Crash Reporter,
which integrates with Crash Reporter. So I'm trying to write some code
to force crash my app. But it won't crash. hahaha.
Anyone have any code I can use to do this?
NSInteger
Try this:
*(long*)0 = 0xDEADBEEF;
Hey All, I'm trying to do some testing with Smart Crash Reporter,
which integrates with Crash Reporter. So I'm trying to write some code
to force crash my app. But it won't crash. hahaha.
Anyone have any code I can use to do this?
I've been trying
On Aug 20, 2009, at 07:21, I. Savant wrote:
I'm not convinced yet that relying on -loadWindow is as good as
keeping nib-loading-related startup code in -awakeFromNib.
a. I'm not sure how 'loadWindow' got into this discussion -- the
documentation says not to call 'loadWindow' directly but
[[NSArray array] objectAtIndex:0]; if you want an exception.
- Bryan
Sent from my iPhone
On Aug 20, 2009, at 1:04 PM, aaron smith beingthexemplaryli...@gmail.com
wrote:
Hey All, I'm trying to do some testing with Smart Crash Reporter,
which integrates with Crash Reporter. So I'm trying to
A Cocoa approach to crashing a Cocoa app:
NSDecimalNumber *boom = (NSDecimalNumber *)[NSDecimalNumber
numberWithInt:0];
[boom decimalNumberByAdding:nil];
On 20 Aug 2009, at 18:04, aaron smith wrote:
Hey All, I'm trying to do some testing with Smart Crash Reporter,
which integrates
Dear all,
I have a core-data document based app which uses an NSCollectionView
to display entries of a single entity (Entry) in the data model. In
MyDocument.m In this document class I have an ivar which holds a
reference to the NSArrayController that is in the MyDocument nib. That
Hi all,
My document-based app will use view swapping, allowing the user to navigate
through multiple screens like a wizard of sorts. I am putting each view in a
separate nib and using NSViewController. View swapping is working. Now I need
to make connections between these views and my model.
On Aug 20, 2009, at 1:12 PM, Quincey Morris wrote:
a. I'm not sure how 'loadWindow' got into this discussion -- the
documentation says not to call 'loadWindow' directly but to call
'window' instead and let *it* call 'loadWindow'.
You're right, my mistake. I was responding to
On Thu, Aug 20, 2009 at 10:04 AM, aaron
smithbeingthexemplaryli...@gmail.com wrote:
Anyone have any code I can use to do this?
abort()
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
On Thu, Aug 20, 2009 at 10:39 AM, Oftenwrong
Soongoftenwrongso...@yahoo.com wrote:
The nib file's owner is the view controller, not MyDocument. Is it best to
bind to my model via the view controller's representedObject?
That's what it's for.
Also I'll need a few Target/Actions. Should I
thanks, that worked perfect
On Thu, Aug 20, 2009 at 11:03 AM, Kyle Sluderkyle.slu...@gmail.com wrote:
On Thu, Aug 20, 2009 at 10:04 AM, aaron
smithbeingthexemplaryli...@gmail.com wrote:
Anyone have any code I can use to do this?
abort()
--Kyle Sluder
I was able to get it to display, thanks.
On Thu, Aug 20, 2009 at 1:06 PM, William Squires wsqui...@satx.rr.comwrote:
What if you push the (physical) volume up/down button on the side of the
device? Does it show up then?
On Aug 14, 2009, at 11:09 AM, Eric E. Dolecki wrote:
I just tried
On Aug 20, 2009, at 11:02, I. Savant wrote:
I missed that thread. Do you happen to know some keywords from the
subject?
No, I've looked for it but I can't find it. It was one of a number of
similar questions around that time, possibly about iPhone views, and
the comment was an
On Aug 20, 2009, at 2:31 PM, Quincey Morris wrote:
All I can remember is that it sent me scurrying to change some
window controller awakeFromNib's to windowDidLoad's.
:-)
It has me rethinking some things too, but I won't scurry just yet.
--
I.S.
Hi list.
I have a table view with the search bar in it. Search bar is working fine.
I would like to have the view disabled while entering text in the search
field.
I have tried this w/o any success:
//delegate
- (void)searchBarTextDidBeginEditing:(UISearchBar *)bar {
On Aug 20, 2009, at 11:05 AM, I. Savant wrote:
On Aug 20, 2009, at 10:59 AM, Kyle Sluder wrote:
Use -awakeFromNib to do view setup (turning on layer backing,
creating caches colors, etc.). Use -windowDidLoad (or -
windowControllerDidLoadNib or whatever that NSDocument method is)
for
Le 20 août 2009 à 20:02, I. Savant a écrit :
On Aug 20, 2009, at 1:12 PM, Quincey Morris wrote:
a. I'm not sure how 'loadWindow' got into this discussion -- the
documentation says not to call 'loadWindow' directly but to call
'window' instead and let *it* call 'loadWindow'.
You're
From the docs:
If a mutable object is added to a collection that uses hash values
to determine the object’s position in the collection, the value
returned by thehash method of the object must not change while the
object is in the collection. Therefore, either the hash method must
not
Hi bryscomat,
Thanks for the swift reply.
I would implement a method in the File Owner of MyDocument.nib, call
it titleSortDescriptors or something of the like.
Then, in the nib file, I would bind the array controllers sort
descriptor to File Owner.titleSortDescriptors.
On your
This is going to seem like a complete newbie question, but I can't get
this to work. I have a class with a method called resetTextAndBar:
which just basically resets some text and a progress bar to match up
with new data inserted into the table view:
- (void)resetTextAndBar:(id)sender {
c. A couple of weeks ago on this list, one of our Apple experts
(Luke, maybe, but I can't remember for sure) said to use the more
specialized method (such as 'windowDidLoad') *instead of* the
generic 'awakeFromNib', if the class has it.
I missed that thread. Do you happen to know some
Got it working. The problem was that I had Auto Rearrange Content
selected on the Entries array controller. I don't really understand
why this caused the problems I saw, but unchecking it makes the
problem go away.
Thanks for pointing me in this direction!
Martin
On Aug 20, 2009, at 9:12
On Aug 20, 2009, at 12:00 PM, Seth Willits wrote:
Returning 0 is certainly simpler :p
It is, but you can generally do better than just returning 0, usually
by just extracting some bits from 'self', ala
-(NSUInteger)hash
{
uintptr_t hash = (uintptr_t)self;
return (hash
On Aug 20, 2009, at 7:34 AM, Sean McBride wrote:
When you turn layering on for a view, it turns it on for all subviews
also. They recommend you try to minimise the number of views using
layering. I've found that lots of view don't draw properly with
layering on, like NSPathControl and others.
On 20 Aug 2009, at 19:03, Kyle Sluder wrote:
On Thu, Aug 20, 2009 at 10:04 AM, aaron
smithbeingthexemplaryli...@gmail.com wrote:
Anyone have any code I can use to do this?
abort()
which calls
raise(SIGABRT); // SIGFPE and SIGSEGV also may be tried
abort() is defined to optionally flush
If your logging code is displaying a message on entry to
resetTextAndBar:, but nothing after that, it sounds like you're
taking an exception. In your code snippet below, you're calling [self
updateText], but in the last sentence of your problem description,
you mention a method called
On Thu, Aug 20, 2009 at 12:33 PM, David Duncandavid.dun...@apple.com wrote:
On Aug 20, 2009, at 12:00 PM, Seth Willits wrote:
Returning 0 is certainly simpler :p
It is, but you can generally do better than just returning 0, usually by
just extracting some bits from 'self', ala
On Aug 20, 2009, at 2:34 AM, Ruotger Skupin wrote:
Am 19.08.2009 um 22:00 schrieb Ben Trumbull:
I debugged it with some Snow Leopard magic and found out, that
firing
faults is very slow the first time after boot. When I use -[NSArray
filteredArrayUsingPredicate:] the fault firing is
Why do you say that? I haven't noticed any documented requirement that
ties the implementation details of -hash and -isEqual together.
- Bryan
Sent from my iPhone
On Aug 20, 2009, at 4:27 PM, Clark Cox clarkc...@gmail.com wrote:
On Thu, Aug 20, 2009 at 12:33 PM, David
-isEqual: is how Cocoa collections define equality. Saying that two
objects are equal means, by definition, that -[obj1 isEqual: obj2]
returns true.
On Thu, Aug 20, 2009 at 1:30 PM, Bryan Henrybryanhe...@mac.com wrote:
Why do you say that? I haven't noticed any documented requirement that ties
From
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/NSObject.html#//apple_ref/occ/intfm/NSObject/hash
If two objects are equal (as determined by the isEqual: method), they
must have the same hash value. This last point is particularly
On Thu, Aug 20, 2009 at 1:33 PM, Clark Coxclarkc...@gmail.com wrote:
-isEqual: is how Cocoa collections define equality. Saying that two
objects are equal means, by definition, that -[obj1 isEqual: obj2]
returns true.
This has nothing to do with -hash.
P: Two objects are equal.
Q: They have
On Aug 20, 2009, at 02:35, Ruotger Skupin wrote:
Complex locale aware Unicode text queries can be slow. If you
find yourself spending time with such a query, you should consider
some of the techniques shown in the DerivedProperty example
available on ADC.
Isn't all text Unicode?
Yes, but the problem with a hash based on the pointer is that it
limits your isEqual implemenation from being based on anything more
than the pointer, or you violate the If objects are equal, they must
have the same hash rule.
(Earlier email was a brain fart on my part.)
- Bryan
Sent
On 20 Aug 2009, at 17:18, Luca Ciciriello wrote:
I've included in an Objective-C++ project some part of a my old
application written in pure ANSI ISO/IEC 14882:2006 C++. For the
portability sake was very important to me the compliance with this
standard. In this ANSI C++ application I've
Sorry, it has no colon, just updateText. And I get no build warnings
or errors at all.
Thanks
On 2009-08-20, at 2:11 PM, Steve Christensen wrote:
If your logging code is displaying a message on entry to
resetTextAndBar:, but nothing after that, it sounds like you're
taking an exception.
On Thu, Aug 20, 2009 at 1:37 PM, Kyle Sluderkyle.slu...@gmail.com wrote:
P: Two objects are equal.
Q: They have the same hash.
P - Q.
Note that Q does not imply P.
Or said another way...
If the hash of ObjectA is equal to the hash of ObjectB then ObjectA
_could_ be equal to ObjectB. If
I'd like to know how I can get a property from a ViewController class (that
I don't instantiate myself with a pointer) - I've tried importing the view's
.h and I set a getter for the variable (say a BOOL), and when I try to read
it from another viewController's class it tells me it's not part of
I found your solution.
In Application.m, at the end of the setSlim: method, add this line:
[[NSApp delegate] resetTextAndBar:self];
And at the top of the file, import the BeastCloneAppDelegate.h file to
suppress the warning.
This will work since you are accessing a function set as
I found your solution.
In Application.m, at the end of the setSlim: method, add this line:
[[NSApp delegate] resetTextAndBar:self];
And at the top of the file, import the BeastCloneAppDelegate.h file
to suppress the warning.
This will work since you are accessing a CLASS set as
On Thu, Aug 20, 2009 at 1:37 PM, Kyle Sluderkyle.slu...@gmail.com wrote:
On Thu, Aug 20, 2009 at 1:33 PM, Clark Coxclarkc...@gmail.com wrote:
-isEqual: is how Cocoa collections define equality. Saying that two
objects are equal means, by definition, that -[obj1 isEqual: obj2]
returns true.
On Thu, Aug 20, 2009 at 1:47 PM, Shawn Ericksonshaw...@gmail.com wrote:
On Thu, Aug 20, 2009 at 1:37 PM, Kyle Sluderkyle.slu...@gmail.com wrote:
P: Two objects are equal.
Q: They have the same hash.
P - Q.
Note that Q does not imply P.
Or said another way...
If the hash of ObjectA is
On Thu, Aug 20, 2009 at 2:01 PM, Clark Coxclarkc...@gmail.com wrote:
Yes, and two different objects will have different pointer values. If
the hash is based on the pointer values, then two different objects
cannot have the same hash, regardless of whether or not they are
equal. Hence, that
On Thu, Aug 20, 2009 at 2:14 PM, Kyle Sluderkyle.slu...@gmail.com wrote:
On Thu, Aug 20, 2009 at 2:01 PM, Clark Coxclarkc...@gmail.com wrote:
Yes, and two different objects will have different pointer values. If
the hash is based on the pointer values, then two different objects
cannot have
On Aug 20, 2009, at 12:00 PM, Seth Willits wrote:
From the docs:
If a mutable object is added to a collection that uses hash values
to determine the object’s position in the collection, the value
returned by thehash method of the object must not change while the
object is in the
I'm working on a heavily customized cell for a table view and when
editing the cell I keep getting values in the field editor from other
rows. The incorrect value is generally from the previous edited
cell. Has anyone seen this or found a workaround?
Thanks,
-Ben
--
Ben Lachman
Acacia
On 20 Aug 2009, at 22:16, Clark Cox wrote:
On Thu, Aug 20, 2009 at 2:14 PM, Kyle Sluderkyle.slu...@gmail.com
wrote:
On Thu, Aug 20, 2009 at 2:01 PM, Clark Coxclarkc...@gmail.com
wrote:
Yes, and two different objects will have different pointer values.
If
the hash is based on the pointer
The -setScrollEnabled method does not show up in my documentation
browser, so I'm not sure what it will do.
However, whenever a view does not change as expected, invoke -
display. In your case,
[[self tableView] display] ;
If it works, this may or may not be a correct fix for
Just select File-New File...-(IPhone OS)User Interface
- S
On Thu, Aug 20, 2009 at 6:06 AM, DairyKnight dairykni...@gmail.com wrote:
I'm wondering if there's a way to make an xib like the one auto-generated
by
XCode for iPhone apps. In the main window, there's a
grayed area showing 'Loaded
Yup, and my mistake in the suggestion :). Probably juggling too many
balls int he air again today...
On Aug 20, 2009, at 2:16 PM, Clark Cox wrote:
I thought we were talking about -hash just returning zero?
--Kyle Sluder
No, we were talking about:
It is, but you can generally do better
Hello,
I'm a blind developer and I'm studing Cocoa and ObjetiveC.
All documentation I found uses interface builder to add controls to
the window.
Does anybody know any sample or tutorial to create interfaces using
objetiveC without interface bulder?
thanks and regards
Jonathan
1 - 100 of 119 matches
Mail list logo