Search results for

column

2,052 results found

Post

Replies

Boosts

Views

Activity

Reply to In app purchase “Cannot connect to iTunes Store” error for Sandbox user
Sorry for the delayed response - if the SKProductsRequest is failing, this would appear to be a bug report issue. However, the first thing I'd do is collect a console log from the Apple TV with the StoreKit profile active. I'd then include the console log with the bug report. Here's the instructions for doing so.To install the StoreKit profile onto the Apple TV please follow these instructions1. On your macOS system (10.12 or later) open Safari and navigate to the Developer Bug Reporting - Profiles and Logs web page<https://developer.apple.com/bug-reporting/profiles-and-logs/>2. Download the “App Store/iTunes Store for iOS” profile. You will see the file “itmsdebugging-2.mobileconfig” in your Downloads folder.3. Enable Remote debugging with the Apple TV with your macOS system (see below if you aren't familiar with this step)3a. Open the Settings app on the Apple TV - Remotes and Devices -> Remote Apps and Devices3b. On the macOS system, launch Xcode -> Window menu -> Devices and Simulators. Sel
Topic: App & System Services SubTopic: StoreKit Tags:
Nov ’18
Reply to Apple News landscape mode gone in iOS 12?
I'm a lefty and have this nifty workaround. After opening News in landscape, slide up the Dock and drag a second app to the right third of the screen. This will switch to Split View with News using the left two-thirds of the screen, showing only news items (no channel list). The result is you can scroll the news with your left thumb.As a bonus, I put the App Store on the right side, so it appears as a single-column list (which I like much better than the messy two-column scheme).
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’18
Reply to Mach Port Leakage - Mojave
I went through a process of elimination in my application trying to find the what is triggering the port usage. In the end I have found I can reproduce the problem by populating an NSTableView. If I clear the table (i.e. empty the data source array) then the ports are closed. As the number of rows increases, so does the number of used ports.The table in question has no more than 100 rows, is displaying 6 columns and is updated every 4 seconds.In my code I clear the array of table data, create a new array and if there are no errors, reassign the table data and then refresh the view.I commented out the one line of code that assigns the table data, but still went through all the steps of actually building the array - i.e. all the code was executed that puts values into the the table data array, thus eliminating dns resolution etc as the cause of the port allocations. The port count remained stable at about 480. I think this proves that its the table refresh actually using all the ports.Next step will be
Nov ’18
Controls are not wrapped in UIViewController
I'm having a view hierarchy as follows. I'm a New Developer.UIViewController->UIView->UIStackView->UIStackView-> (UILabel, UITextField, UIButton, etc.,). I'm creating everything programatically, execpt the UIViewController and UIView putting in storyboard. I'm using in a master-detail application. I've given constaints in storyboard. For my project Interface Builder is not enough, I need to handle everything programatically.Using the above hierarchy, I'm putting lots of UILabels (A stack view in a table column to hold multiple UILabel). I can put other controls like UITextField, UIButton, etc., along side the UILabel'sI see the controls are going off the screen and it is not wrapping. In some case the UILabels are cut off without ...Please give or point me to a sample code to make the controlls wrapped!// View refered from storyboard @IBOutlet weak var customView: UIView! // Main stack view holding a table let tag: Int = 1 let stackView = UIStackView() stackView.axis = NSLayoutConstraint.
Topic: UI Frameworks SubTopic: UIKit Tags:
16
0
5.7k
Nov ’18
Reply to Basic Fetch Question
It’s confusing in your description. You‘ve got a hundred row table, data from tile_1_1 to tile_10_10, “given” and current values. Do those tiles run from _1_1 to _1_10, then _2_1 to _2_10, etc?You can do two-dimensional data in a database, it’s just usually seen as a bit of overkill. You could define a DataTile entity asRow: intColumn: intgiven valuecurrent valueand then specify row, column as the unique index values so you don’t have to worry about collisions and get a better sorted result.Then you could do your fetch request on DataTile, for dataTypeSort specify row and column as the keys for the sort descriptors, and that’d given you something you could loop over easily. (Especially since you can get the results grouped by row if you want...)If your row,column data is irregular (some rows have more or fewer columns), the database doesn’t mind.
Nov ’18
Reply to Mach Port Leakage - Mojave
I was just reminded that there’s an equivalent of MachPortDump included in the OS, namely, lsmp. There’s no man page but its usage is helpful: $ lsmp -h Usage: lsmp -p <pid> [-a|-v|-h] Lists information about mach ports. Please see man page for description of each column. -p <pid> : print all mach ports for process id <pid>. -a : print all mach ports for all processeses. -v : print verbose details for kernel objects. -j <path> : save output as JSON to <path>. -h : print this help.MachPortDump is still useful if you want to write code to automate this sort of thing, but if you’re investigating from the command line then lsmp is much better (built in to macOS, better output, updated as the system evolves). Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Nov ’18
Mac Numbers CSV coma exportation
Hi,I build a PWA where the user can upload his contact liste through a SVG file, the importation work well with all the CSVs who was made in Google Sheet, in Excel, etc.. but that don't work with Numbers!All the source created the column separation by “ , “ like in this exemple : Mr.,Doe,jon,jond@hihih.com,00335555555,But when i exported my CSV from Numbers i got this : Mr.;Doe;jon;jond@hihih.com;00335555555;And this issue don't import the contact list, so we lose all the person, company who will export they're CSV from Numbers!The oldest post i found about this issue on the web was created before 2008!?! more then a decade with this issue!I found couple solutions on the web where the person give some great hacks, but nothing relevant for the people who want quickly importe they're contact list from Numbers!My mom will never find out how to do this!I contact Apple for that ( Case Number: 20000030854045 ) and all the phone numbers who they give me to speak with Apple developers team im arrive where no
1
0
524
Dec ’18
Why is TableView not printing all rows?
Hi all, I have spent the last couple of days trying to solve this problem with no luck, so I'm asking for some quidance.1. I have a long list of Objects that I have broken up into an array of separrate pages :[ObjectType]2. I have a ViewController that has a TableView and a TextField to hold the page nuber being printed3. I have a class property of objectsPerPage:Int. (example: 72)4. For each page I wish to print I load the TableView with 72 objects out of the list of all objects and set the TextField to the pageNumber5. I then have a loop when I can print the ViewController.view for any or all of the pages using: let printOperation = NSPrintOperation(view: view, printInfo : printInfo) ... printOperation.run()No matter what range of pages I print or print all pages, the first page printed always has exactly 37 rows printed in the TableView. The remaining pages are print with the proper number of rows in the TableView, 72 in this case.I have check the NSTableViewDataSource.numberOfRows(in tableView: NSTableVie
Topic: UI Frameworks SubTopic: AppKit Tags:
2
0
960
Dec ’18
<kdebug-string-from> and dyld
I am attempting to analyze the amount of time individual images are taking to load into my iPhone app. dyld has some fun environment variables for seeing the overall time, but tracking individual libraries is not possible (As far as I know). I looked into the dyld source code and found Tracing.h which led me to believe I could put together a custom instrument to track image loading. Here is the schema I used: <ktrace-interval-schema> <id>com-google-dyld-map-image-schema</id> <title>dyld map image</title> <start-pattern> <class>31</class> <subclass>7</subclass> <code>2</code> <function>1</function> <arg1>?id</arg1> <arg2>?afilepath</arg2> </start-pattern> <end-pattern> <class>31</class> <subclass>7</subclass> <code>2</code> <function>2</function> <arg1>?id</arg1> </end-pattern> <start-column> <mnemonic>star
3
0
1.3k
Jan ’19
process name in custom instrument
If I wanted a column of my stores table to be the name of the process, what would I put in my schema? For example<ktrace-interval-schema>......... <column> <mnemonic>process</mnemonic> <title>Process</title> <type>raw-string</type> <expression>is-there-some-value-i-can-put-here</expression> </column></ktrace-interval-schema>It would be incredibly useful for those of us attempting custom instrument creation if the source to some of instruments Instruments were available somewhere to peruse... right now trying to figure out how to use CLIPS in a custom instrument is rather terrifying to say the least.Cheers,Dave
3
0
1.1k
Jan ’19
Reply to process name in custom instrument
Thank you so much! Knew there was some secret incantation somewhere 🙂 <ktrace-interval-schema> <id>com-google-dyld-launch-executable-schema</id> <title>dyld launch executable</title> <start-pattern> <class>31</class> <subclass>7</subclass> <code>1</code> <function>1</function> <thread>?thread</thread> </start-pattern> <end-pattern> <class>31</class> <subclass>7</subclass> <code>1</code> <function>2</function> </end-pattern> <start-column> <mnemonic>start</mnemonic> <title>Start</title> <type>start-time</type> </start-column> <duration-column> <mnemonic>duration</mnemonic> <title>Duration</title> <type>duration</type> </duration-column> <column> <mnemonic>process</mnemonic> <title>Process
Jan ’19
Reply to image name for pointer in custom instrument
That's actually not that bad. It comes up with the naked address and the image name which is sufficient for my needs.Code for folks reading this in the future:<ktrace-interval-schema> <id>com-google-dyld-objc-init-schema</id> <title>dyld ObjC Init</title> <start-pattern> <class>31</class> <subclass>7</subclass> <code>8</code> <function>1</function> <thread>?thread</thread> <arg2>?initializer</arg2> </start-pattern> <end-pattern> <class>31</class> <subclass>7</subclass> <code>8</code> <function>2</function> </end-pattern> <start-column> <mnemonic>start</mnemonic> <title>Start</title> <type>start-time</type> </start-column> <duration-column> <mnemonic>duration</mnemonic> <title>Duration</title> <type>duration</type> </dura
Jan ’19
layout-ids
According to the docs for the <qualified-by> attribute of a <lane><!-- ktrace based schemata have an implied layout-qualifier column that is --><!-- added to the schema, and plot's will use that implicitly if you don't --><!-- specify a qualified-by element or disable it explicitly by specifying --><!-- disable-implicit-qualifier element. -->Are there anymore details how this layout-qualifier is autocalculated? I'm seeing cases with horrible graph generation due to this layout-qualifier picking a pile of values that don't seem necessary.
1
0
699
Jan ’19
Reply to messages lost due to high rates causing issues
Converting language to an enum (language: %d message %s), and converting size so that it was just %zu instead of size: %zu thinking it may be faster to parse did not seem to improve my life dramatically except for making my code a little harder to read.Filed radars47211696 [custom instruments] defaults for <enum> Elementsand47211508 [custom instruments] <enum> as a top level declarationwhile going through the exercise of using enumerations.Is os-signpost-interval-schema recording backtraces even though I don't care about backtraces? I don't have a backtrace column anywhere...
Jan ’19