On 05 Mar 2014, at 23:17, Alex Kac a...@webis.net wrote:
Perhaps a good bug report is that the user’s screen works the same way it
does now, but if its mirrored - then the mirrored screen keeps he password
hidden. That would be a good use case.
That’s a very presenter-specific use case. I
On 05 Mar 2014, at 23:57, Quincey Morris quinceymor...@rivergatesoftware.com
wrote:
Incidentally, having a “fully obscured” custom text field won’t help you in
the demo scenario, because the audience can still see the key images pop up
on the keyboard as you type. Are you proposing removing
I believe it's because of the virtual on-screen keyboard - this way you can
verify whether the character you typed has uppercase or not, since the virtual
keyboard has no Caps Lock LED on it, or just because the iPhone screen
keyboard keys are so small, it's easy to make a typo when entering
Can an ObjC protocol be inherited by another protocol? I know the syntax for
regular (class) inheritance, and for specifying that a class implements a
protocol, but what's the syntax (if there is one) for one protocol inheriting
from another?
i.e.
I have a protocol, INotSoStiffProtocol that
On 6 Mar 2014, at 15:30, William Squires wsqui...@satx.rr.com wrote:
Can an ObjC protocol be inherited by another protocol? I know the syntax for
regular (class) inheritance, and for specifying that a class implements a
protocol, but what's the syntax (if there is one) for one protocol
On 06 Mar 2014, at 16:34, Mike Abdullah mabdul...@karelia.com wrote:
This means any object adopting MyProtocol must implement all of the NSObject
protocol’s methods too.
Useful thing to point out here: There are both a class and a protocol named
'NSObject'. In fact, the class conforms to
On 6 Mar 2014, at 15:34, Mike Abdullah mabdul...@karelia.com wrote:
On 6 Mar 2014, at 15:30, William Squires wsqui...@satx.rr.com wrote:
Can an ObjC protocol be inherited by another protocol? I know the syntax for
regular (class) inheritance, and for specifying that a class implements a
On 6 Mar 2014, at 16:29, jonat...@mugginsoft.com wrote:
On 6 Mar 2014, at 15:34, Mike Abdullah mabdul...@karelia.com wrote:
On 6 Mar 2014, at 15:30, William Squires wsqui...@satx.rr.com wrote:
Can an ObjC protocol be inherited by another protocol? I know the syntax
for regular
Hi, I have an oval NSBezierPath path. I fill it with a blue color,
then I draw an image within the same path. And I can still see a blue tiny
border around the image. I would expect the color be never visible since the
image covers the whole area. That's my code:
fillPath = [NSBezierPath
I'd try clipping before drawing the fill, rather than after.
Kevin
On 6 Mar 2014, at 16:34, Leonardo mac.iphone@gmail.com wrote:
Hi, I have an oval NSBezierPath path. I fill it with a blue color,
then I draw an image within the same path. And I can still see a blue tiny
border around the
On Mar 6, 2014, at 8:34 AM, Leonardo mac.iphone@gmail.com wrote:
Hi, I have an oval NSBezierPath path. I fill it with a blue color,
then I draw an image within the same path. And I can still see a blue tiny
border around the image. I would expect the color be never visible since the
That's make sense. Do you know any workaround?
I have to draw the background color because:
1) the user could choose to see a background color on the area not
covered by the image. Let's imagine a circle divided in 3 slices by two
vertical lines. In the middle we have the image, and on the
On Mar 6, 2014, at 9:25 AM, Leonardo mac.iphone@gmail.com wrote:
That's make sense. Do you know any workaround?
I have to draw the background color because:
1) the user could choose to see a background color on the area not
covered by the image. Let's imagine a circle divided in 3
Given an object, and a method within, is there some way to get the name of
the class of the object as an NSString?
For that matter, what I want to do is something like this:
Class MyClass
MyClass.h
#import Foundation/Foundation.h
@interface MyClass : NSObject
...
-(void)myMethod;
@end
First off, you don't need to build the string ahead of time; NSLog()
supports vararg formatting:
NSLog(@%@ -(void)myMethod, myClassName);
Off the top of my head, I can't recall whether Class objects get formatted
as the class name automatically:
NSLog(@%@ -(void)myMethod, [self class]);
I am developing a custom textfield in Cocoa. To handle the backspace character
I should be defining :
- (void) keyUp: (NSEvent*)theEvent {
[self interpretKeyEvents: [NSArray arrayWithObject: theEvent];
NSString *text = [theEvent charactersIgnoringModifiers];
[[self text]
On Mar 6, 2014, at 10:21 AM, William Squires wsqui...@satx.rr.com wrote:
Given an object, and a method within, is there some way to get the name of
the class of the object as an NSString?
For that matter, what I want to do is something like this:
Class MyClass
MyClass.h
#import
On Mar 6, 2014, at 12:21 PM, William Squires wrote:
Given an object, and a method within, is there some way to get the name of
the class of the object as an NSString?
Well, you could do NSStringFromClass([self class]) but that gives the name of
the object's dynamic class, which is not
Even further you can get the current command by using
NSStringFromSelector(_cmd); _cmd is the current selector.
You can also use NSLog(@“%s”, _PRETTY_FUNCTION”) which will give you the class
name and current selector.
Do a google search also for NSLog replacements there are ones that do a lot
What’s Adobe’s beef with NSSavePanel? I found this while running fs_usage on my
computer.
Adobe Easter Egg?
11:14:46 getattrlist /Volumes/DriveA/030514 0.14 Adobe Photos
11:14:46 getattrlist es/DriveA/030514/TestSave0.10 Adobe Photos
11:14:46 lstat64
On Thu, Mar 6, 2014, at 11:20 AM, livinginlosange...@mac.com wrote:
What’s Adobe’s beef with NSSavePanel? I found this while running fs_usage
on my computer.
Adobe Easter Egg?
No clue, but this thread isn't going to provide any useful discussion.
--Kyle Sluder
On 6 Mar 2014, at 18:30, Daniel Luis dos Santos daniel.d...@gmail.com wrote:
I am developing a custom textfield in Cocoa. To handle the backspace
character I should be defining :
When you say custom, do you mean you’re trying to customise NSTextField? Or
that you’re actually trying to write
On Thu, Mar 6, 2014, at 10:30 AM, Daniel Luis dos Santos wrote:
I am developing a custom textfield in Cocoa. To handle the backspace
character I should be defining :
Hold up. It's fairly very rare to subclass NSTextView and do custom
processing there. Why do you feel the need to do this?
Cocoa
On Mar 6, 2014, at 2:46 PM, Kyle Sluder k...@ksluder.com wrote:
On Thu, Mar 6, 2014, at 10:30 AM, Daniel Luis dos Santos wrote:
I am developing a custom textfield in Cocoa. To handle the backspace
character I should be defining :
Hold up. It's fairly very rare to subclass NSTextView and do
On Mar 6, 2014, at 11:46 , Kyle Sluder k...@ksluder.com wrote:
Hold up.
Aside from the objections you and Mike raised, there’s actually quite a lot
more to be alarmed about in the OP’s code:
1. It overrides keyUp instead of keyDown. ‘interpretKeyEvents:’ probably isn’t
even legal in keyUp
On Mar 6, 2014, at 10:21 AM, William Squires wrote:
Also, when I do this (using a literal NSString constant for myClassName
above), Xcode marks the line with NSLog with a yellow triangle, and
disclosing it says something about passing an NSString instance as being
unsecure. Can this
On Mar 6, 2014, at 10:21 AM, William Squires wsqui...@satx.rr.com wrote:
Also, when I do this (using a literal NSString constant for myClassName
above), Xcode marks the line with NSLog with a yellow triangle, and
disclosing it says something about passing an NSString instance as being
Not sure if this is directly related, but…
When a non-sandboxed application presents the Open or Save panel, the program
starts opening files in the currently selected directory. Move to a different
directory, and the application will start pounding on the files in that
directory. This seems
Hi all,
In Interface Builder, if I turn on Editor Canvas Show Bounds Rectangles
then it shows blue rectangles representing views' bounds rectangles (I
suppose). I notice for push buttons that this blue rectangle is not where I
expect it, it's not tight around the visual appearance of the
On Mar 6, 2014, at 2:37 PM, Sean McBride wrote:
Hi all,
In Interface Builder, if I turn on Editor Canvas Show Bounds Rectangles
then it shows blue rectangles representing views' bounds rectangles (I
suppose). I notice for push buttons that this blue rectangle is not where I
expect
On Mar 6, 2014, at 4:18 PM, Todd Heberlein todd_heberl...@mac.com wrote:
Not sure if this is directly related, but…
When a non-sandboxed application presents the Open or Save panel, the program
starts opening files in the currently selected directory. Move to a different
directory, and
On Mar 6, 2014, at 10:21 AM, William Squires wrote:
Also, when I do this (using a literal NSString constant for myClassName
above), Xcode marks the line with NSLog with a yellow triangle, and
disclosing it says something about passing an NSString instance as being
unsecure. Can this
To answer my own question with some code:
https://github.com/tcurdt/TCMobileProvision
Let's you access the embedded provisioning profile at runtime.
cheers,
Torsten
On Thu, Feb 27, 2014 at 12:46 PM, Torsten Curdt tcu...@vafer.org wrote:
Hey there,
I know on 10.6+ you can use
On Thu, 6 Mar 2014 15:15:49 -0800, Jens Alfke said:
I remember the “Month Of Apple Bugs”** that a hacker group ran in 2007,
where they published a new app or OS security vulnerability every day
for month. A lot of them were caused by format-string vulnerabilities.
Soon thereafter the compiler
On Mar 6, 2014, at 3:37 PM, Sean McBride s...@rogue-research.com wrote:
On Thu, 6 Mar 2014 15:15:49 -0800, Jens Alfke said:
I remember the “Month Of Apple Bugs”** that a hacker group ran in 2007,
where they published a new app or OS security vulnerability every day
for month. A lot of them
I'm working on a new version of my app, and while testing it against the one
that is now in the store, I'm running into an *** Terminating app due to
uncaught exception 'NSUnknownKeyException', reason: '[MyViewController
0x16e38150 setValue:forUndefinedKey:]: this class is not key value
On Thu, Mar 6, 2014, at 04:01 PM, Koen van der Drift wrote:
I'm working on a new version of my app, and while testing it against the
one that is now in the store, I'm running into an *** Terminating app
due to uncaught exception 'NSUnknownKeyException', reason:
'[MyViewController 0x16e38150
On Mar 6, 2014, at 7:15 PM, Kyle Sluder k...@ksluder.com wrote:
Delete the app from your device and rebuild. I'm guessing the XIB is
left over and has the same name as a UIViewController, but that view
controller is now trying to set up its view in code. Since Xcode never
deletes files from
Just changing the name of the VC solved it.
- Koen.
On Mar 6, 2014, at 7:18 PM, Koen van der Drift koenvanderdr...@gmail.com
wrote:
On Mar 6, 2014, at 7:15 PM, Kyle Sluder k...@ksluder.com wrote:
Delete the app from your device and rebuild. I'm guessing the XIB is
left over and has the
On Thu, Mar 6, 2014, at 04:25 PM, Koen van der Drift wrote:
Just changing the name of the VC solved it.
Well, the old build compiled nib is still sitting in your build
products, so it didn't really solve anything.
Will this be an issue with users when they update to the new version? I don't
This is off-topic for cocoa-dev.
-- Chris Hanson, cocoa-dev co-moderator
___
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
41 matches
Mail list logo