<commit_before><#include utilityPath + "all_imports.ftl" />
<#assign backgroundView = "HomeBackgroundView" />
<#assign scrollView = "HomeScrollView" />
<#assign mainView = "HomeMainView" />
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="8191" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8154"/>
    </dependencies>
    <objects>
        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="HomeViewController">
            <connections>
                <outlet property="view" destination="${backgroundView}" id="${backgroundView}Controller"/>
            </connections>
        </placeholder>
        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
        <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="${backgroundView}">
            <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
            <subviews>
                <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="${scrollView}">
                    <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
                    <subviews>
                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="${mainView}" userLabel="MainView">
                            <rect key="frame" x="0.0" y="0.0" width="414" height="241"/>
                            <subviews>
                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Home View Controller" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HomeViewControllerTitleLabel">
                                    <rect key="frame" x="124" y="30" width="167" height="21"/>
                                    <fontDescription key="fontDescription" type="system" pointSize="17"/>
                                    <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
                                    <nil key="highlightedColor"/>
                                </label>
                                <#assign y = 91 />
                                <#assign tag = 1 />
                                <#list entities?values as entity>
                                    <#if (entity.fields?? && (entity.fields?size>0 || entity.inheritance??) && !entity.internal && entity.listAction)>

                                <button opaque="NO" tag="${tag}" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="${entity.name}Button">
                                    <rect key="frame" x="10" y="${y}" width="394" height="30"/>
                                    <state key="normal" title="${entity.name}"/>
                                    <connections>
                                        <action selector="onClickButton:" destination="-1" eventType="touchUpInside" id="${entity.name}ButtonTag${tag}"/>
                                    </connections>
                                </button>
                                        <#assign y = y + 61 />
                                        <#assign tag = tag + 1 />
                                    </#if>
                                </#list>
                            </subviews>
                            <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                            <constraints>
                            <#assign lastElement = "" />
                                <#list entities?values as entity>
                                    <#if (entity.fields?? && (entity.fields?size>0 || entity.inheritance??) && !entity.internal && entity.listAction)>
                                        <#if lastElement == "">
                                <constraint firstItem="${entity.name}Button" firstAttribute="top" secondItem="HomeViewControllerTitleLabel" secondAttribute="bottom" constant="40" id="${entity.name}ButtonTopHomeViewControllerTitleLabelConstraint"/>
                                        <#else>
                                <constraint firstItem="${entity.name}Button" firstAttribute="top" secondItem="${lastElement}" secondAttribute="bottom" constant="20" id="${entity.name}ButtonTop${lastElement}Constraint"/>
                                        </#if>
                                    <#assign lastElement = "${entity.name}Button" />
                                        <#if !(entity_has_next)>
                                <constraint firstAttribute="bottom" secondItem="${entity.name}Button" secondAttribute="bottom" constant="20" id="${entity.name}ButtonBottomConstraint"/>
                                        </#if>
                                <constraint firstItem="${entity.name}Button" firstAttribute="leading" secondItem="${mainView}" secondAttribute="leading" constant="10" id="${entity.name}ButtonLeading${mainView}Constraint"/>
                                <constraint firstAttribute="trailing" secondItem="${entity.name}Button" secondAttribute="trailing" constant="10" id="${entity.name}ButtonTrailingConstraint"/>
                                    </#if>
                                </#list>
                                <constraint firstItem="HomeViewControllerTitleLabel" firstAttribute="centerX" secondItem="${mainView}" secondAttribute="centerX" id="HomeViewControllerTitleLabelCenterX${mainView}Constraint"/>
                                <constraint firstItem="HomeViewControllerTitleLabel" firstAttribute="top" secondItem="${mainView}" secondAttribute="top" constant="30" id="HomeViewControllerTitleLabelTop${mainView}Constraint"/>
                            </constraints>
                        </view>
                    </subviews>
                    <constraints>
                        <constraint firstItem="${mainView}" firstAttribute="top" secondItem="${scrollView}" secondAttribute="top" id="${mainView}Top${scrollView}Constraint"/>
                        <constraint firstAttribute="trailing" secondItem="${mainView}" secondAttribute="trailing" id="${mainView}TrailingConstraint"/><commit_msg>Update #7363, HomeViewController with harmony tutorial<commit_after><#include utilityPath + "all_imports.ftl" />
