> superclass - i.e., it has overridden it
> }
>
Yes, I think that's about right. (It isn't the superclass; it looks right at
UIViewController, which must also implement the method somehow. But that's
minor.) Thanks! Tricky-wicky... m.
--
matt neuburg, phd = http:/
ondsToSelector:` obviously doesn't cut it: it would return YES if this
class merely _inherits_ the ability to respond to this selector. How would you
find out the answer to the question, "does this UIViewController subclass
respond to this selector _differently_ from UIViewController?&
o refresh
>animation for the stretched little do dad.
See the section in my book on interactive custom animations. Here's some source
code:
https://github.com/mattneub/Programming-iOS-Book-Examples/blob/master/bk2ch06p296customAnimation2/ch19p620customAnimation1/AppDelegate.m
m.
--
matt
ms
impervious to any understanding of the fact that we need coherent reliable
order and sequence for these events. m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/p
be replaced by the real
interface, and meanwhile the app is not responsive because you're not _in_ the
app: you're tapping on the snapshot. I wonder if that's what you're
experiencing. m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
Programming iO
cidentally
saw. Of course that doesn't solve the problem you're having; I'm just saying
what Apple says in the 2013 WWDC videos. I suppose you could say something like
System - Caption (or whatever it is) by running thru the various role names and
trying to match against the hidde
button remain in view at all times?
Can you post on github a small project that will allow the issue to be
reproduced? Thx - m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http:/
h:` is meaningful and
correct! That is a _major_ reason for preferring it; you can do layout here.
(Of course you can't do that if you are backwards-compatible to before its
existence.)
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
Programming iOS 7! http://shop.oreilly.
all part of the primitive, brainless
lack of real popover management. They sucked when they were introduced in iOS
3.2 and they have not been improved or changed in any way since then. I have a
long-standing bug in on the whole thing, including this particular issue.
m.
--
matt neuburg,
book:
- (void) forceSave: (id) n {
[self.doc saveToURL:doc.fileURL
forSaveOperation:UIDocumentSaveForOverwriting
completionHandler:nil];
}
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
i
learned a lot.
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.co
ke casting to id. It is as if id is not an id,
which makes no sense to me. Is this a Clang bug? Or am I just missing some
fundamental truth?
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop
bitrary variable in the
resulting instance, using the user-defined runtime attributes.
* If all else fails, implement loadView. Now finding the view is up to you. You
can keep the view in a .xib file even if you are getting the view controller
from a storyboard (delete the view controller'
roduced an error or a warning.
>
> The answer to your question probably depends on:
>
> -- the version of Clang you're using
> -- the particular SDK you're using
> -- the compiler options you're using
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.n
mit the cast entirely in the
first example, the compiler claims that you need a bridged cast. But you don't;
you just need a cast. That feels like a bug; if a mere cast is sufficient, the
compiler should say so (and Fix-It should offer it as a possible fix).
m.
--
matt neuburg, phd = m...@tidbit
stance of that class). If an informative
data structure is to be used on an instance-by-instance basis, and if this data
structure is to persist, then it seems to me that it *must* be an instance
variable. m.
On Jul 25, 2013, at 9:19 AM, Quincey Morris
wrote:
> On Jul 25, 2013, at 07:2
he call once but you can get
called back many times - or am I misunderstanding? m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 6! http://shop.oreilly.com/product/0636920029717.do
RubyFrontier! http://www.ap
it be stored as an ivar? Thx as always -
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 6! http://shop.oreilly.com/product/0636920029717.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Ti
behind the habit of
comparing to NSNotFound, but it doesn't sound as if there are.) m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 6! http://shop.oreilly.com/product/0636920029717.do
RubyFrontier! http
e
NSIntegerMax (which is only halfway through the available unsigned indexes), it
will seem to be NSNotFound when in fact it is an actual index.
I must be wrong about this, since Apple wouldn't make such a basic mistake. So
what's *my* mistake? Thx - m.
--
matt neuburg, phd = m...@tidbits.
Very nice, thanks! m.
On Jul 1, 2013, at 10:42 AM, John McCall wrote:
> On Jun 30, 2013, at 9:47 AM, Alex Zavatone wrote:
>> On Jun 29, 2013, at 12:20 PM, Matt Neuburg wrote:
>>> Yes, I looked at the spec and searched on the word "static" but I can't
>&
On Jun 29, 2013, at 7:48 PM, David Duncan wrote:
> On Jun 29, 2013, at 11:18 AM, Matt Neuburg wrote:
>
>>
>> On Jun 29, 2013, at 10:55 AM, Jens Alfke wrote:
>>
>>> This is just a parsing issue. If an ivar is declared in a class’s public
>>> inte
Of course it's possible that I've just confused the heck out of myself and my
experiment doesn't show what I think it shows. But try it; I think you'll find
that what I'm saying is true. m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes ant
It's permitted to override an inherited instance
variable, but only if you do so privately? m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 6! http://shop.oreilly.com/product/0636920029717.do
RubyFrontier! http:
That is *extremely* clear - thanks! m.
On Jun 29, 2013, at 9:42 AM, Jens Alfke wrote:
>
> On Jun 29, 2013, at 9:20 AM, Matt Neuburg wrote:
>
>> I'm trying to come up with a pithy explanation, suitable for beginners, of
>> why a "static" variable doesn
f code.
I like the verbal distinction between capturing the value and pointing at the
storage; I think that's where I need to go. It shows why __block both lets you
modify the value and keeps the value live in the block; they are really just
the same thing. Thx! m.
--
matt neubur
On Jun 28, 2013, at 5:26 PM, Kyle Sluder wrote:
> On Fri, Jun 28, 2013, at 05:17 PM, Matt Neuburg wrote:
>> Why is the block permitted to assign to the variable sharedInstance
>> outside the block? Evidently it is because "static" has an effect like
>> "__b
a local static? Thx - m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 6! http://shop.oreilly.com/product/0636920029717.do
___
Cocoa-dev mailing list (Cocoa-dev@l
n get some (without doing the
>JSON thing).
Not sure what "the JSON thing" is. I tried "the Google thing" and found this
promising-looking little tidbit:
https://github.com/chrismiles/CMUnistrokeGestureRecognizer
Haven't tried it, but its heart seems to be in the rig
tapGesture];
>
Well obviously if you want to detect double taps on a collection view *cell*,
it might be simplest to attach the gesture recognizer to the collection view
*cell* (not the collection view itself). m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A
On Wed, 01 May 2013 12:59:48 -0600, koko said:
>I should also note that I want to add my custom activities as well and
>understand I need to subclass UIActivity but some details would be helpful.
Same answer:
http://www.apeth.com/iOSBook/ch26.html#_activity_view
m.
--
matt neuburg, p
On Tue, 30 Apr 2013 13:13:47 -0700, Rick Mann said:
>Where are these documented?
Here!
http://www.apeth.com/iOSBook/ch19.html#_unwind_segues
:)
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iO
rong
and must not be touched; you must use the bounds and center instead - and
that's what autolayout should do. Every workaround is messy in one way or
another. It's as if the autolayout people forgot to consult the animation
people when they came slashing through the forest with
s extraordinarily convenient (a button that
does exactly the right thing with no code); why would anyone reject it?
If you insist on an different animation, then I can only repeat my suggestion
that in that case you not use the built-in back button, since what it does is
what it does.
m.
--
m
nagement,
ARC, properties) and putting them together at the end:
http://www.apeth.com/iOSBook/ch12.html
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 6! http://shop.oreilly.com/product/0636920029717.do
ws. I haven't looked at the Apple Stocks app, but
what you've described so far sounds like no more than a view containing a
paging scroll view. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming
stion. The back button
is the back button; it goes back. That's what it does. It only does one thing,
because it belongs to the back item (the UIViewController *under* the top view
controller in the stack). If you want a button in the UINavigationBar to do
something other than "go back
t all the paths.
>>
>> I'm able to find it using:
>>
>> - (NSString*)fullPathForApplication:(NSString*)appName;
>> or
>> LSFindApplicationForInfo()
>>
>> Both methods return the single path. I want all the path of my app which are
>&g
t;
>> If I put it in viewDidLoad, the toolbar never shows up. In the book by
>> Conway and Hillegass (3rd ed), they put similar code in init, but that also
>> doesn't work in my case. Interestingly, I am adding a UISearchBar in init,
>> and that works just fine
ot;? I wonder if it would help to locate the UISearchBar's internal
UITextField and set its keyboardType directly. I've found various circumstances
where this is necessary... Just an idea -
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A foo
ntroller. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 6! http://shop.oreilly.com/product/0636920029717.do
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.co
do *something* to help me, even if were just a better
GUI. And when there's a memory management bug in the framework (yes, this *can*
still happen, even under ARC), my pencil-and-paper method can fail to track
down the issue. m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/ma
On Fri, 22 Feb 2013 22:16:11 +0800, Roland King said:
>I like the stuff Matt Neuburg publishes, I admit to reading that which he's
>made publicly available without purchasing the book (sorry Matt)
No apologies needed. I posted it so you could read it. (Of course I'd *like* to
b
>the frame has.
Starting in iOS 5 you can draw the frame and you can draw the navigation bar
background. So to say you can't get the navigation bar to match the frame has
is just false. Of course you can. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fo
On Sun, 17 Feb 2013 12:16:47 -0600, Ken Thomases said:
>On Feb 17, 2013, at 11:50 AM, Matt Neuburg wrote:
>
>> On Sat, 12 Jan 2013 11:13:13 +, Mike Abdullah
>> said:
>>>
>>> The allocations instrument can show you all presently allocated objects.
>
be happy. More work, but you are in control.
MPMoviePlayerViewController sucks; I have a wonderful proof of this, but the
margin is too small to hold it. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 5! h
nternal retain count. But it sure would be nice if Instruments did give more
info about this, so that one could try to track down which retains are balanced
by which releases (and which retains, therefore, are unbalanced). A mere retain
count over time, along with a call stack, just doesn
e I should be testing first to make sure that
_bitmapContext and bitmap aren't the same object):
if (self->_bitmapContext)
CGContextRelease(self->_bitmapContext);
self->_bitmapContext = bitmap;
Example of dealloc:
- (void) dealloc {
if (_bitmapContext
ldReturn: or don't implement it at all. You can get
automatic keyboard dismissal with *no code* this way.
http://www.apeth.com/iOSBook/ch23.html#_uitextfield
m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Progr
s that a wrong thing to want to
do? Thx - m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
T
ent in the first
instance with how an attributed string draws itself, but in the second instance
UILabel is inconsistent with itself.
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 5! http://shop.oreilly.c
tring drawing option
`NSStringDrawingTruncatesLastVisibleLine`.) Just wanted to make that perfectly
clear for generations to come... :) m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 5! http://shop.oreilly.com/product/0636920023562.d
- just bang on the black box
until the right thing comes out the other end, then stop. :) m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do
RubyFrontier! h
51.8027, 465}, it won't fit. That's because the 20pt
> margins will be applied within those bounds, so my text will be trying to fit
> in an 11pt space, and will be much longer than 465pt high.
>
> Therefore I believe this is a bug. I asked for the bounding rect of my
>
ill be much longer than 465pt high.
Therefore I believe this is a bug. I asked for the bounding rect of my string,
but the system gave me the bounding rect of a *different* string, a string that
has no margins. m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes a
AffineTransformMakeTranslation. In other
words, the first one begins by translating the current transform. The second
one begins with a plain vanilla translation. The affine transform equivalent of
CGContextTranslateCTM is CGAffineTransformTranslate. You might want to say this:
CGAffineTransform tfm =
Suska wrote:
> On Jan 23, 2013, at 7:29 PM, Matt Neuburg wrote:
>
>> The docs on boundingRectWithSize:options:context: say:
>>
>> "Typically, the renderer preserves the width constraint and adjusts the
>> height constraint as needed."
>>
>>
drawn within the width
I supplied (100) using the paragraph margins I supplied. Is there some other
way to find that out? Or is this a bug with regard to how margins are
interpreted? m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phus
ruct is a special kind of l-value that's limited in
> how it can be used. You can use it as the l-value operand of a simple
> assignment, compound assignment, increment, or decrement operator, but any
> other use causes it to be converted to an r-value.
Okay, I'll think
On Jan 22, 2013, at 11:25 AM, John McCall wrote:
> On Jan 22, 2013, at 11:03 AM, Matt Neuburg wrote:
>> We have dot-syntax for accessors, and we have dot-syntax for struct
>> elements, and we can chain them, but not as an lvalue. It is legal to say
>>
>> x = objec
all out by hand? There's no ambiguity as far as I can tell. The ARC
compiler is supplying plenty of code behind the scenes, including temporary
variables, so surely it wouldn't be onerous to do the same sort of thing here.
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/m
On Jan 22, 2013, at 7:08 AM, Mike Abdullah wrote:
>
> On 10 Dec 2012, at 20:26, Matt Neuburg wrote:
>
>> Bump. I'd still like to hear about this. The docs have a *huge* box saying
>> that iOS NSPointerArray is not doing __weak references, but it sure looks to
>> m
[self invalidate];
>> }
>
> where sel is defined as @property(nonatomic) SEL sel;
>
> The line containing the performSelector:withObject: method generates
> "PerformSelector may cause a leak because its selector is unknown".
--
matt neuburg, phd = m...@tidbits.co
When I've set a symbolic breakpoint for an Objective-C method and we pause at
that breakpoint in assembler, how can I find out things like what object this
message was sent to and what argument values were passed? (This is in iOS if
that makes a difference.) Thx - m.
--
matt neuburg, ph
San Diego, CA
> Message-ID:
> Content-Type: text/plain; charset=iso-8859-1
>
> I'm interested but I'm based in France. Can you tell me more about the job ?
>
Feed those trolls! m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi
Yes, actually I do both. m.
On Jan 3, 2013, at 3:42 PM, Kyle Sluder wrote:
> On Thu, Jan 3, 2013, at 02:54 PM, Matt Neuburg wrote:
>> I didn't say the transliteration was simple. I had to devise a code
>> (properly called a "beta code") that would yield the corre
On Jan 3, 2013, at 12:49 PM, Fritz Anderson wrote:
> A simple transliteration
I didn't say the transliteration was simple. I had to devise a code (properly
called a "beta code") that would yield the correct result. To give a simple
example, if you want a-accent-aigu to sort before a-accent-gra
What I do in my Core Data-based Latin and Greek vocabulary list iOS apps is
maintain extra fields (attributes) that contain transliterations of the
Greek/Latin terms into the English alphabet in such a way that sorting normally
on those fields gives me the order that is correct for Greek/Latin.
don't see
> how that's relevant.
>
> (I hate when the docs are coy like this. These are the docs, people, not a
> guessing game!)
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 5!
on't see how
that's relevant.
(I hate when the docs are coy like this. These are the docs, people, not a
guessing game!)
Thx - m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 5! http://shop.oreill
) pressing
> Return merely hides the keyboard. What else do I need to do?
I don't know what's up with the autocapitalization, but there is no expectation
or contract that just because the keyboard dismissal key says Done it will also
dismiss a surrounding alert. It's a text fiel
Bump. I'd still like to hear about this. The docs have a *huge* box saying that
iOS NSPointerArray is not doing __weak references, but it sure looks to me like
it is. But I don't know how to test. Thanks for any help. m.
On Fri, 30 Nov 2012 07:51:57 -0800, Matt Neuburg said:
>
! :) m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
P
n test this directly, and I've also been
using NSPointerArray successfully to break retain cycles. So are the docs just
lying (in a big bold box right at the top), or is this some other kind of weak
reference (i.e. somehow weak, but not ARC-__weak)?
m.
--
matt neuburg, phd = m...@tidbit
r the rules
described here because if you're using ARC (and you'd be crazy not to) you
*cannot* dispatch_release. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Progra
ror
messages in the log, though. It's fine for hiutil to crap out, but it should
say *why* it's crapping out. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 5!
On Nov 26, 2012, at 6:30 PM, Kyle Sluder wrote:
> On Nov 26, 2012, at 6:04 PM, Matt Neuburg wrote:
>
>> PS Is there any merit to my suggestion that the runtime should warn if you
>> set the frame of a constrained interface object? I really think such a
>> war
idea.
On Nov 26, 2012, at 3:25 PM, Kyle Sluder wrote:
> On Mon, Nov 26, 2012, at 12:57 PM, Matt Neuburg wrote:
>> It would help me if you could suggest a method call that would exercise
>> the constraint system, e.g. perhaps causing the frame to snap back to
>> height 36, t
; On Mon, Nov 26, 2012, at 10:46 AM, Matt Neuburg wrote:
>> I have noticed by experimentation that if I have a layout constraint on a
>> view that sets its height at (say) 36, I can later change the view's
>> frame in code to set its height at (say) 50. The view's height
ater because of this conflict?
Thx - m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBIT
ject: @(sz.height)];
}];
self.heights = marr;
}
return [self.heights[indexPath.row] floatValue];
}
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 5! http://shop.oreilly.com/product/06369200
reak as a consequence. This reasoning has a somewhat
Kantian a priori ring to it, but it is certainly suggestive that one would do
better to doubt oneself rather than the framework in so vital and elementary a
matter.
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/
On Nov 9, 2012, at 5:25 PM, Roland King wrote:
> Well that's a bit odd as it did work for the dude in the video and I can't
> believe he was faking it somehow
He *is* faking it, in the sense that it's not a demo: it's just a Keynote
slide. m.
--
matt neuburg, ph
On Nov 9, 2012, at 4:21 PM, David Duncan wrote:
> On Nov 9, 2012, at 3:48 PM, Matt Neuburg wrote:
>
>>>> Why - are you suggesting it *is* supposed to work through a restart??? m.
>>>
>>> Yes it is.
>>
>> Well, it doesn't for *any* app t
By the way, while I'm complaining, another annoying thing is that the WWDC
video on this topic shows a bogus method of testing. The video pretends that
killing the app by double-clicking the Home button and clicking the app's "x"
to kill it is a way of testing. It is *not*. That will in fact wi
On Nov 9, 2012, at 1:54 PM, David Duncan wrote:
> On Nov 9, 2012, at 1:45 PM, Matt Neuburg wrote:
>
>>
>> On Nov 9, 2012, at 1:29 PM, David Duncan wrote:
>>
>>> On Nov 9, 2012, at 11:30 AM, Matt Neuburg wrote:
>>>
>>>> It turn
On Nov 9, 2012, at 1:29 PM, David Duncan wrote:
> On Nov 9, 2012, at 11:30 AM, Matt Neuburg wrote:
>
>> It turns out that the new iOS 6 UIViewController/UIView state restoration
>> does not work through a restart of the device!
>
>
> How was the device restarted?
On Nov 9, 2012, at 11:54 AM, cocoa-dev-requ...@lists.apple.com wrote:
> Date: Fri, 09 Nov 2012 14:53:57 -0500
> From: "Eric E. Dolecki"
> //This is resetting the rotation to 0 - a visible jump
Think of animation as a kind of movie projected on a screen in front of your
actual static drawing.
the new built-in state
restoration. In my view, this is a huge omission on Apple's part, greatly
reducing the value of this feature. What I was hoping for is for my app to come
back just as before, no matter *what* may have intervened since the user
backgrounded it. m.
--
matt neuburg, ph
On Nov 8, 2012, at 4:24 PM, Quincey Morris
wrote:
> On Nov 8, 2012, at 13:23 , Matt Neuburg wrote:
>
>> The result (and this is the problem) is that the label truncates after the
>> **first line** of the second paragraph ("Four score and seven years ago, our
>&g
kByTruncatingTail
to NSLineBreakByWordWrapping for the second paragraph. But I don't want to!
Because if in fact the text is too long for the height of the actual label, I
do want ellipses at the end!
So how can I get tail truncation **when the label is too short**, without
getting **unneces
er:nil options:nil];
Cell* cell = objs[0];
UILabel* lab = cell.lab;
lab.text = s;
[lab sizeToFit];
return [cell
systemLayoutSizeFittingSize:UILayoutFittingExpandedSize].height;
}
Hope that helps someone some day - m.
On Nov 2, 2012, at 5:24 PM, Matt Neuburg wrote:
> On Nov
ayout, and I want the view
superview to resize to meet the constraints relating the superview to the label
- what's happening instead is that the label is resizing again and the
superview is staying the same.
m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthr
he
interface and ask it to exercise the constraint engine to see where everything
ends up. m.
On Nov 2, 2012, at 10:41 AM, Luke Hiesterman wrote:
>
> On Nov 2, 2012, at 10:22 AM, Matt Neuburg
> wrote:
>
>>
>> On Nov 2, 2012, at 10:14 AM, Luke Hiesterman wrote:
>>
&
sp. Can you
expand a little? Thx! - m.
> , so no, you won't be able to have the constraints system calculate the
> height for you.
>
> Luke
>
> On Nov 2, 2012, at 10:10 AM, Matt Neuburg wrote:
>
>>
>> On Nov 2, 2012, at 9:03 AM, Luke Hiesterman w
of thing I've tried. m.
>
> On Nov 2, 2012, at 8:07 AM, Matt Neuburg wrote:
>
>> Okay, I have this wild and crazy idea. I've got a UITableView with cells
>> that have different heights. The cells' content consists almost entirely of
>> UILabels, and
I right that this is just impossible, or is there some cool way to do it
that I just haven't stumbled on yet? Thx - m.
--
matt neuburg, phd = m...@tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 5! http://shop.oreilly.com/product/063
#x27;t see any way out of this. I can probably pretty much
do with subviews what I was doing with sublayers, and thus get all the layout
constraint's yummy goodness. I'm just surprised that we still have no form of
auto-resizing for sublayers, and I'm wondering if I'
012 08:43:14 -0700
> From: Matt Neuburg
>
> I've filed a bug on this, clearly demonstrating the problem (the very same
> code compiled against the very same SDK draws the text in a very different
> location); but it is obvious that nothing will be done about it. There ar
een fixed in iOS
>6. Or am I the problem?
You're probably just misunderstanding this property. It has meaning only if
numberOfLines is 1. I'm betting it isn't. m.
--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease po
1 - 100 of 856 matches
Mail list logo