that -didPresentAlertView: is getting called earlier than it used
to, maybe before the alert is actually fully presented. So try adding a
delayed-perform so the text field’s focus will get set slightly later.
This diagnosis seems likely, but I don't like the prescription, Doctor.
;-)
--Kyle Sluder
support.
But stop messing with the internals of UIAlertView!
--Kyle Sluder
___
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 cocoa-dev-admins
UIAlertController on platforms where it exists.
It already has the correct first responder you desire.
--Kyle Sluder
___
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 Mon, Apr 20, 2015, at 05:59 PM, Michael Crawford wrote:
The method for iOS 5 and later on this page looks good:
Please stop reaching in to the UIAlertView hierarchy. As has been
documented forever, this is not supported.
--Kyle Sluder
___
Cocoa
on iOS.
--Kyle Sluder
___
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 cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription
NSEventTrackingRunLoopMode). Either way, the
result is that code sets up a timer or delay-perform that never fires,
which might explain the symptoms you're seeing.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
it’s titled “Manual Segue” to emphasize that this is an
unwind segue which you must invoke yourself via
-performSegueWithIdentifier:sender:.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
, we appreciate bugs that explain why the current
design doesn't work for a particular use case.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
On Wed, Apr 15, 2015, at 12:00 AM, Kyle Sluder wrote:
Segues are transient objects that only exist
Er, I meant that only exist long enough to perform their action. In
other words, if you perform a popover segue, that UIStoryboardSegue
object ceases to exist once the popover is onscreen.
--Kyle
. On the Properties Inspector for that newly-created segue, give it an
identifier.
5. Wire up your bar button item to a method that uses
-performSegueWithIdentifier:sender to trigger the unwind.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev
the ContentView. I thought the obvious place to do this was layout, but
it never seems to get called?
As documented, -layout is only called if Auto Layout is enabled or your
view is layer-backed.
How can I manually lay out the Content View?
I recommend you switch to Auto Layout.
--Kyle
, you shouldn't be setting frames with Auto Layout enabled.
They'll get stomped on the next layout passed.
You might want to watch the introductory videos available at
apple.com/wwdc.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
On Wed, Apr 15, 2015, at 03:02 PM, Kyle Sluder wrote:
You might want to watch the introductory videos available at
apple.com/wwdc.
Whoops, the video archive is actually located at
https://developer.apple.com/videos/wwdc.
You might start with the Cocoa Autolayout video from WWDC 2011:
https
.
But then: how to get the UIStoryboardPopoverSegue ?
Segues are transient objects that only exist, and there is no reason to
suspect that UISplitViewController uses them to present the popover.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev
?
--Kyle Sluder
___
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 cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https
/CarbonCore.framework/Versions/A/Headers/TextCommon.h
.
How to make Swift recognise this file?
Are you importing CoreServices?
Did you try referring to the symbol as
`CoreServices.kUCHighSurrogateRangeStart`?
--Kyle Sluder
___
Cocoa-dev mailing list
:)
forControlEvents:UIControlEventTouchDownInside];
What is the Equivalent for Mac/Cocoa?
The Mac does not support multiple targets for a single control.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
On Sat, Apr 4, 2015, at 03:13 AM, edward m taffel wrote:
I meant the ColorSync api (what did you think I meant?) but was not aware
iOS did not rely on ColorSync,
The ColorSync API has been deprecated on OS X since 10.6, and has never
existed on iOS.
--Kyle Sluder
enclosing all your controls in an NSBox or other
opaque-enough superview.
Hello, radar://20346986.
Thanks for filing.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
interface.
--Kyle Sluder
在 2015/3/29 15:40, Kyle Sluder 写道:
On Sun, Mar 29, 2015, at 01:26 AM, GongHao [龚浩] wrote:
Thanks,
Eventually I got it work by doing it in
navigationController:didShowViewController:animated:
UINavigationController will set the content view controller's view size
into a
UINavigationController, setFrame doesn't work any more. Anyone knows how
I can get it work well?
As per the above, the navigation controller owns this frame. It is not
yours to change.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev
is not in charge of its view's frame. If
you need the content of a view controller's view to be positioned
differently from where the parent view controller decides the view
should be positioned, you need to add that content as a _subview_ of
your VC's view.
What are you actually trying to achieve?
--Kyle
app via the Home button. If they toggle a setting
and leave, then re-enter your app via a link or other means, they expect
their change to have been persisted.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
find this confusing, please file a Radar.
--Kyle Sluder
___
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 cocoa-dev-admins(at)lists.apple.com
Help
use
exceptions for flow control. A higher stack frame might catch this
exception as a normal part of execution.
Change your Exception breakpoint type from All to Objective-C to
avoid breaking into the debugger when these exceptions are thrown.
--Kyle Sluder
SPICE. In my undergrad, I used a Windows program
that was built on top of XSPICE. I just looked, and XSPICE is in the
public domain: http://users.ece.gatech.edu/mrichard/Xspice/
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
trying to create a magic mirror to the one
living in your document window.
--Kyle Sluder
___
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 cocoa-dev
On Sat, Mar 21, 2015, at 10:27 PM, Graham Cox wrote:
I have a requirement that runs my code exactly once per run loop, and I'm
wondering what the modern preferred way to do this is.
Use a run loop observer?
--Kyle Sluder
___
Cocoa-dev mailing list
really a good idea).
Then what would be the best way, given a String, to pass it to a C API
that wants a char*?
String has a .utf8 property that returns a UTF8View. UTF8View is a
Collection of UInt8, and therefore a SequenceType.
Array has an initializer that takes a SequenceType.
--Kyle
while still maintaining the old one.
Just so you know, you can link against the 10.8 SDK and set your minimum
deployment target to 10.7.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
On Mon, Mar 16, 2015, at 04:57 PM, Rick Mann wrote:
Seriously? There's no existing tool to examine the loader information to
see where the call sites are for a given symbol?
Sure there is. http://hopperapp.com
--Kyle Sluder
___
Cocoa-dev mailing
region.
--Kyle Sluder
___
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 cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription
resolution.
Have you filed a Radar about that?
Thanks,
--Kyle Sluder
___
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 cocoa-dev-admins(at)lists.apple.com
category
methods with some unique-to-you prefix.
--Kyle Sluder
___
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 cocoa-dev-admins(at)lists.apple.com
Help
, but it doesn’t do anything related to drawing, it
just defines and implements some convenient methods for finding subviews
and superviews of a certain class.
Please post the code for this category. Maybe it's colliding with an
internal implementation detail of the focus ring mechanism.
--Kyle
On Thu, Mar 5, 2015, at 11:30 AM, Jon Baumgartner wrote:
That bug has gotten no response whatsoever from Apple. Any advice on how
to proceed?
Patience. :) Internal activity on a bug is rarely reflected to the
external developer, unless they need to verify the fix or provide
additional
be toggled in System Preferences General Show
Scroll Bars…
--Kyle Sluder
___
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 cocoa-dev-admins
it. Or else there should be an additional
setting in NSScrollView,
-setAutohidesScrollersAndThisTimeIReallyMeanIt:NO
Subclass NSScroller and override +isCompatibleWithOverlayScrollers to
return NO. Then assign an instance of this subclass via
-setHorizontalScroller:.
--Kyle Sluder
be
greatly appreciated.
The modern way to do this would be to have an XPC service exclusively
own the database, and have all other applications talk to the XPC
service to request data.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev
it in -applicationDidFinishLaunching:. Usually you create your app's
main window controller here.
--Kyle Sluder
___
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 cocoa-dev-admins
controller is inside the main nib, and again because it's acting
as File's Owner of the window's nib.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
Objective-C Exceptions”.
Yes, “All Objective-C Exceptions” will catch it.
--Kyle Sluder
___
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 cocoa-dev-admins
at objc_exception_throw. You can select frame 0 and print
the first argument (`po $rdi` on x86-64).
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
descriptive,
but this is most likely not going to be the most helpful place to ask
terminal emulation questions.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
On Tue, Feb 24, 2015, at 04:57 AM, Charles Jenkins wrote:
My latest fruitless attempt has involved trying to simply cast the value
into something for which NSNumber has a corresponding init():
let size:Float = font.pointSize as Float
let points = NSNumber( float: size )
You need to
}
}]; // end beginSheetModalForWindow
}]; // end performActivityWithSynchronousWaiting
}
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
-C Exceptions because of some problem with NSOpenPanel
in C++. As soon as I did that, all NSOpenPanel crashes stopped.
Does this mean you were misinterpreting being stopped in the debugger
for actually having crashed?
--Kyle Sluder
___
Cocoa-dev mailing
On Mon, Feb 23, 2015, at 01:48 PM, Marco S Hyman wrote:
lowerCaseString is a non optional property. Therefore it makes no sense
to
write someString.lowercaseString? or someString.lowercaseString!
It's chained through an optional access though. So the type of
foo?.lowercaseString is String?.
On Mon, Feb 23, 2015, at 03:45 PM, Kyle Sluder wrote:
On Mon, Feb 23, 2015, at 03:22 PM, BareFeetWare wrote:
@interface NSObject (Private)
- (NSString *) _shortMethodDescription;
@end
NSString *fullMethodList = [[self class] _shortMethodDescription];
which gives the full header
with uncaught exception of type NSException
zsh: abort /tmp/foo
--Kyle Sluder
___
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 cocoa-dev-admins
On Mon, Feb 23, 2015, at 04:08 PM, Bill Cheeseman wrote:
On Feb 23, 2015, at 5:02 PM, Charles Srstka cocoa...@charlessoft.com
wrote:
That’s not a crash. That’s just some C++ code deep down in the system
somewhere using exceptions as flow control.
It sure wasted a lot of my
On Sun, Feb 22, 2015, at 12:11 PM, Jens Alfke wrote:
On Feb 22, 2015, at 9:30 AM, Kyle Sluder k...@ksluder.com wrote:
The compiler does keep type info for properties, but that’s not actually
documented.
It’s documented in the “Declared Properties” section of the “Objective-C
of method arguments.
The compiler does keep type info for properties, but that’s not actually
documented.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
) sets the label color based on the outlet name. Aaahhhrrrgg.
This is on Yosemite, Xcode 6.1.1. Purely informational in case someone else
encounters this.
Seems like addressLabel is another magic IBOutlet name that triggers the
color-setting behavior.
Have you filed a Radar?
--Kyle
of object a method is declared to return. And that information
simply is not available.
--Kyle Sluder
___
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 cocoa
On Fri, Feb 20, 2015, at 12:54 PM, Raglan T. Tiger wrote:
My App has one window which is displayed. I want to display a sheet when
a button is clicked.
In the action for the button click I do:
ETAboutWindowController *windowController = [[ETAboutWindowController
alloc]
-initWithCoder: method is being called?
This depends on whether the prefer coder checkbox was checked when the
XIB was authored. If that checkbox is checked, instantiation behaves
like iOS, where custom views get -initWithCoder: instead of
-initWithFrame:.
--Kyle Sluder
be concerned with memory
management.
Removing observers, unbinding, unregistering notifications, and timer
invalidation all happens in -viewWillMoveToWindow: or another similar
place.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
On Thu, Feb 5, 2015, at 05:54 PM, Graham Cox wrote:
On 6 Feb 2015, at 6:48 am, Greg Parker gpar...@apple.com wrote:
You can use getrlimit(RLIMIT_NOFILE, …) to query the limit in your process,
and setrlimit(RLIMIT_NOFILE, …) to attempt to raise it. The default limit
may be as low as
to get a process on 10.10 to do by default yet
barring making launchd launch it.
Have you installed Server.app (or upgraded from OS X Server)?
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
to add a
UIView as a subview, pin its sides to its superview, and constrain
_that_ view's height.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
bounced.
The address for moderators is cocoa-dev-adm...@lists.apple.com, which is
mentioned at the bottom of this page:
https://lists.apple.com/mailman/listinfo/cocoa-dev
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
, but that may be
preferable to devoting a chunk of time to a wholesale conversion.
--Kyle Sluder
___
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 cocoa-dev
window. Especially since you probably want any of these
actions to dismiss the screensaver.
You’ll want to be careful to restrict this only to the window that draws your
screensaver, and only to keyboard/mouse/other input events.
--Kyle Sluder
the source implement the required method -[NSDraggingSource
draggingSession:sourceOperationMaskForDraggingContext:]? This is the new
replacement for -draggingSourceOperationMaskForLocal:.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
and replace occurrences of that
with a tilde, but then you have to worry about encodings and all that muck.
Since there’s no security risk here, it’s reasonable to ask that the existing
API work in a sandbox too.
--Kyle Sluder
On Jan 29, 2015, at 7:45 AM, Jon Baumgartner j
like a good enhancement request to file here might be: When
converting a table view from cell-based to view-based, Interface Builder
should automatically add constraints that fill the cell views.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev
using AVPlayer.
I'd appreciate a solution as well.
Please file a Radar.
--Kyle Sluder
___
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 cocoa-dev
On Tue, Jan 27, 2015, at 01:06 PM, Richard Charles wrote:
On Jan 27, 2015, at 11:28 AM, Kyle Sluder k...@ksluder.com wrote:
Historically, I've not been a big Core Data user, but does
-[NSManagedObject setPrimitiveValue:forKey:] not do what you want?
That is a key-value coding method
/current_user portion of the path with a tilde.
So how do I get /Users/current_user/file.txt to output as ~/file.txt
when my app is sandboxed?
Could you please file a Radar describing your use case and share the
number here?
--Kyle Sluder
___
Cocoa
to mimic the
behavior you get with auto layout disabled. This makes it possible to
compile, debug, and test your app before you've set up all your
constraints. Without this feature, all your underspecified views get
resized to (0,0,0,0).
--Kyle Sluder
. The custom primitive accessor can’t use Apple’s
backing store because the private internal store used by Core Data for
managed objects is not exposed.
Historically, I've not been a big Core Data user, but does
-[NSManagedObject setPrimitiveValue:forKey:] not do what you want?
--Kyle Sluder
]
context:observationContext];
}
--Kyle Sluder
___
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 cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe
On Thu, Jan 22, 2015, at 01:03 AM, Rick C. wrote:
Thanks for the reply. But how can I have multiple icon files in the
bundle and then choose the one I want?
You can't.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
, select
the file, and choose Put Back.
--Kyle Sluder
___
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 cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe
you trash
a file in Finder, or if you trash it via AppleScript.
Ah. You should certainly file a bug on Put Back.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
DTS and inquiring about
the status of your bug.
--Kyle Sluder
___
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 cocoa-dev-admins(at)lists.apple.com
. If NSPathControl needs to read the resource to determine,
say, what icon to provide in a path segment, it will call
-startAccesingSecurityScopedResource on its own.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
be Spotlight trying to do its best
to fulfill your request.
--Kyle Sluder
___
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 cocoa-dev-admins
componentsToDisplayForPath:]. Then you don’t even need to
canonicalize anything yourself.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
to keep track of it
myself.
Use -rowForItem: and -viewAtColumn:row:makeIfNecessary:.
But you might also want to file a Radar on -reloadItem: not actually requesting
a new view.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
not a lawyer, nor am I making statements on behalf of Apple
Legal.
--Kyle Sluder
___
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 cocoa-dev-admins
that?
No. There is a hard limit of how long a background task will keep an app alive.
(It’s on the order of a few minutes.)
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
code.
--Kyle Sluder
___
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 cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription
, can you just use NSReadPixel? That function has existed for a
couple of decades. :)
--Kyle Sluder
___
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 cocoa
/library/mac/samplecode/SonOfGrab/Listings/Controller_m.html#//apple_ref/doc/uid/DTS10004490-Controller_m-DontLinkElementID_4
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
malfunction of the app).
WOA. This is NOT the way to solve this problem! NSView and NSScrollView
(may) do important work in -setWindow:! You just haven't noticed what you’ve
broken yet.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev
with the
drawing pass.
--Kyle Sluder
___
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 cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription
that, which would give you the opportunity to use the existing GPU cache
of your drawing.
--Kyle Sluder
___
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 cocoa
aggressive caching
in 10.10).
What are you actually trying to do? That is, why and to what degree does
it matter when and how often -showPackedGlyphs: is called?
Also, have you tried disabling discontiguous layout?
--Kyle Sluder
___
Cocoa-dev mailing
/languages/swift
--Kyle Sluder
___
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 cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription
they’ll be in a nib or not, but it’s the only way the
language can back up its safety guarantees.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
are initialized to zero.
What I'm saying is, it's really handy and you should look it up.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
, since
without O_CREAT, open() returns -1 (an invalid file descriptor).
You need to pass O_RDONLY | O_CREAT to open() to ensure that the file
exists before you start trying to monitor it for changes.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev
-sendEvent:. May
I suggest you let background window clicks go through to certain key
buttons, like mute playback?
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
On Wed, Oct 29, 2014, at 11:57 AM, Quincey Morris wrote:
However, this is the wrong solution. A button that doesn’t click through
should *look* different when the app is in the background (and shouldn’t
do rollover highlighting). So a better solution is to disable buttons you
don’t want
the disassembly for the C++ throw
statement.
Can you please log the actual stack trace along with the exception that is
logged to the console?
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
On Sat, Oct 25, 2014, at 10:15 AM, Jaikanth CK wrote:
Hi All,
I need to extend a class for NSCoding protocol conformance.
You can't do this yet. Required initializers must be implemented in the
main class body, and NSCoding has a required init(coder:) initializer.
--Kyle Sluder
a malformed “this is when I’m relevant” query.
What apps do you have installed that provide extensions?
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
that allowed this. What would it evaluate to if
the caller *didn’t* pass in a method, but rather a pure closure?
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
101 - 200 of 3930 matches
Mail list logo