Thanks Jerry. I don't know how i went by the documentation and didn't see this
method :S
As for the size of the window, the view is somewhat mangled with buttons
overlapping at this size. Yet the user can review its data in versions.
Regards.
On Oct 3, 2013, at 7:59 PM,
Hi,
I need to know if a binary is executing or not. I just have the path to the
binary e.g. /Applications/MyApp.app/Contents/MacOS/MyApp
There's NSRunningApplication method runningApplicationsWithBundleIdentifier: ,
but I have other binaries which are embedded in this app which don't have a
On Oct 4, 2013, at 12:08 AM, Nick Rogers roger...@mac.com wrote:
Hi,
I need to know if a binary is executing or not. I just have the path to the
binary e.g. /Applications/MyApp.app/Contents/MacOS/MyApp
From the OS’s point of view, your question is ill-formed. The user can create a
Hi,
Xcode 5 - Preferences - Accounts - View Details - Update will reload all
profiles from the developer portal…
Am 27.09.2013 um 14:10 schrieb Kevin Muldoon caoimgh...@gmail.com:
Used to be I could manage my development provisioning profiles in the
Organizer.
Or I could update
If you're targeting iOS 7, then you should take a look at WWDC session 214
(Customizing Your App’s Appearance for iOS 7). It talks about using the
method on UIImage called imageWithRenderingMode:, which lets you use the
tintColor property to tint your generic images in code.
If you're targeting
1) There's also MagicKit, an Obj-C wrapper around libmagic:
https://github.com/aidansteele/MagicKit
2) If you just want to know if something is an image, just try loading it:
[[NSImage alloc] initWithData:data]
If -initWithData: returns nil, it is not an image.
Jakob
On 28.09.2013, at
I had a similar issue with NSOutlineView in 10.8. I had an outline view that
could be hidden by the user, and every time it was shown again, the width of
the outline column shrank by a certain amount. It might be a bug in
NSOutlineView.
Calling -reloadData after the view is shown fixed the
On 4 Oct 2013, at 00:05, Robert Martin robmar...@frontiernet.net wrote:
You presented a problem, and other members spent their precious time trying
to help you solve it. Just take it or leave it, but thank them all the same.
This thread isn't finished and at the end of it I will thank them
Thanks a lot Ronald, that's great, I think I will add this as subclass of
UIButton!
Dave
On 4 Oct 2013, at 03:48, Ronald Hofmann pro...@jumbosoft.de wrote:
This is a fully configurable, common, all garden, down to earth, no messing
around - Button code snippet generated by UI Tuner.
I wonder if this is a side-effect of -[NSOutlineView autoresizesOutlineColumn].
I had to set it to NO for our app.
On 2 Oct 2013, at 11:57, Jakob Egger ja...@eggerapps.at wrote:
I had a similar issue with NSOutlineView in 10.8. I had an outline view that
could be hidden by the user, and
Hi,
Using the cap approach sounds good, but it's way to much work for these 5 apps
I have to modify. It's all a bit mute now anyway. since I've just come out of a
meeting and, because of all this Button nonsense (as well as other UI issues)
we are not going to support iOS 7 for these Apps for
On 03.10.2013, at 22:00, Jens Alfke j...@mooseyard.com wrote:
On Oct 3, 2013, at 12:17 PM, Kyle Sluder k...@ksluder.com wrote:
What is adopting GCD going to get you if you aren't going to use GCD the
way it was intended?
…
Also, my project is a library, and I don’t want to put too many
Hi,
I've been asked to implement a View that contains three horizontal Scroll
Views. Each scroll view contains a number of image views with a fixed height
but variable width. There is a gap between each image in the a scroll view and
a gap between each of the three Scroll views. The idea is
Just my two cents - its not much work at all. Create a UIButton subclass.
Have it use images or code - who cares. Then you just go and change the
classes throughout code to your new subclass.
For 5 apps, should take…30 minutes.
Not supporting iOS 7? OK…
On Fri, Oct 4, 2013 at 4:02 AM, Dave
On 4 Oct 2013, at 15:37, Alex Kac a...@webis.net wrote:
Just my two cents - its not much work at all. Create a UIButton subclass.
Have it use images or code - who cares. Then you just go and change the
classes throughout code to your new subclass.
For 5 apps, should take…30 minutes.
Why not enumerate each subview, detect if it is a UIButton and add the capped
images?
--
:: marcelo.alves
On 04/10/2013, at 11:37, Alex Kac a...@webis.net wrote:
Just my two cents - its not much work at all. Create a UIButton subclass.
Have it use images or code - who cares. Then you
I have a stack variable in an Obj-C Interface which is a C++ Class. I call a
function of this class. If I run the app from XCode it works as expected, i.e.
the function is called.
But, if I run the app from the Finder the function is not called.
What am I missing or should I say How can this
Here's a familiar pattern, a .h file defining a protocol and a delegate that
must adopt it:
@protocol MyCellDelegate;
@interface MyCell : UITableViewCell
@property (nonatomic, weak) idMyCellDelegate celldelegate;
@end
@protocol MyCellDelegate
@end
Here's the mystery. In the corresponding .m
Is it just me or did the finally-good-in-5 doc viewer get tweaked for the worse
in 5.0.1 ?
Where did the right sidebar go? That was great… :(
This popover business when clicking on More related items…” stinks.
___
Cocoa-dev mailing list
On 4 Oct 2013, at 10:54 AM, Marcelo Alves marcelo.al...@me.com wrote:
Why not enumerate each subview, detect if it is a UIButton and add the capped
images?
Easier: Select each button and connect it to an outlet collection
@property (strong, nonatomic) IBOutletCollection(UIButton) NSArray
No ideas on this?
We have an NSControl subclass in a window. The class returns YES from
acceptsFirstResponder and canBecomeKeyView, and it overrides some NSResponder
methods (mouseDown:, keyDown:). The control is set to be the
initialFirstResponder in the xib. Yet it will not be the initial
On 4 Oct 2013, at 11:27 AM, koko k...@highrolls.net wrote:
I have a stack variable in an Obj-C Interface which is a C++ Class. I call a
function of this class. If I run the app from XCode it works as expected,
i.e. the function is called.
But, if I run the app from the Finder the
On Oct 4, 2013, at 9:59 AM, Matt Neuburg m...@tidbits.com wrote:
Or, (2) inherit NSObject protocol back in the protocol definition:
@protocol MyCellDelegateNSObject
@end
You should do this.
But why is either of those necessary? Surely an idMyCellDelegate is, by
definition, an id
On Oct 4, 2013, at 9:59 AM, Matt Neuburg m...@tidbits.com wrote:
But why is either of those necessary? Surely an idMyCellDelegate is, by
definition, an id
Nope. A couple years back the type of idSomeProtocol was changed to only
respond to the methods in the protocol. This is arguably much
On Fri, 4 Oct 2013 09:59:53 -0700, Matt Neuburg said:
-(BOOL)test {
return [self.celldelegate respond
sToSelector:@selector(foo:)]; // ...wait for it...
}
Compile error! No known instance method for selector
'respondsToSelector:'. WTF???
Here are two ways of fixing the problem. (1) Cast to
Xcode 5.0.1 is prerelease software covered under NDA.
If you would like to discuss prerelease software, use the Developer Forums:
http://devforums.apple.com. If you would like to submit feedback on prerelease
software, use Bug Reporter: http://bugreport.apple.com.
--Kyle Sluder
On Oct 4,
On Oct 4, 2013, at 10:17 AM, Steve Mills smi...@makemusic.com wrote:
No ideas on this?
Guess not.
Given the volume and specificity of your questions, and the apparent speed with
which you expect answers from this volunteer community, have you considered
purchasing a DTS incident? Unlike
On 4 Oct 2013, at 12:12 PM, dangerwillrobinsondan...@gmail.com wrote:
Is it just me or did the finally-good-in-5 doc viewer get tweaked for the
worse in 5.0.1 ?
Where did the right sidebar go? That was great… :(
? It's been rearranged, but it's all still there. Make sure the two buttons
On 4 Oct 2013, at 12:28 PM, Kyle Sluder k...@ksluder.com wrote:
Xcode 5.0.1 is prerelease software covered under NDA.
You are correct, and I apologize for responding in this thread.
— F
___
Cocoa-dev mailing list
On Oct 4, 2013, at 12:30:51, Kyle Sluder k...@ksluder.com
wrote:
Given the volume and specificity of your questions, and the apparent speed
with which you expect answers from this volunteer community, have you
considered purchasing a DTS incident? Unlike this mailing list, DTS incidents
On Oct 4, 2013, at 4:08 AM, Andreas Grosam agro...@onlinehome.de wrote:
Scheduling or dispatching a callback or block onto a known thread/queue
will increase the risk for a dead lock. Thus, the execution context of the
callback shall be created/selected by the asynchronous result provider
It's also worth mentioning that the Xcode Developer Forums are now open
to all developers with a registered account, paid or free. The Mac and
iPhone forums are still restricted to paying members of those programs.
On Fri, Oct 4, 2013, at 10:28 AM, Kyle Sluder wrote:
Xcode 5.0.1 is prerelease
On Oct 4, 2013, at 12:08 AM, Nick Rogers roger...@mac.com wrote:
Is this even possible?
Basically no. In Unix there is no connection from an executable file to a
process running that file (or from _any_ file to a process that has that file
open, really.) The most exhaustive solution is what
On Oct 4, 2013, at 9:59 AM, Matt Neuburg m...@tidbits.com wrote:
But why is either of those necessary? Surely an idMyCellDelegate is, by
definition, an id - which inherits from NSObject
‘id’ is not a type that inherits from NSObject. ‘id’ is explicitly untyped.
‘idMyCellDelegate’ is _not_
On Fri, Oct 4, 2013, at 10:16 AM, Jens Alfke wrote:
Basically, by calling a client-supplied block on its private internal
queue, the implementation is exposing sensitive internal state to its
callers. That seems like a really bad idea.
This jibes with my memory of Andy's argument, which I'm
On 4 Oct 2013, at 10:53, Jens Alfke j...@mooseyard.com wrote:
On Oct 4, 2013, at 9:59 AM, Matt Neuburg m...@tidbits.com wrote:
But why is either of those necessary? Surely an idMyCellDelegate is, by
definition, an id - which inherits from NSObject
‘id’ is not a type that inherits from
Becoming increasingly adept at autolayout but currently stumped. What I
am trying to do is design a UICollectionView header that using
constraints is suitable for portrait and landscape.
I have a bunch of views in it, each grouped into a container view. What
I'd like to do is when the view
On Oct 4, 2013, at 11:35 AM, David Hoerl dho...@mac.com wrote:
Becoming increasingly adept at autolayout but currently stumped. What I am
trying to do is design a UICollectionView header that using constraints is
suitable for portrait and landscape.
I have a bunch of views in it, each
On 4 Oct 2013, at 18:14, Fritz Anderson fri...@manoverboard.org wrote:
On 4 Oct 2013, at 10:54 AM, Marcelo Alves marcelo.al...@me.com wrote:
Why not enumerate each subview, detect if it is a UIButton and add the
capped images?
Easier: Select each button and connect it to an outlet
On Oct 4, 2013, at 9:59 AM, Matt Neuburg m...@tidbits.com wrote:
Surely an idMyCellDelegate is, by definition, an id
It is not. There is no id-style type system leniency in `idSomeProtocol`.
That type must conform to the protocol and respond to its methods, and nothing
more. Unlike `id` it
I have a fixed size custom OS X view that I load from a nib and want to centre
within a host view using auto layout.
Can this be done using VFL alone?
My best shot at it follows, but it is incorrect:
[self.window.contentView addConstraints:[NSLayoutConstraint
On Fri, Oct 4, 2013, at 01:31 PM, jonat...@mugginsoft.com wrote:
I have a fixed size custom OS X view that I load from a nib and want to
centre within a host view using auto layout.
Can this be done using VFL alone?
No. But it's still really simple to do in code.
To achieve the desired
I have a bunch of views in it, each grouped into a container view. What I'd
like to do is when the view rotates, move the container views around. Currently
this seems impossible because the size of the header (and footer) must be
specified to the Flow Layout before the view is even created,
We have a menu that has one submenu with an item that uses unmodified 7, then
another submenu with an item that uses control-7. When control-7 is typed,
Cocoa is finding the item with unmodified 7 instead of the item with control-7.
If I trap this event in our app's sendEvent: method and make a
On Fri, Oct 4, 2013, at 01:52 PM, Kyle Sluder wrote:
The width and height of the view are independent of its position.
Correctly specifying the view's size is a separate issue. Typically that
is done by virtue of the constraints installed _within_ the view.
(In other words, split up the
On Oct 4, 2013, at 20:30 , Tom Davie tom.da...@gmail.com wrote:
Right, really the confusion stems from the fact that objective-c has a
strange behaviour when dealing with the type “id”.
Actually, “id” is not “strange” at all. It just uses the very simple Smalltalk
semantics: an object
On Oct 4, 2013, at 1:52 PM, David Hoerl dho...@mac.com wrote:
But its really odd - and I'm thinking about a bug report on this - that the
delegate has to provide the size before the view is even created.
It make sense if you think about it: it's asking for sizes so that scroll view
On Oct 4, 2013, at 11:30 AM, Tom Davie tom.da...@gmail.com wrote:
The more mathematically correct thing to do (and what it does for all other
types) is “I don’t know what it is, so I can’t ‘prove’* anything at all about
whether this is correct, therefore it’s not correct. Puny human, you
On 10/4/13 5:09 PM, Steve Christensen wrote:
On Oct 4, 2013, at 1:52 PM, David Hoerl dho...@mac.com wrote:
But its really odd - and I'm thinking about a bug report on this - that the
delegate has to provide the size before the view is even created.
It make sense if you think about it: it's
Egads. Forgot. Fooled by the tiny version number and annoyance.
Apologies.
Sent from my iPhone
On 2013/10/05, at 2:28, Kyle Sluder k...@ksluder.com wrote:
Xcode 5.0.1 is prerelease software covered under NDA.
If you would like to discuss prerelease software, use the Developer Forums:
You set me on the right path … I ran the app from the Finder and attached to it
from Xcode …
The problem …
running from Xcode the destination was 32 bit
running from Finder we run in 64 bit
a supporting library containing the call in question would not operate
correctly in 64 bit
thx …
On 4 Oct 2013, at 21:52, Kyle Sluder k...@ksluder.com wrote:
On Fri, Oct 4, 2013, at 01:31 PM, jonat...@mugginsoft.com wrote:
I have a fixed size custom OS X view that I load from a nib and want to
centre within a host view using auto layout.
Can this be done using VFL alone?
No.
Thanks
I changed the type of a property from NSString to Transformable. I added a new
model version to do this, and set the appropriate flags.
But Core Data seems to be deleting my database and starting fresh, anyway.
I verified that if I don't set the auto-migration options, then it gets an
error
On Oct 4, 2013, at 12:50 PM, Greg Parker gpar...@apple.com wrote:
In practice you'll usually want to use NSObjectSomeProtocol*
Well *there* is a solution I would never have thought of in a million years.
I'm a bit surprised that so many built-in delegate properties in iOS (like, all
of them,
First of all ... very much appreciate you both so often! Thanks for
commenting as much as you do.
I too faced this issue and, like Kyle, read enough to assume it was
generally not possible with VFL. But this afternoon, I came across this:
https://github.com/evgenyneu/center-vfl and for my
Sorry, I just noticed the link in the original question that contains the
answer I was referring to.
Now I'm curious to know if that doesn't work on the desktop or if you need
to describe more than those simple two lines for other types of
content/child views. I'm sure the UIImageView I am using
On 2013 Oct 04, at 18:56, Rick Mann rm...@latencyzero.com wrote:
… but Core Data seems to be deleting my database and starting fresh, anyway.
I verified that if I don't set the auto-migration options, then it gets an
error when it attempts to open the db.
Rick, this looks like a case of
On Fri, Oct 4, 2013, at 08:22 PM, Luther Baker wrote:
First of all ... very much appreciate you both so often! Thanks for
commenting as much as you do.
I too faced this issue and, like Kyle, read enough to assume it was
generally not possible with VFL. But this afternoon, I came across this:
Also, I suspect the reason you're specifying center-X alignment when
creating the vertical constraints is because NSLayoutConstraint threw an
exception when you tried to use the center-Y alignment option. That
should be warning enough. ;-)
This is true - as I typed this block into my own project
59 matches
Mail list logo