On 22 mai 2013, at 01:52, Seth Willits wrote:
> Changing the blur radius has no affect on the offset. It still behaves the
> same way. I'm not sure why you think 0.5 would be any different.
I believed that using 0.5 would solve the issue… because I have been there
before. I should have mention
I have an UITableView with several searchOptions (like: "Starts with", "Ends
with", etc.).
When the user changes the search option, the UISearchDisplayDelegate implements:
- (BOOL)searchDisplayController:(UISearchDisplayController *)controller
shouldReloadTableForSearchScope:(NSInteger)searchOp
I'm looking to add some highlighting to my Core Text View, and implemented the
following which comes straight from Apple's SimpleTextInput code example
(https://developer.apple.com/library/iOs/#samplecode/SimpleTextInput/Introduction/Intro.html):
// Helper method for drawing the current selectio
On May 22, 2013, at 8:05 AM, Koen van der Drift
wrote:
> I'm looking to add some highlighting to my Core Text View, and implemented
> the following which comes straight from Apple's SimpleTextInput code example
> (https://developer.apple.com/library/iOs/#samplecode/SimpleTextInput/Introduction
On May 22, 2013, at 10:05 AM, Michael Babin wrote:
> The preceding call looks like it could be problematic:
>
>>CTFrameGetLineOrigins(_frame, CFRangeMake(i, 0), &origin);
>
> If you want a single line origin (CGPoint), looks like the length of the
> range passed in should be 1
On May 22, 2013, at 10:16 AM, Koen van der Drift
wrote:
> I now get a bunch of : CGContextFillRects: invalid context 0x0 errors,
> which makes sense since this snippet does not have something like:
>
>CGContextRef context = UIGraphicsGetCurrentContext();
>
> I replaced UIRectFill(selecti
How are you forcing the redraw? If you are using setNeedsDisplayInRect:,
are you expanding the rect enough to cover the shadow?
On 5/22/13 4:34 AM, "cocoa-dev-requ...@lists.apple.com"
wrote:
> What bit of obviousness am I missing here?
> http://www.sethwillits.com/temp/ShadowOffset.mov
_
NSData *source = // whatever
NSRange myRange = // whatever
NSData *subrangeOfSource = [source subdataWithRange: myRange];
On May 18, 2013, at 3:00 PM, cocoa-dev-requ...@lists.apple.com wrote:
> Send Cocoa-dev mailing list submissions to
> cocoa-dev@lists.apple.com
>
> To subscribe or u
When I use memory transfer mode on 10.8 , ImageKit calls my
scannerDevice:didScanToURL:data: with an NSData object containing TIFF data
that can be used with +[NSBitmapImageRep initWithData:].
When I try the same thing on 10.7, the NSData isn't TIFF, it looks like this:
$ hexdump -C -n 256 ~/D
iPhone 4, iOS 6.1.3, and
iPhone 5, OS unknown, can assume 6.1.+ and likely 6.1.3
iOS 6 SDK, iOS 6 target
Two users, one instance each, can't reproduce on iPhone 4, iPhone 5, or
simulator.
Okay, here's what we're seeing.
We have an application that posts local notifications, about a dozen at a ti
Rather than try to get an NSPopUpMenu to work by displaying a window instead of
the menu, I'm going down the path of using an NSPopover instead. It allows
multiple events in the window and can dismiss when the user clicks somewhere
else. Great. Now I *also* need to display this popover from a ce
I've got a simple case for iOS that I can send you where I issue an
UIPopoverController and a PopoverContentViewController from a UIButton in a
UINavigationBar.
Sounds like you're trying to do this in the Mac, but if you think it will help,
I'll strip the project down to the minimum and send yo
On May 22, 2013, at 16:15:31, Alex Zavatone
wrote:
> I've got a simple case for iOS that I can send you where I issue an
> UIPopoverController and a PopoverContentViewController from a UIButton in a
> UINavigationBar.
>
> Sounds like you're trying to do this in the Mac, but if you think it wi
Have you considered subclassing NSPopupButtonCell and overriding the
interaction code? The alternative would be to subclass NSCell (or an
appropriate subclass) and override the drawing methods. For the triangle, you
could either use an image, or preferably, measure the dimensions and draw it
Yeah, if you need the triangle, I can toss you an Illustrator file or a PNG so
that you can just add a UIImage to the button.
On May 22, 2013, at 5:19 PM, Steve Mills wrote:
> On May 22, 2013, at 16:15:31, Alex Zavatone
> wrote:
>
>> I've got a simple case for iOS that I can send you where I i
Howdy,
It's very easy to do using runtime. I have a framework for doing dynamic
creation at runtime. Also, It's easy to get O-C based class elements such as
properties, ivars, protocols. methods using runtime. You can take a look at
this.
https://gist.github.com/Ch0c0late/5575679 It introspects
Hellow,
I've been working through a couple of tutorials and managed to make a text
field and things just fine. The thing I'm wondering is how do I go about
naming the textField what I want to call it, like textField1 or for example
rather than just textField? Also, how do I make more than 1 te
I'd like to get some opinions on handling navigation without having
your view controllers modify the navigation stack directly.
I'm currently working on an app where I've subclassed
UINavigationController, which in turn has custom methods for showing
the various views of the app. Each of my app's v
Hellow,
I'm using the numberpad for entering text in the textFields in my iPhone app
which is fine, but for some reason I've resigned firstResponder to all the
textFields so I can dismiss the keyboard when I press the calculate button, but
when I press said button, the keyboard just stays on the
On Wed, May 22, 2013 at 1:34 PM, Harmony Neil wrote:
> Does anyone know what is the best way of dismissing the keyboard?
> I preferably want to dismiss the keyboard for whichever of the 3 textFields
> I'm writing
> in.
Hello,
Give UIView's endEditing: method a try. Here is the doc (shortened
w
Hi James,
I'd suggest that you're probably pushing the idea of decoupling things a bit
too far here.
View Controllers are inherantly tied to the behaviour of your application, and
your user's experience of the flow through it. In 95% of cases, it's
absolutely correct for the view controller t
Take a look at [UIView endEditing].
On May 22, 2013, at 4:34 AM, Harmony Neil wrote:
> I preferably want to dismiss the keyboard for whichever of the 3 textFields
> I'm writing in.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do no
This is reported as rdar://13966809
On May 22, 2013, at 3:24 PM, Eric Slosser wrote:
> When I use memory transfer mode on 10.8 , ImageKit calls my
> scannerDevice:didScanToURL:data: with an NSData object containing TIFF data
> that can be used with +[NSBitmapImageRep initWithData:].
>
> When
Do you also have the text field hooked up to File Owner's delegate?
That needs to be done to dismiss KB.
On May 22, 2013, at 7:34 AM, Harmony Neil wrote:
> Hellow,
> I'm using the numberpad for entering text in the textFields in my iPhone app
> which is fine, but for some reason I've resigned
On 18/05/2013, at 8:21 PM, Harmony Neil wrote:
> I've been working through a couple of tutorials and managed to make a text
> field and things just fine. The thing I'm wondering is how do I go about
> naming the textField what I want to call it, like textField1 or for example
> rather than j
On 18 May 2013, at 03:21, Harmony Neil wrote:
> Hellow,
> I've been working through a couple of tutorials and managed to make a text
> field and things just fine. The thing I'm wondering is how do I go about
> naming the textField what I want to call it, like textField1 or for example
> rath
This is what I use when using a UISearchBar in iOS.
-(void)searchBarSearchButtonClicked:(UISearchBar *)aSearchBar {
[aSearchBar resignFirstResponder];
}
By using the _ char in front of your var, it looks like you're talking directly
to the private instance. If you have a textfield called
Hello. This piece of code causes CFPreferencesSetAppValue() to
crash:
- (CFDictionaryRef) createBlockSaveData {
CFDictionaryRef
parent=[super createBlockSaveData];
CFStringRef
keys[]={CFSTR("LinkBlockURL"), CFSTR("LinkBlockDisplayName"),
CFSTR("LinkBlockBrowser"), CFSTR("BlockType"), ni
On Thursday, 23. May 2013 at 2:03, Thomas Davie wrote:
> I'd really very strongly suggest that you just use Interface Builder. Your
> user interface is essentially data, not code. I doubt (and hope) very much
> that you don't write code to fill up a buffer with image data at runtime,
> rather th
29 matches
Mail list logo