<#assign backgroundView = "HomeBackgroundView" />
<#assign scrollView = "HomeScrollView" />
<#assign mainView = "HomeMainView" />
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="8191" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8154"/>
    </dependencies>
    <objects>
        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="HomeViewController">
            <connections>
                <outlet property="view" destination="${backgroundView}" id="${backgroundView}Controller"/>
            </connections>
        </placeholder>
        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
        <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="${backgroundView}">
            <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
            <subviews>
                <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="${scrollView}">
                    <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
                    <subviews>
                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="${mainView}" userLabel="MainView">
                            <rect key="frame" x="0.0" y="0.0" width="414" height="241"/>
                            <subviews>
                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HomeViewControllerTitleLabel">
                                    <rect key="frame" x="10" y="30" width="394" height="301"/>
                                    <string key="text">You have generated your first iOS project with Harmony.

Step 1
Now you can create your models in the entity package of the project.
File : /Entity/Post

Step 2
After creating your models, run Harmony CLI Entities and CRUD view generator.
script/console orm:generate:entities
script/console orm:generate:crud

Step 3
Refresh, clean and run your project again...

More documentation at https://support.tactfactory.com/projects/harmony/wiki</string>
                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
                                    <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
                                    <nil key="highlightedColor"/>
                                </label>
                                <#assign y = 91 />
                                <#assign tag = 1 />
                                <#list entities?values as entity>
                                    <#if (entity.fields?? && (entity.fields?size>0 || entity.inheritance??) && !entity.internal && entity.listAction)>

                                <button opaque="NO" tag="${tag}" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="${entity.name}Button">
                                    <rect key="frame" x="10" y="${y}" width="394" height="30"/>
                                    <state key="normal" title="${entity.name}"/>
                                    <connections>
                                        <action selector="onClickButton:" destination="-1" eventType="touchUpInside" id="${entity.name}ButtonTag${tag}"/>
                                    </connections>
                                </button>
                                        <#assign y = y + 61 />
                                        <#assign tag = tag + 1 />
                                    </#if>
                                </#list>
                            </subviews>
                            <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                            <constraints>
                            <#assign lastElement = "" />
                                <#list entities?values as entity>
                                    <#if (entity.fields?? && (entity.fields?size>0 || entity.inheritance??) && !entity.internal && entity.listAction)>
                                        <#if lastElement == "">
                                <constraint firstItem="${entity.name}Button" firstAttribute="top" secondItem="HomeViewControllerTitleLabel" secondAttribute="bottom" constant="40" id="${entity.name}ButtonTopHomeViewControllerTitleLabelConstraint"/>
                                        <#else>
                                <constraint firstItem="${entity.name}Button" firstAttribute="top" secondItem="${lastElement}" secondAttribute="bottom" constant="20" id="${entity.name}ButtonTop${lastElement}Constraint"/>
                                        </#if>
                                    <#assign lastElement = "${entity.name}Button" />
                                        <#if !(entity_has_next)>
                                <constraint firstAttribute="bottom" secondItem="${entity.name}Button" secondAttribute="bottom" constant="20" id="${entity.name}ButtonBottomConstraint"/>
                                        </#if>
                                <constraint firstItem="${entity.name}Button" firstAttribute="leading" secondItem="${mainView}" secondAttribute="leading" constant="10" id="${entity.name}ButtonLeading${mainView}Constraint"/>
                                <constraint firstAttribute="trailing" secondItem="${entity.name}Button" secondAttribute="trailing" constant="10" id="${entity.name}ButtonTrailingConstraint"/>
                                    </#if>
                                </#list>
                                <constraint firstItem="HomeViewControllerTitleLabel" firstAttribute="top" secondItem="${mainView}" secondAttribute="top" constant="30" id="HomeViewControllerTitleLabelTop${mainView}Constraint"/>
                                <constraint firstItem="HomeViewControllerTitleLabel" firstAttribute="leading" secondItem="${mainView}" secondAttribute="leading" constant="10" id="HomeViewControllerTitleLabelLeading${mainView}Constraint"/>
                                <constraint firstAttribute="trailing" secondItem="HomeViewControllerTitleLabel" secondAttribute="trailing" constant="10" id="HomeViewControllerTitleLabelTrailingConstraint"/>
                            </constraints>
                        </view>
                    </subviews>
                    <constraints>
                        <constraint firstItem="${mainView}" firstAttribute="top" secondItem="${scrollView}" secondAttribute="top" id="${mainView}Top${scrollView}Constraint"/>
                        <constraint firstAttribute="trailing" secondItem="${mainView}" secondAttribute="trailing" id="${mainView}TrailingConstraint"/>
{'fraction_non_alphanumeric': 0.12946979038224415, 'fraction_numerical': 0.015207562679819153, 'mean_word_length': 2.1214453709642935, 'pattern_counts': {'":': 0, '<': 156, '<?xml version=': 2, '>': 160, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 53, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5992159', 'n_tokens_mistral': 3531, 'n_tokens_neox': 3266, 'n_words': 607}