SKTexture works quite nicely in the sense that it doesn't matter whether it's referring to a separate texture, or a sub-texture in a texture atlas. It works completely transparently and identically regardless of where the image data is actually located.Except for one thing: [SKTexture textureWithRect:inTexture:] just outright doesn't work properly if the parameter texture is referring to a sub-texture in a texture atlas. And what's worse, it cannot be made to work, no matter what.For one, if the source sub-texture is rotated, the copy texture created with that method will be unrotated. What's worse, there's neither any way of knowing if the texture is rotated, nor is it possible to create a new rotated texture. The newly created texture will always be unrotated (and thus eg. SKSpriteNodes created from this copy texture will be wrong, with their texture rotated 90 degrees). There is just no way to make it work.Secondly, if the sub-texture referred to by the parameter is trimmed (because of Xcode's texture atla
Search results for
column
2,049 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am seeing the following crash attempting to compile my apps for tvOS 10.0 with XCode 8. In addition all of the existing versions of my apps are crashing on tvOS 10.0.CompileMetalFile MagicWindowTV/MWFragmentRGBA.metal cd /Users/joshm/Projects/Magic Window Current/magicwindow/MagicWindowTV export PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin /Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/usr/bin/metal -arch air64 -emit-llvm -c -gline-tables-only -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS10.0.sdk -ffast-math -serialize-diagnostics /Users/joshm/Library/Developer/Xcode/DerivedData/MagicWindowTV-bhkaproqjkjwbhbxwzeteeclerti/Build/Intermediates/MagicWindowTV.build/Debug-appletvos/Earthlapse.build/Metal/MWFragmentRGBA.dia -o /Users/joshm/Library/Developer/Xcode/Der
So we are messing w/ the new WKWebView, and remote caching of images (e.g. let's say loaded from an Amazon S3 bucket)seems to be very weak. It seems like less than 5% of image data pulls are cached. So they are continually being downloadedfrom the network, causing huge network traffic as we run our app. Nomatter what settings we use to try to increase the cache size, results seem the same.You can see this if you go into Safari Developer mode and monitor network traffic. The Cached column is mosty NO.I put a link to a snapshot from the network http traffic analyzer in safari devhttp://diffent.com/cacheStatusWK.jpgyou see most of the files are about the same size but few are cached...and this is a pagethat had at least some items cachedthis is after running the app for a whilewe tried setting NSURLCache, but it seems to have no effect in WKWebVIew, nomatter how large we make itNSURLCache* sharedCache = [[NSURLCache alloc] initWithMemoryCapacity:cacheSizeMemory diskCapacity:cacheSizeDisk diskPath:@nsurl
The easiest way is to insert another column before the outline column that has the required amount of extra space.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags:
Whenever i'm trying to type a text in uitextfield app crashes with this error. It's happening when 3D touch is on. Works fine when 3D touch is off.2016-07-18 11:14:26.749128 FieldEZ[8254:232783] [HIDEvents] HID Event incoming:+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Timestamp: 31497768993190Total Latency: 1938 us[1mSenderID: 0x30236E6565726353 NON KERNEL SENDER[0mBuiltIn: 0AttributeDataLength: 48AttributeData: 02 00 00 00 20 00 00 00 ab 32 bf 0c 7a 36 2f 37 71 c2 de 40 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ValueType: AbsoluteEventType: DigitizerFlags: 0xa0005DisplayIntegrated: 1TransducerType: HandTransducerIndex: 0Identity: 0EventMask: 2Events: Touch ButtonMask: 0Range: 0Touch: 1Pressure: 0.000000AuxiliaryPressure: 0.000000Twist: 0.000000GenerationCount: 0WillUpdateMask: 00000000DidUpdateMask: 00000000X: 0.000000Y: 0.000000Z: 0.000000TiltX: 0.000000TiltY: 0.000000ChildEvents: ----------------------------------------------------------
is it published anywhere how it will be possible to detect the iphone 7 device model?I'm looking for the variant column in the table listed in the link belowhttps://www.theiphonewiki.com/wiki/Models
Hello,QLPreviewController is not presenting an ascii tabe as in ios 9 for csv files.instead of orginized table, lines and columns it shows the comma between fields in the view.the file presents ok when I open it in excel app but in my app the view looks as I mention.thanksyael
apple.stackexchange.com/questions/97297/mac-os-x-10-8-quicklook-causing-cpu-temperature-spikesTamen from the above link, the following worked. It's a bug for sure, but the root-cause is a cached search in Finder which tries to find every file on the system and runs out of resource handles or something. It's an obvious use-case in Finder that I'm astonished nobody has spotted yet (but I have been a Unix/Linux system developer for 20 years).When Finder is doing it, you can both get rid of the phantom '**** search' immediately, but also fix it permanently with 2 button clicks:-When you have the issue, on the finder menu bar, you'll see the 4 icons pertaining to switching views, list, columns, coverflow, etc.Just click one of the buttons once to change the view to something else from your usual default, then click the button pertaining to your default view preference to change it back.You should notice 3 things:-The CPU-spin stops immediately and normality returns.The phantom stuck search gets removedIt
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Thanks Eskimo but this did not work for me even though I have the archive stored. Any tips to get this working so I can get my logs symbolicated?Xcode will automatically symbolicate all crash reports that it encounters, if it has the .dSYM and application binary that produced the crash report. Given a crash report, the matching binary, and its .dSYM file, all you need to do for symbolication is to add the crash report to the Xcode Organizer.Connect an iOS device to your MacChoose Devices from the Window menuUnder the DEVICES section in the left column, choose a deviceClick the View Device Logs button under the Device Information section on the right hand panelDrag your crash report onto the left column of the presented panelXcode will automatically symbolicate the crash report and display the results
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Can NSOutlineView (or NSTableView) be used as the custom class type for a Custom View in IB?Trying to use an NSOutlineView as one view in a stack view, and I don't want the scroller that usually comes with it (the stack view is in a scroller).So far I can get my controller and the outline view to load. But the outline has no columns yet. When I try to add one programmatically via addTableColumn, it appears to succeed, but looking at the tableColumns array in the NSTableView baseclass the array is nil and remains nil after calling addTableColumn.Is this a known limitation/bug with trying to do this from IB?
We have this problem in our app as well. Once in a while it saves a log file to the device that shows excessive wakeups but different threads getting excessive wakeup at different app kill times. We tried disabling a websocket library (https://github.com/socketio/socket.io-client-swift) that showed up in a bare majority of the crashes but it happens in other threads now. It kills Instruments tool as well when we tried to narrow it down. Have some crash logs file with this is NOT a crash for the Apple Instruments app com.apple.dt.instruments.DVTInstrumentsFoundation.But most of the times no log file gets saved. And it does not happen on the simulator. A tricky one to debug. Would be good if atleast a log file is consistently saved to the device. The message that this is NOT a crash is kind of strange because for all practical purposes the app did crash and device log type column shows Crash. So either fix the log type column or the message should be fixed and the log file should be created mo
Topic:
App & System Services
SubTopic:
Networking
Tags:
Elena,Are you certain that the app is validating the receipt with the production receipt validation server. The fact that the app made it through app review and is failing in the production environment tells me that the app sends the app to the sandbox validation server. The fact that restoreCompletedTransactions fails follows because the app isn't calling finishTransaction after the validation process fails. The restoreCompletedTransactions call only restores purchases where the finishTransaction call has been made.Does the app log the status result for the receipt validation process. If so, take a look at the console log. If this is new to you, I suggest using the Apple Configurator 2 app to access the console log - instructions followInstall the Apple Configurator 2 application available from the Mac App Store<<https://itunes.apple.com/us/app/apple-configurator-2/id1037126344?mt=12>1. Launch the Apple Configurator 2 application and attach the device to the system.2. Control click the device in the
Topic:
App & System Services
SubTopic:
StoreKit
Tags:
I have xcode setup and an app written and tested. I have deployed it to my phone and tested and all is looking good. I'm now ready to submit to the app store and already want to kill myself.1) I have a provisioning profile setup for the app and it shows an expiration date of 20172) When viewing my profile settings it shows the app, but its expiration date is in 2 days.3) I have deleted and reimported my certificates to try to fix things but nothing is changing.4) In build settings, first I'm confused as to what the two columns of drop lists are for, but the developer profile I have on the developer.apple.com website doesn't match what is showing in the drop list. My keychain is also showing different values than what xcode is showing me in the drop list. NOTE: developer.apple.com doesn't actually show me the ID that displays in keychain and xcode so no way to verify that. However, if I delete my keychains and reimport it brings in the same one that was there.I am totally confused and frustrated beyon
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
Signing Certificates
Provisioning Profiles
I'm trying to display a list of items in a UICollectionView. I have multiple sections for these items and a fixed cell width but dynamic height. I'm using the standard flow layout. The items are layed out in three columns by setting the estimated item size and auto-layout constraints. My collection view delegate/data source is extremely basic: I implement numberOfSectionsInCollectionView, numberOfItemsInSection, and cellForItemAtIndexPath with almost nothing except the bare minimum. I return a fixed number of sections and a variable number of items in each section based on a data model. cellForItemAtIndexPath dequeues one cell type and changes the text on two labels in the cell.Now the funniness: When there is more than one item in a section, the cells fill in the space from left to right, flowing across multiple lines as needed. However, if there is one item in a section, it lays out that cell in the center of the collection view. This looks really weird and breaks up the flow.Any ideas on how to ma
My Swift app was rejected, and Apple reviewers sent me two crash logs but no dSym. Following these instructions ...Connect an iOS device to your MacChoose Devices from the Window menuUnder the DEVICES section in the left column, choose a deviceClick the View Device Logs button under the Device Information section on the right hand panelDrag your crash report onto the left column of the presented panel. Xcode will automatically symbolicate the crash report and display the results... I am seeing the raw crash logs in Xcode, not symbolicated.Could the problem be that I need a dSym? If so, do I request this from the reviewers, or is there a way for me to generate my own now?Or is there something else I need to do to symbolicate these crash logs?Screenshot of Xcode:http://i.stack.imgur.com/X30tZ.jpgXcode 7.3.1El Capitan