Get started with App.net.

  Sign up now  
marcpalmer
    What is the *right* way to have a UIView that contains subviews with content-sensitive heights (e.g. UITextView) resize to show all their subviews at optimal size (intrinsicContentSize of each), within the context of auto layout?
    marcpalmer
      @danimal thanks that's great info. Will pass it on to client
      marcpalmer
        @danimal ok so you had different configuration for the different accounts, to pull in different profiles for builds? Interesting
        marcpalmer
          How do orgs with multiple dev teams and apps (e.g. game company) deal with the 100 test device limit? Can you get multiple ADC accounts that have the same company ID in the app store? Link accounts? Or stick to 100 devices across whole co? (insane?!)
          marcpalmer
            So has anyone radar'd apple to make Xcode fail an Archive task if the portal has a newer version of the prov profile being used? Would catch a LOT of problems with udids missing
            marcpalmer
              Argh. Why when I create a new Distribution profile for adhoc in Dev portal does it then try to auto-create a iOS Team profile that is stuck in "Pending" state and Xcode will not refresh list of profiles to include the new distribution one?
              marcpalmer
                Every time I have to make a complex UI in IB that also has runtime adjustments/dynamic views added in code I weep at the pain of doing this with auto layout.
                marcpalmer
                  @muncman turns out it was easy by editing the XML source of the storyboard. Change the <scrollView> to <view> in the section for that scene/controller, where key="view". Seems IB cannot change the root element type there.
                  marcpalmer
                    @muncman hmmm, seems so strange that there is seemingly some data somewhere stored to indicate what kind of root view a controller can have in IB. It's not the superclass of the VC. I have a hunch how to do it...
                    marcpalmer
                      Fellow #iOS devs: is there a way to get interface builder to change the type of the root view of a view controller? I have a root UIScrollView and need to revert it to UIView without losing all my horrible constraints. Won't let me do it.
                      blenderhead
                        Silicon Valley Is Living Inside A Bubble Of Tone-Deaf Arrogance http://j.mp/1bImKGQ
                        marcpalmer
                          The app is finally coming together. Nothing is too broken and most looks close to final UI. Hooray. Tweaks and transitions…
                          marcpalmer
                            @muncman Seems the AirDrop just uses an UIActivityViewController with all the other activity types excluded. i.e. adds an extra UI controller that presents. Not nice IMO. I'm happy with grey icons with the native API
                            marcpalmer
                              @muncman oh no I hadn't seen that. Very interesting. Not sure how Apple allow it though, also don't us rest and how they can integrate airdrop. Will have a look
                              marcpalmer
                                OMG Just did hours of battle with custom UIActivity and UIActivityItemSource. That is some *nasty* API there. Why does UIActivity never get to know about the UIActivityViewController and yet UIActivityItemSource does? Makes it very awkward to present UI
                                marcpalmer
                                  Oh re: that last post. App-supplied activities only have greyscale icons. Sad face.
                                  marcpalmer
                                    Hey does anyone (including @jury) know if Apple will reject an iOS app for including a copy of the Message and Mail icons for use in a custom UIActivity implementation that simply uses the built messaging frameworks? Built in activity impls too limited
                                    marcpalmer
                                      @eg what is particularly egregious about that name stuff is that if you do it right i.e. don't attempt to parse or be smart, you end up having to at some point when pushing data to external systems.
                                      marcpalmer
                                        @eg haha fantastic. It is such a horrible area, tainted by western assumptions